Package horizons :: Package gui :: Package widgets :: Module imagebutton :: Class OkButton
[hide private]
[frames] | no frames]

Class OkButton

source code

fife.extensions.pychan.widgets.ImageButton --+    
                                             |    
                                   ImageButton --+
                                                 |
                                                OkButton

The OkButton is a shortcut for an ImageButton with our OK / apply icon. Its default attributes are: name="okButton" path="images/buttons/ok"

Instance Methods [hide private]
 
__init__(self, name=None, **kwargs) source code
    Inherited from ImageButton
 
_get_path(self) source code
 
_set_path(self, path) source code
 
is_active(self) source code
 
set_active(self)
Sets the button active.
source code
 
set_inactive(self)
Sets the button inactive.
source code
 
toggle(self) source code
Class Variables [hide private]
  DEFAULT_NAME = 'okButton'
    Inherited from ImageButton
  ACTIVE = 0
  ATTRIBUTES = FifeImageButton.ATTRIBUTES+ [Attr('path'), Attr('...
  IMAGE = "content/gui/{path}{{mode}}.png"
  INACTIVE = 1
  path = property(_get_path, _set_path)
Method Details [hide private]

__init__(self, name=None, **kwargs)
(Constructor)

source code 
Overrides: ImageButton.__init__