# Class k.u.w.s.ProxySpinButton(PropertyObject, gtk.SpinButton, ValidatableProxyWidgetMixin):

Part of kiwi.ui.widgets.spinbutton View In Hierarchy

Known subclasses: kiwi.ui.widgets.spinbutton.SpinButton

A SpinButton subclass which adds supports for the Kiwi Framework. This widget supports validation The only allowed types for spinbutton are int and float.

Method | __init__ | Undocumented
Method | do_changed | Called when the content of the spinbutton changes.
Method | read | Get the content of the widget.
Method | update | Update the content value of the widget.
Method | do_expose_event | Undocumented
Method | do_size_allocate | Undocumented
Method | do_realize | Undocumented
Method | do_unrealize | Undocumented
Method | set_tooltip | Implement in subclass
Method | set_pixbuf | Implement in subclass
Method | update_background | Implement in subclass
Method | get_background | Implement in subclass
Method | get_icon_window | Implement in subclass

Inherited from PropertyObject:

Class Method | __class_init__ | Undocumented
Method | __post_init__ | A hook which is called after the constructor is called.
Method | _set | Undocumented
Method | _get | Undocumented
Method | get_attribute_names | Undocumented
Method | is_default_value | Undocumented
Method | do_set_property | Undocumented
Method | do_get_property | Undocumented

Inherited from ValidatableProxyWidgetMixin:

Method | is_valid | Verify the widget state.
Method | validate | Checks if the data is valid.
Method | set_valid | Changes the validation state to valid, which will remove icons and
Method | set_invalid | Changes the validation state to invalid.
Method | set_blank | Changes the validation state to blank state, this only applies
Method | _set_valid_state | Updates the validation state and emits a signal iff it changed
Method | _draw_stock_icon | Undocumented
Method | _on_fadeout__color_changed | Undocumented

Inherited from ProxyWidgetMixin (via ValidatableProxyWidgetMixin):

Method | prop_set_data_type | Set the data type for the widget
Method | set_data_format | Undocumented
Method | set_options_for_datatype | Set some options to be passed to the datatype converter.
Method | _as_string | Convert a value to a string
Method | _from_string | Convert a string to the data type of the widget

def __init__(self, data_type=int):
overrides kiwi.utils.PropertyObject.__init__
overridden in kiwi.ui.widgets.spinbutton.SpinButton
Undocumented
def do_changed(self):
Called when the content of the spinbutton changes.

def read(self):
overrides kiwi.ui.proxywidget.ProxyWidgetMixin.read
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. )

def update(self, data):
overrides kiwi.ui.proxywidget.ProxyWidgetMixin.update
Update the content value of the widget.

Parameters | value |

def do_expose_event(self, event):
Undocumented
def do_size_allocate(self, allocation):
Undocumented
def do_realize(self):
Undocumented
def do_unrealize(self):
Undocumented
def set_tooltip(self, text):
overrides kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_tooltip
Implement in subclass

def set_pixbuf(self, pixbuf):
overrides kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_pixbuf
Implement in subclass

def update_background(self, color):
overrides kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.update_background
Implement in subclass

def get_background(self):
overrides kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.get_background
Implement in subclass

def get_icon_window(self):
overrides kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.get_icon_window
Implement in subclass