Package dtk :: Package ui :: Module button :: Class ActionButton

Class ActionButton

source code


ActionButton class.

Instance Methods
 
__init__(self, actions, index=0)
Initialize for ActionButton class.
source code
 
update_action_index(self, widget)
Update action index of ActionButton.
source code
Method Details

__init__(self, actions, index=0)
(Constructor)

source code 

Initialize for ActionButton class.

Parameters:
  • actions - Actions for button.
  • index - Index default is 0.

update_action_index(self, widget)

source code 

Update action index of ActionButton.

Parameters:
  • widget - ActionButton widget.