summaryrefslogtreecommitdiff
path: root/gtk/gtkcontainerprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* Move the idle sizer to GtkWindowMatthias Clasen2020-04-201-38/+0
| | | | | | | | This was only living in gtkcontainer.c for historic reasons. Move it closer to where it belongs, and rename it from 'idle' to 'layout', since it is really about the layout phase of the frame clock, nowadays.
* container: Remove gtk_container_maybe_start_idle_sizer()Benjamin Otte2018-04-111-2/+2
| | | | Fold it into gtk_container_start_idle_sizer()
* container: Remove gtk_container_queue_resize_handler()Benjamin Otte2018-04-111-2/+0
| | | | It's the same as gtk_container_maybe_start_idle_sizer()
* container: Remove focus widget sorting codeTimm Bäder2018-03-171-5/+0
| | | | The more general version of this code lives in gtkwidgetfocus.s now.
* container: Remove get_children_clipTimm Bäder2017-07-191-2/+0
| | | | Unused.
* Make gtk_container_set_focus_child privateTimm Bäder2017-03-311-0/+3
|
* gtkcontainerprivate: Remove unused function prototypesTimm Bäder2017-02-141-4/+0
|
* API: Export gtk_container_snapshot_child()Benjamin Otte2016-12-201-4/+0
| | | | | It's equivalent to gtk_container_propagate_draw() and then one is public, too.
* container: Remove get_render_node() support APIBenjamin Otte2016-11-151-7/+0
| | | | It's unused now.
* snapshot: Completely reengineer APIBenjamin Otte2016-11-151-4/+3
| | | | | | | | | We now try to emulate cairo_t: We keep a stack of nodes via push/pop and a transform matrix. So whenever a new node is added to the snapshot, we transform it by the current transform matrix and append it to the current node.
* window: Implement snapshot()Benjamin Otte2016-11-151-0/+4
|
* container: Add a private api for render node propagationMatthias Clasen2016-11-011-0/+4
| | | | | Add a function that propagates a render node for a single child. This will be used in the box gadget to handle widgets.
* gtk: Add GtkContainer API to gather render nodesEmmanuele Bassi2016-10-181-0/+5
| | | | | | | | We cannot implement GtkWidgetClass.get_render_node() in GtkContainer without breaking the fallback path that renders a widget to a single render node rasterization. For GtkContainer subclasses we should provide a simple API, similar to gtk_container_propagate_draw(), that gathers all the render nodes for each child.
* container: Remove gtk_container_set_resize_mode()Benjamin Otte2016-10-161-2/+0
|
* API: container: Remove gtk_container_set_border_width()Benjamin Otte2016-10-161-3/+0
|
* window: stop stomping on resize-mode set by external APICosimo Cecchi2016-03-141-0/+2
| | | | | | | | | | | | | | | | | commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f fixed the behavior of GtkContainer widgets requesting an IMMEDIATE resize-mode. However, GtkWindow has been stomping on resize-mode during realize() since commit addcc64b9cbb2fb1225080075ad3112a3d93d839. The combination of factors that led to this not being a visible problem during all this while is uncertain, but this now causes the Shell to continuously try to relayout its ShellEmbeddedWindow (a GtkWindow subclass). This commit separates the resize-mode as set internally by GtkWindow from the one set with the external API, so that GtkWindow only changes it when it had not been set before by the subclass. https://bugzilla.gnome.org/show_bug.cgi?id=763650
* container: Split out a functionBenjamin Otte2015-12-151-0/+2
| | | | | Computing the clip for all children is something I want to do in other places.
* sizegroup: Move container function into its only callerBenjamin Otte2015-10-281-1/+1
|
* sizegroup: Remove GtkQueueResizeFlagsBenjamin Otte2015-10-281-1/+0
| | | | They were only used with geometry widgets.
* Revert "Avoid type checking overhead for resize-mode"Benjamin Otte2015-09-121-28/+0
| | | | | | | | | | | This reverts commit 3eacfa88f2d9c690a006de9cac1cd3c60901686c. Apart from the patch not being correct, we don't want to expose private structures in header files if we can avoid it. And this type-checking overhead is not an optimization that is even measurable. https://bugzilla.gnome.org/show_bug.cgi?id=754932
* Avoid type checking overhead for resize-modeMatthias Clasen2015-09-121-0/+28
|
* headerbar: Get rid of get_path_for_child()Benjamin Otte2015-07-161-1/+0
| | | | Instead, reorder CSS nodes.
* Don't let themes override explicit border-width in dialogsMatthias Clasen2014-03-241-0/+3
| | | | | | | This fixes an issue where the theme-provided border-width prevents dialog contents from lining up properly with the headerbar. To make this work in message dialogs, we have to explicitly set the border- width of the action area to 0.
* Revert "Don't let themes override explicit border-width in dialogs"Matthias Clasen2014-03-241-3/+0
| | | | | | | This reverts commit 6e4567e73bceb66200b9605c51b4b5ad6e807483. For some reason, this causes buttons in message dialogs to have an unwanted border.
* Don't let themes override explicit border-width in dialogsMatthias Clasen2014-03-211-0/+3
| | | | | This fixes an issue where the theme-provided border-width prevents dialog contents from lining up properly with the headerbar.
* GtkContainer: fix disconnection from frame clockOwen W. Taylor2013-02-141-0/+1
| | | | | | We need to disconnect the frame clock when we unrealize (at which point the old clock is still alive) not in destroy(). Since there is no common unrealize for containers, trigger this from GtkWidget.
* Use GdkFrameClock for relayoutOwen W. Taylor2013-02-141-0/+1
| | | | | | | Add a ::layout signal to GdkFrameClock and use it instead of an idle handler to drive the restyling and relayout of containers. https://bugzilla.gnome.org/show_bug.cgi?id=685460
* container: Redo style validation handlingBenjamin Otte2012-04-171-1/+1
| | | | | | Instead of using 1 global queue for both resizes and style validation, use 2 queues. This makes the code a lot simpler and fixes a bug where we could accidentally stop restylying for very delayed restyles.
* container: Split out a functionBenjamin Otte2012-04-171-0/+3
|
* container: Remove duplicated flagBenjamin Otte2012-04-171-3/+0
| | | | | GtkContainer::need_resize and GtkWidget::alloc_needed are the same thing.
* toolbar: Fix widget path creation codeBenjamin Otte2011-09-271-0/+1
| | | | | - Ensure arrow button is always included - Invalidate list when direction changes
* gtkcontainer: Move private functions to private headerJavier Jardón2011-06-061-0/+44
https://bugzilla.gnome.org/show_bug.cgi?id=651707