ComboBox: selecting items with children, Gtk2 vs Gtk3



Consider the sample attached: it builds a tree model with an item that has child items, and uses that model in a ComboBox.

When compiled with Gtk2, when the item with children is selected and its children displayed, and extra item representing the parent is added to the top, allowing the parent to be selected. The attached image should make that clearer.

However, compiled with Gtk3, that item that allows selection of the parent is missing, as the other image shows.

So how does one select "Item with children", using the mouse, under Gtk3? The item can be selected using the keyboard, but apparently with the mouse. Is there a way to get the Gtk2 behaviour back with Gtk3?


Thanks,
--
Eduardo M KALINOWSKI
eduardo kalinowski com br



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