Populate popovers from menu models

This adds a new function, gtk_popover_new_from_model, which creates
a popover and populates it with suitable content according to the
menu model. The current implementation uses GtkModelButton for the
individual items, and a GtkStack for submenus.

https://bugzilla.gnome.org/show_bug.cgi?id=723014
This commit is contained in:
Matthias Clasen
2014-02-07 14:51:49 -05:00
parent bf9ce3ad25
commit 2fea2d4dbd
3 changed files with 333 additions and 0 deletions

View File

@ -7859,6 +7859,7 @@ gtk_flow_box_child_changed
<TITLE>GtkPopover</TITLE>
GtkPopover
gtk_popover_new
gtk_popover_new_from_model
gtk_popover_set_relative_to
gtk_popover_get_relative_to
gtk_popover_set_pointing_to