Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | grid: Remove unnecessary NULL checks | Timm Bäder | 2017-04-28 | 1 | -5/+2 |
| | | | | | The minimum and natural pointers passed to measure are never NULL and that's the only place where we call gtk_grid_get_size_for_size. | ||||
* | Fix gdk_rectangle_union calls | Timm Bäder | 2017-04-28 | 1 | -1/+1 |
| | | | | | | Turns out that the destination is the last parameter, not the first one. This fixes the flickering in the first page of the widget-factory when using the expander on page 2. | ||||
* | grid: Compute clip directly | Timm Bäder | 2017-04-25 | 1 | -4/+7 |
| | | | | | Instead of iterating over the children again in gtk_container_get_children_clip | ||||
* | container: Remove include_internals parameter from forall | Timm Bäder | 2017-04-25 | 1 | -1/+0 |
| | | | | | | with include_internals=TRUE, this is the same as the (still private) gtk_widget_forall, or just using the children/sibling accessors in a loop. | ||||
* | grid: Fix plural error in docs' @Short_description | Daniel Boles | 2017-01-15 | 1 | -1/+1 |
| | |||||
* | Avoid some more type checks for internal calls | Alexander Larsson | 2017-01-11 | 1 | -1/+1 |
| | |||||
* | gadget: Remove gtk_css_gadget_draw() | Benjamin Otte | 2016-12-20 | 1 | -1/+0 |
| | | | | | | | And with it, remove the draw func from custom gadgets, that has been NULL everywhere. All gadgets are snapshot now. | ||||
* | grid: Implement support for CSS border-spacing | Benjamin Otte | 2016-12-10 | 1 | -25/+42 |
| | |||||
* | snapshot: Convert GtkGrid | Benjamin Otte | 2016-11-15 | 1 | -15/+20 |
| | |||||
* | snapshot: Add a snapshot function to GtkCssCustomGadget | Benjamin Otte | 2016-11-15 | 1 | -0/+1 |
| | |||||
* | grid: Use gtk_wiget_measure | Timm Bäder | 2016-11-12 | 1 | -16/+12 |
| | |||||
* | widget: Use ::measure vfunc to measure size | Timm Bäder | 2016-10-22 | 1 | -63/+10 |
| | | | | | | | | Add a new ::measure vfunc similar to GtkCssGadget's that widget implementations have to override instead of the old get_preferred_width, get_preferred_height, get_preferred_width_for_height, get_preferred_height_for_width and get_preferred_height_and_baseline_for_width. | ||||
* | Convert GtkGrid to indirect rendering | Matthias Clasen | 2016-10-18 | 1 | -19/+12 |
| | | | | Following the example of GtkBox. | ||||
* | Remove GtkTable | Timm Bäder | 2016-10-18 | 1 | -2/+2 |
| | |||||
* | API: container: Remove gtk_container_set_border_width() | Benjamin Otte | 2016-10-16 | 1 | -1/+0 |
| | |||||
* | Remove GtkHBox | Timm Bäder | 2016-10-16 | 1 | -1/+1 |
| | |||||
* | Revise CSS node documentation | Matthias Clasen | 2015-12-16 | 1 | -1/+1 |
| | | | | | Clarify the use of brackets in the CSS node diagrams: [] means optional nodes or classes, <> means child widgets. | ||||
* | grid: Convert to gadgets | Matthias Clasen | 2015-12-15 | 1 | -79/+136 |
| | |||||
* | Add some more missing nullable annotations | Timm Bäder | 2015-12-01 | 1 | -1/+1 |
| | |||||
* | GtkGrid: Remove invalid return annotation | Timm Bäder | 2015-11-13 | 1 | -2/+0 |
| | |||||
* | grid: Convert to gtk_container_child_notify_by_pspec | Matthias Clasen | 2015-09-08 | 1 | -13/+26 |
| | | | | For the same reasons as g_object_child_notify_by_pspec. | ||||
* | Move GtkWidgetPrivate to gtkwidgetprivate.h | Matthias Clasen | 2015-09-07 | 1 | -19/+19 |
| | | | | | This lets us use inlined getters for members in there, avoiding the type checks in the public getters. | ||||
* | Revert "GtkGrid: Add a few NULL checks" | Matthias Clasen | 2015-07-17 | 1 | -5/+2 |
| | | | | | | This reverts commit e215db6da21fc7c54f49b247afabc06a18d60513. We are actually requiring non-NULL out arguments here now. | ||||
* | GtkGrid: Add a few NULL checks | Matthias Clasen | 2015-07-17 | 1 | -2/+5 |
| | | | | Coverity complained about these. | ||||
* | stylecontext: Split render functions out into gtkrender.[ch] | Benjamin Otte | 2014-10-03 | 1 | -0/+1 |
| | |||||
* | widget: Make _gtk_set_simple_clip() take an optional content clip | Benjamin Otte | 2014-08-21 | 1 | -1/+1 |
| | |||||
* | GtkGrid: Set orientable style classes initially | Matthias Clasen | 2014-07-18 | 1 | -0/+2 |
| | | | | | This was an omission, horizontal/vertical would only be set when the orientation is changed. | ||||
* | GtkGrid: Use G_PARAM_EXPLICIT_NOTIFY | Matthias Clasen | 2014-06-09 | 1 | -5/+5 |
| | |||||
* | widget: Add _gtk_widget_set_css_clip() | Benjamin Otte | 2014-05-24 | 1 | -0/+3 |
| | | | | ... and use it in GtkBox and GtkGrid. | ||||
* | GtkGrid: gtk_grid_get_size_for_size() do not dereference a NULL pointer. | Juan Pablo Ugarte | 2014-05-01 | 1 | -2/+2 |
| | |||||
* | grid: Remove unneeded checks | Benjamin Otte | 2014-05-01 | 1 | -10/+4 |
| | | | | | Size vfuncs always get non-null out variables passed, so no need to check for NULL. | ||||
* | docs: use proper quotations instead of '*' | William Jon McCann | 2014-02-07 | 1 | -1/+1 |
| | |||||
* | docs: use proper apostrophe | William Jon McCann | 2014-02-07 | 1 | -1/+1 |
| | | | | https://wiki.gnome.org/Design/OS/Typography | ||||
* | docs: Use markup for links | William Jon McCann | 2014-02-07 | 1 | -1/+1 |
| | |||||
* | GtkGrid: fix property installation | Matthias Clasen | 2014-01-25 | 1 | -12/+12 |
| | | | | The previous commit was misapplied. | ||||
* | gtkgrid: Use g_object_class_install_properties() and g_object_notify_by_pspec() | Javier Jardón | 2014-01-24 | 1 | -13/+20 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=634793 | ||||
* | grid: draw css background and borders | Paolo Borelli | 2013-11-03 | 1 | -0/+17 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=711324 | ||||
* | gtk: Use new macros for defining private data | Emmanuele Bassi | 2013-07-09 | 1 | -3/+2 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996 | ||||
* | GtkGrid: Undo a size allocation tweak | Matthias Clasen | 2013-04-28 | 1 | -13/+1 |
| | | | | | | | Revert 5e1a06d1b124f09a1a54d5ae0f38905dbdc2cc81 This change caused empty rows to 'open up', which was not intended and causes problems as seen in bug 698660. | ||||
* | docs: fix some typos in newly introduced methods | Cosimo Cecchi | 2013-04-24 | 1 | -1/+1 |
| | |||||
* | GtkGrid: Add missing Since docs | Alexander Larsson | 2013-04-23 | 1 | -0/+8 |
| | |||||
* | GtkGrid: Support baseline alignment in GtkGrid | Alexander Larsson | 2013-04-23 | 1 | -109/+605 |
| | | | | | We support a local baseline in each row, as well as selecting a specific row for the global baseline of the entire GtkGrid. | ||||
* | Add gtk_grid_remove_{row,column} | Matthias Clasen | 2013-03-23 | 1 | -0/+102 |
| | | | | | | It is sometimes convenient to deal with entire rows or columns at a time. https://bugzilla.gnome.org/show_bug.cgi?id=695994 | ||||
* | GtkGrid: Tweak size allocation | Matthias Clasen | 2013-03-15 | 1 | -1/+14 |
| | | | | | | | | | | If there are rows that contain only spanning children, our algorithm was unnecessarily distributing extra space to the other rows, even if they contain only non-expanding children. We improve the behaviour by treating rows containing only spanning children as expanding. | ||||
* | grid: Fix access to grid->priv member | Bastian Winkler | 2012-06-03 | 1 | -2/+6 |
| | | | | | | The priv member should be accessed after the g_return_if_fail test https://bugzilla.gnome.org/show_bug.cgi?id=677363 | ||||
* | grid: Add missing guard to gtk_grid_get_child_at() | Bastian Winkler | 2012-06-03 | 1 | -1/+5 |
| | | | | | | Add missing guard to make sure it's called with a GtkGrid argument. https://bugzilla.gnome.org/show_bug.cgi?id=677363 | ||||
* | grid: add missing transfer annotation | Martin Pitt | 2012-05-16 | 1 | -1/+1 |
| | | | | | gtk_grid_get_child_at() is missing a transfer annotation for the returned widget, making it not introspectable. | ||||
* | GtkGrid: Add a note about overlapping children | Matthias Clasen | 2012-04-28 | 1 | -1/+2 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=669989 | ||||
* | grid: avoid a floating point exception | Matthias Clasen | 2012-03-24 | 1 | -0/+3 |
| | | | | | | | | When a homogeneous grid has no visible children, we were accidentally doing a division by zero. Instead, just bail out early in this case, there is nothing to allocate anyway. https://bugzilla.gnome.org/show_bug.cgi?id=672763 | ||||
* | grid: Work harder for tight homogeneous allocation | Matthias Clasen | 2012-03-04 | 1 | -18/+53 |
| | | | | | | | | | When doing homogeneous allocation in the presence of overlapping spanning children, we need to avoid uneven line allocations, otherwise, the final homogenization will blow up the size request of the grid. https://bugzilla.gnome.org/show_bug.cgi?id=671170 |