rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.ui.base_widget Namespace Reference

Classes

class  BaseWidget
 

Functions

def rman_build_param_popup_menu (nattr, param, ctl, *args)
 
def rman_build_param_value_popup_menu (nattr, param, ctl, *args)
 
def cond_vis_update (node, ctl, *args)
 
def dyn_array_ctl_menu (nattr, *args, **kwargs)
 
def dyn_array_ctl (nodeattr, ctlname, ctlparent, widget, mute_enabled, update=False)
 

Variables

list VALUE_MENU_CONFIG = [('x4', 4.0), ('x2', 2.0), ('/2', 0.5), ('/4', 0.25)]
 

Detailed Description

Module implementing our ui widget's base class.

Function Documentation

◆ cond_vis_update()

def rfm2.ui.base_widget.cond_vis_update (   node,
  ctl,
args 
)
Update URG/AE layouts.
Note: attribute editor copies are not refreshed. Could not find
        a good way to do that so far...
+ Here is the call graph for this function:

◆ dyn_array_ctl()

def rfm2.ui.base_widget.dyn_array_ctl (   nodeattr,
  ctlname,
  ctlparent,
  widget,
  mute_enabled,
  update = False 
)
Creates or updates array members side button.
+ Here is the caller graph for this function:

◆ dyn_array_ctl_menu()

def rfm2.ui.base_widget.dyn_array_ctl_menu (   nattr,
args,
**  kwargs 
)
Create the side menu of array members allowing for deletion and insertion
of array members.

◆ rman_build_param_popup_menu()

def rfm2.ui.base_widget.rman_build_param_popup_menu (   nattr,
  param,
  ctl,
args 
)
Build the menu items when the user LMB-click the control.

◆ rman_build_param_value_popup_menu()

def rfm2.ui.base_widget.rman_build_param_value_popup_menu (   nattr,
  param,
  ctl,
args 
)
Build the menu items when the user Shift-LMB-click the control.

Variable Documentation

◆ VALUE_MENU_CONFIG

list rfm2.ui.base_widget.VALUE_MENU_CONFIG = [('x4', 4.0), ('x2', 2.0), ('/2', 0.5), ('/4', 0.25)]