GtkButton support for the Kiwi Framework
Bases: gtk.Button, kiwi.ui.proxywidget.ProxyWidgetMixin
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
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
GtkCheckButton support for the Kiwi Framework
Bases: gtk.CheckButton, kiwi.ui.proxywidget.ProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
ColorButton proxy for the kiwi framework
Bases: gtk.ColorButton, kiwi.ui.proxywidget.ProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
GtkComboBox and GtkComboBoxEntry support for the Kiwi Framework.
The GtkComboBox and GtkComboBoxEntry classes here are also slightly extended they contain methods to easily insert and retrieve data from combos.
Bases: gtk.ComboBox, kiwi.ui.proxywidget.ProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Bases: kiwi.ui.comboboxentry.BaseComboBoxEntry, kiwi.ui.proxywidget.ValidatableProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Bases: kiwi.ui.comboentry.ComboEntry, kiwi.ui.proxywidget.ValidatableProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
GtkComboBox and GtkComboBoxEntry support for the Kiwi Framework. backwards compatibility layer
GtkEntry support for the Kiwi Framework
Bases: kiwi.ui.dateentry.DateEntry, kiwi.ui.proxywidget.ValidatableProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Bases: kiwi.ui.entry.KiwiEntry, kiwi.ui.proxywidget.ValidatableProxyWidgetMixin
The Kiwi Entry widget has many special features that extend the basic gtk entry.
First of all, as every Kiwi Widget, it implements the Proxy protocol. As the users types the entry can interact with the application model automatically. Kiwi Entry also implements interesting UI additions. If the input data does not match the data type of the entry the background nicely fades to a light red color. As the background changes an information icon appears. When the user passes the mouse over the information icon a tooltip is displayed informing the user how to correctly fill the entry. When dealing with date and float data-type the information on how to fill these entries is displayed according to the current locale.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Filechooser widgets for the kiwi framework
Bases: kiwi.ui.widgets.filechooser._FileChooserMixin, gtk.FileChooserButton, kiwi.ui.proxywidget.ProxyWidgetMixin
Bases: kiwi.ui.widgets.filechooser._FileChooserMixin, gtk.FileChooserWidget, kiwi.ui.proxywidget.ProxyWidgetMixin
FontButton proxy for the kiwi framework
Bases: gtk.FontButton, kiwi.ui.proxywidget.ProxyWidgetMixin
GtkLabel support for the Kiwi Framework
The Label is also extended to support some basic markup like Label.set_bold
Bases: gtk.Label, kiwi.ui.proxywidget.ProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Enable or disable italic text :param value: Allowed values: - True: enable Italic attribute - False: disable Italic attribute
Set the size of the label. If size is empty the label will be set to the default size. :param size: Allowed values:
- xx-small
- x-small
- small
- medium,
- large
- x-large
- xx-large
Overrides gtk.Label set_text method. Sets the new text of the label but keeps the formating :param text: label :type text: string
High level wrapper for GtkTreeView: backwards compatibility layer
GtkRadioButton support for the Kiwi Framework
Bases: gtk.RadioButton, kiwi.ui.proxywidget.ProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Get the currently selected radiobutton.
Returns: | The selected RadioButton or None if there are no selected radiobuttons. |
---|
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
GtkHScale and GtkVScale support for the Kiwi Framework
Bases: kiwi.ui.widgets.scale._ProxyScale, kiwi.ui.proxywidget.ProxyWidgetMixin, gtk.HScale
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Bases: kiwi.ui.widgets.scale._ProxyScale, kiwi.ui.proxywidget.ProxyWidgetMixin, gtk.VScale
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
GtkSpinButton support for the Kiwi Framework
Bases: gtk.SpinButton, kiwi.ui.proxywidget.ValidatableProxyWidgetMixin
A SpinButton subclass which adds supports for the Kiwi Framework. This widget supports validation The only allowed types for spinbutton are int and float.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Called when the content of the spinbutton changes.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
GtkTextView support for the Kiwi Framework
Bases: gtk.TextView, kiwi.ui.proxywidget.ValidatableProxyWidgetMixin
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.
Creates a new property which in conjunction with GObject subclass will create a property proxy:
>>> class MyObject(gobject.GObject):
>>> ... prop = gobject.property(type=str)
>>> obj = MyObject()
>>> obj.prop = 'value'
>>> obj.prop
'value'
The API is similar to the builtin property:
@gobject.property def prop(self):
return ...
Which will create a read-only property called prop.