Page 1 of 1

ItemListBox vs ListBox

Posted: Wed Mar 21, 2007 08:31
by khayyam
Hi all,

I don't see the differences between the ItemListBox and the ListBox
I need a widget able to list strings in order to select them by clicking, which one will fit the best ?

Posted: Wed Mar 21, 2007 10:50
by Levia
Listbox will do just fine. ItemListbox is basically for custom items.

Posted: Wed Jun 20, 2007 03:14
by kili
Could you give me some examples about
"custom items"?

And another question,
what's different between ListboxItem
with ItemListbox and Listbox?

Posted: Wed Jun 20, 2007 12:42
by Rackle
For simply displaying text you can use Listbox and ListboxTextItem. Have a look at WidgetGalore for an example.

ItemListbox is more complex but more powerful. Have a look at Create_a_CheckListboxItem for a tutorial on how to create custom listbox items. Another (almost identical) example can be found within Property Finder; one of the minor differences is that I created a register() function.