rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.ui.common.MessageWidget Class Reference
+ Inheritance diagram for rfm2.ui.common.MessageWidget:
+ Collaboration diagram for rfm2.ui.common.MessageWidget:

Public Member Functions

def ui_create (self)
 
def ui_update (self)
 
- Public Member Functions inherited from rfm2.ui.base_widget.BaseWidget
def __init__ (self)
 
def setup (self, desc, param, uiprefix)
 
def create (self, ctlname, nodeattr, param, idx=None, dyn=False, struct_name=None, struct_idx=None)
 
def update (self, ctlname, nodeattr, idx=None, label=None, dyn=0, struct_name=None, struct_idx=None)
 
def conditional_visibility (self, return_func=False)
 
def add_param_popup_menu (self)
 
def create_navigation_popup (self, ctl)
 
def update_navigation_popup (self, ctl, func)
 
def __str__ (self)
 

Additional Inherited Members

- Static Public Member Functions inherited from rfm2.ui.base_widget.BaseWidget
def build_navigation_popup_menu (*args, **kwargs)
 
- Public Attributes inherited from rfm2.ui.base_widget.BaseWidget
 nattr
 
 label
 
 ctl
 
 widget
 
 desc
 
 param
 
 uiprefix
 
 ui_func
 
 ui_has_builtin_connector
 
 maya_func
 
 maya_sub_control
 
 parent
 
- Static Public Attributes inherited from rfm2.ui.base_widget.BaseWidget
list indexTwoTypes = [kk.W_POPUP, kk.W_MAPPER, kk.W_BOOLEAN, kk.W_CHECKBOX]
 

Detailed Description

Widget for message attributes.
- can not trigger conditional visibility refresh

Member Function Documentation

◆ ui_create()

def rfm2.ui.common.MessageWidget.ui_create (   self)
Create an attrControlGrp widget compatible with most scalar data types.

Reimplemented from rfm2.ui.base_widget.BaseWidget.

+ Here is the caller graph for this function:

◆ ui_update()

def rfm2.ui.common.MessageWidget.ui_update (   self)
Connect the widget previously created to a specific attribute.
We also handle conditional visibility here.

Reimplemented from rfm2.ui.base_widget.BaseWidget.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: