[gtkmm] GTK::List question



Hi,

How do I use a GTK::List? I tried this:

  GTK::List myList;

  Gtk::ListItem Item("eins");
  myList.items().push_back(Item);

but nothing appears in the List.
How do I get the selected Item? Is there a direct get_text() method or do I 
have to use the SelectionList? If I have to use the selection List. How do I 
get the string of an Item?

regards,
Marc




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