Package pyforms :: Package gui :: Package Controls :: Module ControlButton :: Class ControlButton
[hide private]
[frames] | no frames]

Class ControlButton

source code


Instance Methods [hide private]
 
__init__(self, label='', checkable=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
initForm(self)
Load Control and initiate the events
source code
 
load(self, data)
Load a value from the dict variable
source code
 
save(self, data)
Save a value to dict variable
source code
 
label(self, value)
Label of the control, if applies
source code
 
value(self, value)
This property return and set what the control should manage or store.
source code
 
checked(self, value) source code
 
click(self) source code

Inherited from ControlBase.ControlBase: aboutToShowContextMenuEvent, addPopupMenuOption, addPopupSubMenuOption, changed, enabled, form, help, hide, name, parent, show

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, label='', checkable=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

initForm(self)

source code 

Load Control and initiate the events

Overrides: ControlBase.ControlBase.initForm
(inherited documentation)

load(self, data)

source code 

Load a value from the dict variable

Parameters:
  • data - dictionary with the value of the Control
Overrides: ControlBase.ControlBase.load
(inherited documentation)

save(self, data)

source code 

Save a value to dict variable

Parameters:
  • data - dictionary with to where the value of the Control will be added
Overrides: ControlBase.ControlBase.save
(inherited documentation)

label(self, value)

source code 

Label of the control, if applies

Decorators:
  • @label.setter
Overrides: ControlBase.ControlBase.label
(inherited documentation)

value(self, value)

source code 

This property return and set what the control should manage or store.

Decorators:
  • @value.setter
Overrides: ControlBase.ControlBase.value
(inherited documentation)

checked(self, value)

source code 
Decorators:
  • @checked.setter