summaryrefslogtreecommitdiff
path: root/gtk/gtkflowbox.h
Commit message (Collapse)AuthorAgeFilesLines
* gtkflowbox: Add remove_all()Christopher Davis2023-04-021-0/+3
| | | | | | Removing all items from containers is a common use case. Without this applications needed to implement this manually. It makes senses to handle it here.
* Convert headers to #pragma onceMatthias Clasen2023-03-311-3/+1
| | | | The conversion was done by guard2one.
* gtk: Dissolve gtk-autocleanup.hMatthias Clasen2022-09-231-0/+3
| | | | | Move the autocleanup declarations into their respective headers.
* gtkflowbox: Add prepend() and append()Christopher Davis2021-10-121-0/+6
| | | | | | | These functions are common across container implementations, but GtkFlowBox was missing them. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4277
* flowbox: Convert docsMatthias Clasen2021-03-111-3/+4
|
* flowbow: Mark private fields as privateEmmanuele Bassi2021-03-111-0/+4
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-8/+8
|
* flowbox: Derive from GtkWidgetMatthias Clasen2020-05-111-1/+1
|
* flowbox: Add gtk_flow_box_removeMatthias Clasen2020-05-111-0/+3
| | | | This is the replacement for gtk_container_remove.
* flowboxchild: Derive from GtkWidgetMatthias Clasen2020-05-041-3/+10
| | | | | | | We want to remove GtkBin and GtkContainer as they don't provide much useful functionality anymore. See #2681
* flow box: Make finalMatthias Clasen2019-05-281-37/+1
| | | | We keep GtkFlowBoxChild subclassable, though.
* The big versioning cleanupMatthias Clasen2018-02-061-39/+37
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* flowbox: Fix annotation for GListModel binding callbackSam Thursfield2017-09-271-2/+2
| | | | | | | | | | | | The GtkFlowBoxCreateWidgetFunc type lacked GObject Introspection annotations for its arguments. This made gtk_flow_box_bind_model() unusable from Python as the callback function would be passed useless values. The annotations that I've added match those of the similar callback type GtkListBoxCreateWidgetFunc. https://bugzilla.gnome.org/show_bug.cgi?id=780758
* flowbox: Export gtk_flow_box_get_child_at_pos as public APIDebarshi Ray2016-12-201-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=776187
* gtk: Annotate GtkFlowBoxCreateWidgetFunc as "transfer full"Rico Tzschichholz2016-04-121-1/+1
|
* flowbox: correct the behavior with "can-focus"==FALSERafal Luzynski2015-10-031-1/+1
| | | | | | | | | | | | | | | In fact there were two issues: 1. GtkFlowBoxChild with "can-focus"==FALSE should pass the focus to its child immediately. 2. GtkFlowBox with "can-focus"==FALSE should cease its custom keynav implementation and fall back to the default GtkContainer behavior which is more natural. Thanks to these changes the flow box can act as a better replacement for GtkGrid and similar containers. https://bugzilla.gnome.org/show_bug.cgi?id=753371
* flow box: Fix up docsMatthias Clasen2015-09-211-0/+1
|
* Add gtk_flow_box_bind_modelMatthias Clasen2015-08-161-0/+22
|
* Changed obsolete FSF portal addresses to web addressAndika Triwidada2014-01-121-3/+2
| | | | Fixed https://bugzilla.gnome.org/show_bug.cgi?id=721530
* Add GtkFlowBoxMatthias Clasen2013-10-061-0/+220
GtkFlowBox is a container that its children in a reflowing grid, which can be oriented horizontally or vertically. It is similar to GtkListBox in that the children can be sorted and filtered, and by requiring a dedicated child widget type, GtkFlowBoxChild. It is similar to GtkTreeView in that is supports a full set of selection modes, including rubberband selection. This is the culmination of work that has happened in the egg-list-box module, and earlier in libegg. The origins of this code are the EggSpreadTable in libegg, which was written by Tristan van Berkom. It was moved to egg-list-box and renamed EggFlowBox by Jon McCann, and I gave it some finishing touched in the flowbox-improvements branch of that module.