summaryrefslogtreecommitdiff
path: root/tests/testflowbox.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace "gchar" with "char"Benjamin Otte2020-07-251-6/+6
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-11/+11
|
* scrolledwindow: Don't take adjustments in new()Matthias Clasen2020-06-241-1/+1
| | | | | | | In 99.9% of all cases, these are just NULL, NULL. So just do away with these arguments, people can use the setters for the rare cases where they want the scrolled window to use a different adjustment.
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-27/+27
| | | | These are all on GtkBox or enumerating children.
* Stop using container api on GtkFlowBoxMatthias Clasen2020-05-111-14/+7
| | | | GtkContainer is going away.
* Use gtk_expander_set_child throughoutMatthias Clasen2020-05-111-2/+2
| | | | | Replace all uses of gtk_container_add on expanders with gtk_expander_set_child.
* tests: Stop explicitly showing widgetsAlexander Mikhaylenko2020-05-111-28/+0
|
* flowboxchild: Derive from GtkWidgetMatthias Clasen2020-05-041-4/+4
| | | | | | | We want to remove GtkBin and GtkContainer as they don't provide much useful functionality anymore. See #2681
* Use gtk_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on windows by gtk_window_set_child.
* Use gtk_scrolled_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on popovers by gtk_scrolled_window_set_child.
* Use gtk_frame_set_child throughoutMatthias Clasen2020-05-041-3/+3
| | | | | Replace all uses of gtk_container_add for frames with gtk_frame_set_child.
* frame: Drop shadow-typeMatthias Clasen2020-04-171-1/+0
| | | | | Frames that don't draw frames are not very useful, so just drop the shadow-type property.
* tests: Add common_cflags to buildTimm Bäder2020-03-061-0/+2
| | | | | | And fix all the errors and warnings resulting from that See #2491
* window: Remove type argument from gtk_window_new()Benjamin Otte2020-02-141-1/+1
|
* Stop using gtk_main and gtk_main_quitMatthias Clasen2020-02-091-2/+15
| | | | Replace these calls with direct use of GMainContext api.
* label: Remove "line" from wrap propertiesTimm Bäder2019-09-091-2/+2
| | | | | The property names are "wrap" and "wrap-mode", so it doesn't make sense that the accessors refer to line_wrap and line_wrap_mode.
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-21/+21
| | | | It might soon go away!
* tests: Stop using the delete-event signalMatthias Clasen2018-01-161-2/+1
| | | | We can use ::destroy in most cases.
* enums: Change GtkIconSize valuesMatthias Clasen2017-11-151-0/+1
| | | | | The new values are the ones we intend to keep. The old ones had duplicated meanings and nobody knew which one to take.
* image: Remove icon-size argument from icon settersMatthias Clasen2017-11-151-1/+1
| | | | | | | | Instead, add a function gtk_image_set_icon_size() for the cases where overriding the icon size is necessary. Treat icon sizes the same way as pixel sizes, too. So gtk_image_clear() no longer unsets the icon size.
* testflowbox: hexpand the flowboxTimm Bäder2017-07-221-2/+0
|
* label: Remove angle propertyTimm Bäder2017-04-251-32/+0
|
* box: Remove fill child propertyTimm Bäder2017-04-251-22/+22
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-24/+25
| | | | GtkWidget already has hexpand/vexpand properties.
* Remove gtk_widget_show_allTimm Bäder2017-01-201-3/+0
|
* Update callersMatthias Clasen2017-01-191-1/+1
| | | | Adapt all our tests and examples to the new initialization api.
* API: container: Remove gtk_container_set_border_width()Benjamin Otte2016-10-161-2/+0
|
* button: Remove GtkStock APITimm Bäder2016-10-161-35/+1
|
* box: Remove 'padding' child propertyTimm Bäder2016-10-161-22/+22
|
* testflowbox: Add an example with buttonsMatthias Clasen2015-08-261-1/+22
| | | | | | | This example populates a flow box with buttons, and makes the flow box children unfocusable, with the intention that the focus moves directly between the buttons. Currently, keynav does not work at all in this case.
* Changed obsolete FSF portal addresses to web addressAndika Triwidada2014-01-121-3/+1
| | | | Fixed https://bugzilla.gnome.org/show_bug.cgi?id=721530
* tests: Make testflowbox test not emit warningsBenjamin Otte2013-11-041-2/+8
|
* Add GtkFlowBoxMatthias Clasen2013-10-061-0/+692
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.