summaryrefslogtreecommitdiff
path: root/gtk/gtkmenusectionbox.h
Commit message (Collapse)AuthorAgeFilesLines
* gtkpopover: Update the menu's alignmentTimm Bäder2015-05-291-1/+3
| | | | ... when the popover position changes.
* Fix various compiler warningsMatthias Clasen2014-09-051-0/+1
| | | | Mostly missing declarations and missing statics.
* GtkPopover: new approach to menu model bindingRyan Lortie2014-04-281-0/+49
Instead of using GtkMenuTracker to flatten the sections into a single linear menu, handle the sections ourselves by nesting boxes. Each section gets an inner and outer box. The inner box numbers its children in the way that the tracker instructs. The outer box containes the inner box and the separator, if appropriate. Having the two separate boxes will allow us to change the orientation of the inner box if we want to pack widgets horizontally within a section.