How to make a simple selector item



In several of the dialogs in one of my apps, I want to present the user with a list of items from which (s)he can select several. In 'doze this is called a listbox, and it's a very common element. But Gtk seems to be missing it. Instead I am faced with customising a TreeView - outrageous overkill and, frankly, a pain in the butt. According to the Gtkmm documentation, there is a ListViewText class, which simplifies things a bit. However, it does not exist in my installation (Gentoo, fully updated).

So, the question is, does Gtkmm have a nice simple way to put a single column of plain text entries for the user to select from, or do I really have to create a ListModel, wrap it in a TreeView, and wrap that in a scroll box?
--
Rob Pearce                       http://www.bdt-home.demon.co.uk

The contents of this | Windows NT crashed.
message are purely   | I am the Blue Screen of Death.
my opinion. Don't    | No one hears your screams.
believe a word.      |



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]