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

Class ColorsOption

source code

object --+            
         |            
??.GObject --+        
             |        
   base.Option --+    
                 |    
       ColorOption --+
                     |
                    ColorsOption

Allow a list of colours to be created

Instance Methods [hide private]
 
on_import(self, value)
Importing multiple colours
source code
 
on_export(self, value)
Exporting multiple colours
source code
 
generate_widget(self, value)
Generate a textbox for a color options
source code
 
del_colour_box(self, widget, event)
Remove a colour box from the array when right clicked
source code
 
add_colour_box(self, widget, col=None, update=True)
Add a new box for colours
source code
 
has_changed(self, widget)
The colour widgets have changed!
source code

Inherited from ColorOption: get_box_from_colour, get_colour_from_box, set_value

Inherited from base.Option: __init__

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 base.Option: __gsignals__, __gtype__, default, desc, disabled, hidden, label, protected, realtime, widget

Properties [hide private]

Inherited from unreachable.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

on_import(self, value)

source code 

Importing multiple colours

Overrides: base.Option.on_import

on_export(self, value)

source code 

Exporting multiple colours

Overrides: base.Option.on_export

generate_widget(self, value)

source code 

Generate a textbox for a color options

Overrides: base.Option.generate_widget

has_changed(self, widget)

source code 

The colour widgets have changed!

Overrides: base.Option.has_changed