I know that the Listbox is intended to be replaced by the ItemListbox widget. There's no need to have these two listbox widgets, one is sufficient.
However what about moving everything (Listbox, Combobox) to a MultiColumnItemListbox? After all, a Listbox is simply a MultiColumnList with a single column. MultiColumnItemListbox is a mouthful and could simply be named Listbox.
One thing I'm uncertain is how to deal with a Combobox that opens a multi-column Listbox. Maybe the Combobox defaults to displaying the contents of the first column and a setDisplayedColumnData(int pColumn) function allows the user to display the contents of another column when a selection is made.
ItemListbox, Listbox, Combobox, and MultiColumnList
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Sounds like a plan. I know the Win API has a List Control which can also function from a basic list to a table-like setup. The 'workaround' for the combobox sounds nice to me as well.
Check out my released snake game using Cegui!
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
One thing I would love to have is a grid where I can shove widgets in each grid section so that I can make grid with pulldownlists in it and buttons,.. whatever. I thought about making this myself by hacking the multicolumnlist thing but it would be better if this was an official widget. So shortly put,.. a grid widget that can have other widgets as its elements.
Re: ItemListbox, Listbox, Combobox, and MultiColumnList
Sorry to reply a so old topic, but is the MultiColumnItemListbox available now? I'm using the 0.7 version, and find that MultiColumnList contains ListboxItem, not ItemEntry-based windows. I just want to add a popup menu for every row of the list. It seems the best way is make getItemAtPoint public to get the item when mouse right clicked. If there is a MultiColumnItemListbox, I think I can make it more beautiful and need not to hack getItemAtPoint.
Re: ItemListbox, Listbox, Combobox, and MultiColumnList
If it is not in the code, then unfortunately it does not exist yet
Also, if you want to avoid modifying the CEGUI source another option is to derive your own class from MCL that exposes the getItemAtPoint method.
Also, if you want to avoid modifying the CEGUI source another option is to derive your own class from MCL that exposes the getItemAtPoint method.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: ItemListbox, Listbox, Combobox, and MultiColumnList
Rackle went off to parts unknown shortly after this original posting, so this work was not done. However, I support the idea and still want a single unified list, if/when this will get done is anybodies guess
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 0 guests