source | issues

pygtkhelpers.ui.widgets

Miscellaneous additional custom widgets

copyright:2005-2010 by pygtkhelpers Authors
license:LGPL 2 or later (see README/COPYING/LICENSE)
class pygtkhelpers.ui.widgets.AttrSortCombo(objectlist, attribute_list, default)

A evil utility class that hijacks a objectlist and forces ordering onto its model

class pygtkhelpers.ui.widgets.EmptyTextViewFiller(widget, addon_name=None, **kw)

Fill empty text views with some default text

This does it’s stuff on focus-in and focus-out, because that feels most natural.

Parameters:empty_text – The text to use.
TODO:
Allow options for text formatting to be passed
set_empty()

Display a bank text view

set_empty_text()

Display the empty text

class pygtkhelpers.ui.widgets.SimpleComboBox(choices=None, default=None)

A simple combobox that maps descriptions to keys

class pygtkhelpers.ui.widgets.StringList

An editable list of strings