gtk/examples
Ryan Lortie 338b5f6c2d GtkModelMenuItem: add a submenu action attribute
Add support for a stateful action associated with a submenu.  The action
state is set to TRUE when the menu is shown and FALSE when it is
unshown.

This is useful to avoid unnecessary processing for menus that have
frequently-changing content.

A possible future feature is to add support for asynchronously filling
the initial state of the menu by waiting until the action actually emits
its state-change signal to TRUE before showing the menu.

A silly example has been added to Bloatpad to demonstrate the new
feature.

https://bugzilla.gnome.org/show_bug.cgi?id=682630
2012-09-17 12:31:21 -04:00
..
action-namespace.c Add example for "action-namespace" attribute 2012-09-17 12:31:21 -04:00
bloatpad.c GtkModelMenuItem: add a submenu action attribute 2012-09-17 12:31:21 -04:00
builder.c Add a GtkBuilder section to the tutorial 2011-01-20 01:30:34 -05:00
builder.ui Add a GtkBuilder section to the tutorial 2011-01-20 01:30:34 -05:00
drawing.c examples: Use symbolic names for button numbers 2012-01-27 09:47:44 +01:00
grid-packing.c Add a packing example to the tutorial 2011-01-18 23:59:17 -05:00
hello-world.c Cosmetic changes 2011-01-06 00:14:02 -05:00
Makefile.am Add example for "action-namespace" attribute 2012-09-17 12:31:21 -04:00
plugman.c Mark strings in embedded XML code in plugman.c as translatable 2012-05-18 18:25:03 +02:00
sunny.c Add an example for handling app menu fallback 2012-07-22 21:01:15 -04:00
window-default.c docs: Move the introduction of the tutorial in the reference 2010-10-15 13:02:50 -04:00