Just a small improvement and make it less complicate.
here is a preview :
However, if I may, I'm wondering why it uses widget_class->destroy
instead of the usual dispose
, and, if the GtkListStore
is really necessary. The index in the menu (whether in the previous GtkMenu
or now in the GtkListBox
) should be the same as the widget appended in the GtkNotebook
, no ?
Thanks !