| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
| |
The conversion was done by guard2one.
|
|
|
|
|
| |
Move the autocleanup declarations into their
respective headers.
|
|
|
|
|
|
|
| |
These functions are common across container implementations,
but GtkFlowBox was missing them.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4277
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is the replacement for gtk_container_remove.
|
|
|
|
|
|
|
| |
We want to remove GtkBin and GtkContainer as they don't
provide much useful functionality anymore.
See #2681
|
|
|
|
| |
We keep GtkFlowBoxChild subclassable, though.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=776187
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Fixed https://bugzilla.gnome.org/show_bug.cgi?id=721530
|
|
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.
|