Re: ComboBox submenus



Hi Tadej,

many thanks for responding!
I saw your bug report, will study gtk-demo to understand how this can be achieved

Best regards,
Carlos

Hello.

1) Submenus should look the same in ComboBox and Popup menus.  Therefore
Main 1 and Main 2 (see working example or tree store below) should not
appear repeated again in the submenus. Even if they were there, they should
not be selectable as they are only entry points to submenus. The workaround
I know is: when users select Main 1 or Main 2, just select a sensible
default instead, such as the first main item, the last chosen item, the
first item in the submenu.

I'm only commenting about this point, since I reported a bug[1] on
this behavior not long ago. I proposed an additional property that
would control toplevel copying, but Matthias Clasen pointed out that
this can be achieved by using cell data function as shown in gtk-demo
application.

Tadej

[1] https://bugzilla.gnome.org/show_bug.cgi?id=604868





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