Package advene :: Package gui :: Package util :: Module dialog :: Class CategorizedSelector
[hide private]
[frames] | no frames]

Class CategorizedSelector

source code

Widget displaying a menu with items sorted along categories.

Instance Methods [hide private]
 
__init__(self, title='Select an element', elements=None, categories=None, current=None, description_getter=None, category_getter=None, callback=None, editable=True) source code
 
popup_menu(self, *p) source code
 
get_button(self)
Return a button with the current element description as label.
source code
 
update_element(self, element=None) source code
Instance Variables [hide private]
method callback
method to be called upon modification
list categories
list of categories
method category_getter
method to get the category of the element
object current
current element
method description_getter
method to get the description of the element or the category
boolean editable
indicates if the data is editable
list elements
list of elements