kiwi.ui.widgets.button.ProxyButton(PropertyObject, gtk.Button, ProxyWidgetMixin) class documentationkiwi.ui.widgets.button
(View In Hierarchy)
A ProxyButton is a Button subclass which is implementing the features required to be used inside the kiwi framework.
It has a specific feature not found in other implementations. If the datatype is set to pixbuf a gtk.Image will be constructed from the pixbuf and be set as a child for the Button
| Method | __init__ | Undocumented |
| Method | read | No summary |
| Method | update | Update the content value of the widget. @param value: |
Inherited from ProxyWidgetMixin:
| Class Variable | allowed_data_types | A list of types which we are allowed to use in this class. |
| Method | prop_set_data_type | Set the data type for the widget |
| Method | set_data_format | Undocumented |
| Method | set_options_for_datatype | No summary |
| Method | _as_string | Convert a value to a string @param data: data to convert |
| Method | _from_string | No summary |
Inherited from ProxyWidgetMixin:
| Class Variable | allowed_data_types | A list of types which we are allowed to use in this class. |
| Method | prop_set_data_type | Set the data type for the widget |
| Method | set_data_format | Undocumented |
| Method | set_options_for_datatype | No summary |
| Method | _as_string | Convert a value to a string @param data: data to convert |
| Method | _from_string | No summary |
Get the content of the widget. The type of the return value
| Returns | None if the user input a invalid value (type: Must matche the data-type property.) | |