Re: GTK3 menu bar



On Thu, 2015-07-30 at 13:25 +0100, Emmanuele Bassi wrote:
Hi;

the preferred way to make a menu bar in GTK+ 3.x is to use GMenu and
GAction:

 * https://wiki.gnome.org/HowDoI/GMenu
 * https://wiki.gnome.org/HowDoI/GAction

There are various, incremental examples in the C API reference:

 * https://developer.gnome.org/gtk3/stable/ch01s04.html

Thanks for that hint -- seems I missed that, more or less...

The reason may be that I am generally looking for GTK docs, not for
Gnome docs, so I often start at http://www.gtk.org/

Personally I do not really care much about Windows and Mac, but I know
that GTK3 can be used on Windows. For all what is called GNOME I
generally do not know if it has unmet dependencies for Mac and Window.

I just unpacked evolution 3.16.4 source code, one of the bigger tools
that uses GTK3. grepping for g_menu or gtk_menu gives me currently only
results for the later, so that one still ignores g-menu? Guess the menu
is too large for GMenu?

Best regards,

Stefan Salewski




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