screenlets.options.BoolOption

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

# Class BoolOption

source code

    object --+
             |
    ??.GObject --+
                 |
            Option --+
                     |
                    BoolOption

An Option for boolean values.

Instance Methods | [hide private]
on_import(self, strvalue) Callback - called when an option gets imported from a string. | source code
Inherited from `Option`: `__init__`, `on_export` Inherited from `unreachable.GObject`: `__cmp__`, `__copy__`, `__deepcopy__`, `__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`: `__format__`, `__getattribute__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
Inherited from `Option`: `__gsignals__`, `__gtype__`

Properties | [hide private]
Inherited from `unreachable.GObject`: `__grefcount__` Inherited from `object`: `__class__`

Method Details | [hide private]

### on_import(self, strvalue) | source code
Callback - called when an option gets imported from a string. This function MUST return the string-value converted to the required type! Overrides: Option.on_import (inherited documentation)