Table Of Contents

Previous topic

IpSelectionChanged

Next topic

langlistctrl

This Page

phoenix_title ItemsPicker

ItemsPicker is a widget that allows the user to form a set of picked items out of a given list


class_hierarchy Inheritance Diagram

Inheritance diagram for class ItemsPicker

Inheritance diagram of ItemsPicker


super_classes Known Superclasses

Panel


method_summary Methods Summary

__init__ ItemsPicker(parent, choices = [], label = ‘’, selectedLabel = ‘’,
GetItems GetItems(self)=> items
GetSelections GetSelections(self)=>items
SetItems SetItems(self, items)=> None
SetSelections SetSelections(self, items)=>None

property_summary Properties Summary

add_button_label  
Items See GetItems/SetItems
remove_button_label  
Selections See GetSelections/SetSelections

api Class API



class ItemsPicker(Panel)

ItemsPicker is a widget that allows the user to form a set of picked items out of a given list


Methods



__init__(self, parent, id=ID_ANY, choices =[], label = '', selectedLabel = '', ipStyle = IP_DEFAULT_STYLE, *args, **kw)
ItemsPicker(parent, choices = [], label = ‘’, selectedLabel = ‘’,
ipStyle = IP_DEFAULT_STYLE)


GetItems(self)

GetItems(self)=> items returns list of strings that the user can pick from



GetSelections(self)

GetSelections(self)=>items returns list of strings that were selected



SetItems(self, items)

SetItems(self, items)=> None items - Sequence of strings that the user can pick from



SetSelections(self, items)

SetSelections(self, items)=>None items - Sequence of strings to be selected The items are displayed in the selection part of the widget


Properties



Items

See SetItems , GetItems



Selections

See SetSelections , GetSelections