Package screenlets :: Module options :: Class IntOption
[hide private]
[frames] | no frames]

Class IntOption

source code

     object --+        
              |        
gobject.GObject --+    
                  |    
             Option --+
                      |
                     IntOption
Known Subclasses:
FloatOption

An Option for values of type number (can be int or float).

Instance Methods [hide private]
 
__init__(self, group, name, default, label, desc, min=0, max=0, increment=1, **keyword_args)
Creates a new Option with the given information.
source code
 
on_import(self, strvalue)
Called when IntOption gets imported.
source code

Inherited from Option: on_export

Inherited from gobject.GObject: __cmp__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Class Variables [hide private]

Inherited from Option: __gsignals__, __gtype__

Properties [hide private]

Inherited from gobject.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, group, name, default, label, desc, min=0, max=0, increment=1, **keyword_args)
(Constructor)

source code 
Creates a new Option with the given information.
Overrides: Option.__init__
(inherited documentation)

on_import(self, strvalue)

source code 
Called when IntOption gets imported. Converts str to int.
Overrides: Option.on_import