summaryrefslogtreecommitdiff
path: root/gtk/gtkactionbar.c
Commit message (Collapse)AuthorAgeFilesLines
* actionbar: Remove unnecessary map/unmap implementationsTimm Bäder2016-02-041-20/+0
| | | | These just do what the default implementations do anyway.
* actionbar: Don't expose implementation detailsMatthias Clasen2016-01-281-2/+2
| | | | | The box and revealer here should not be exposed as internal children for subclasses to use in their .ui files.
* actionbar: Don't forall() widgets twiceBenjamin Otte2016-01-191-2/+1
| | | | | | When using forall(), only list the revealer, which lists the box containing all the children. When using foreach(), bypass revealer and box and list all children added to the box.
* Simplify actionbarMatthias Clasen2015-12-181-1/+2
| | | | | We don't need a frame widget here, just render a top border on the box.
* actionbar: Convert to gadgetsMatthias Clasen2015-12-151-1/+139
| | | | This is a nice example of a trivial container conversion.
* GtkBox: The center widget can be NULLTimm Bäder2015-12-011-1/+1
| | | | Propagates to GtkActionBar.
* actionbar: Add an element name to the css nodeMatthias Clasen2015-10-291-0/+5
| | | | This lets us avoid hardcoding the type in CSS.
* actionbar: Remove get_path_for_child implementationBenjamin Otte2015-07-081-13/+0
| | | | | It wasn't used because CSS walks the widget->parent chain, so it'd only ever call this func for priv->revealer.
* GtkActionBar: Make ::position writableMatthias Clasen2014-11-111-1/+1
|
* GtkActionBar: Rename center_box to boxMatthias Clasen2014-11-111-16/+16
|
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* GtkActionBar: Implement destroyMatthias Clasen2014-02-191-0/+15
| | | | | | Similar to map/unmap, this needs to follow the actual widget tree. Without this, several test cases in the templates test fail.
* Add map/unmap to GtkActionBarMatthias Clasen2014-02-181-0/+20
| | | | | | | | | The recursion in map needs to follow the actual physical widget tree, otherwise we violate invariants. The generic container map implementation uses gtk_container_forall to operate on the children, and thus is not suitable for containers where the children are inside some internal container.
* Fix up gtk_action_bar_forallMatthias Clasen2014-02-181-1/+2
| | | | We need to always iterate over non-internal children.
* Revert "action bar: remove the forall implementation"Matthias Clasen2014-02-181-0/+15
| | | | This reverts commit 0ff0fdfefbba86f3dc7713cf55bbf00194274fe3.
* action bar: remove the forall implementationMatthias Clasen2014-02-171-15/+0
| | | | | With nested internal children, this interferes with proper cleanup, and makes the templates test fail.
* action bar: Use a regular box instead of GtkCenterBoxMatthias Clasen2014-02-161-7/+6
| | | | | GtkBox now supports a centered child, so GtkCenterBox is no longer needed here.
* Add new ActionBarWilliam Jon McCann2014-02-121-0/+362
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723929
* Rename GtkActionBar to GtkCenterBoxWilliam Jon McCann2014-02-121-1068/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723929
* GtkActionBar: Fix center widget visibility handlingMatthias Clasen2014-01-211-8/+14
| | | | | | This is the same fix that was applied to GtkHeaderBar recently. Adding a child widget should not make it visible as a side-effect.
* GtkActionBar: Just leave the center widget as NULL, initiallyMatthias Clasen2014-01-071-19/+0
| | | | | No need to construct a box that gets thrown away later. Plus, this fixes the defaultvalue test for GtkActionBar.
* Fix order of pack-end widgetsMatthias Clasen2014-01-071-15/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721665
* Add GtkActionBarWilliam Jon McCann2014-01-071-0/+1093
A widget intended to offer contextual actions for a given view. It allows packing children into the start or end as well as offering a single centered child box. https://bugzilla.gnome.org/show_bug.cgi?id=721665