summaryrefslogtreecommitdiff
path: root/tests/testheaderbar.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a testcase for controls in headerbarsMatthias Clasen2020-09-121-0/+23
| | | | | This is meant to help with figuring out entry selection drag issues.
* Replace "gchar" with "char"Benjamin Otte2020-07-251-4/+4
|
* headerbar: Show title buttons by defaultAlexander Mikhaylenko2020-07-021-4/+0
| | | | | Most of the time show-title-buttons is set to TRUE. Go ahead and make that the default.
* 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.
* tests: Rename testheaderbar2 to testheaderbarMatthias Clasen2020-05-141-0/+575
| | | | There is only one headerbar test now.
* tests: Consolidate all headerbar testsMatthias Clasen2020-05-141-167/+0
| | | | | | No need to have several binaries for this. See #2738
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-4/+4
| | | | These are all on GtkBox or enumerating children.
* Use gtk_window_destroyMatthias Clasen2020-05-111-2/+2
| | | | | Replace calls to gtk_widget_destroy on windows with gtk_window_destroy.
* tests: Expand content for testheaderbarAlexander Mikhaylenko2020-05-111-0/+1
|
* 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_button_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on buttons by gtk_button_set_child.
* headerbar: Remove user-settable titleAlexander Mikhaylenko2020-05-011-1/+0
| | | | | | | | Use window title, or custom title widget if it's set. Remove 'title' property. Update demos and tests to set the title on the window instead of headerbar.
* headerbar: Remove subtitleAlexander Mikhaylenko2020-05-011-19/+0
| | | | | Also remove the box containing title and subtitle, as there's only one label now.
* Use gtk_widget_add/remove_css_class moreMatthias Clasen2020-04-101-5/+5
| | | | | | Replace most uses of gtk_style_context_add/remove_class by the new APIs. The only remaining uses of the old API are in save/restore situations.
* tests: Add common_cflags to buildTimm Bäder2020-03-061-3/+3
| | | | | | And fix all the errors and warnings resulting from that See #2491
* Drop the margin propertyMatthias Clasen2020-02-251-1/+4
| | | | Replace it with margin-start, -end, -top, -bottom throughout.
* 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-3/+16
| | | | Replace these calls with direct use of GMainContext api.
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-9/+9
| | | | It might soon go away!
* testheaderbar: Fix custom CSSTimm Bäder2017-12-281-6/+2
|
* image: Remove icon-size argument from icon settersMatthias Clasen2017-11-151-2/+2
| | | | | | | | 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.
* stylecontext: Port to use display instead of screenBenjamin Otte2017-10-311-3/+3
|
* tests: Get rid of GtkEventBoxBenjamin Otte2017-08-021-7/+4
|
* box: Remove fill child propertyTimm Bäder2017-04-251-4/+4
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-4/+5
| | | | GtkWidget already has hexpand/vexpand properties.
* Remove gtk_widget_show_allTimm Bäder2017-01-201-3/+1
|
* Update callersMatthias Clasen2017-01-191-1/+1
| | | | Adapt all our tests and examples to the new initialization api.
* cssprovider: Remove GError out argument from load functionsBenjamin Otte2016-10-171-1/+1
| | | | People should use the GtkCssProvider::parsing-error signal instead.
* box: Remove 'padding' child propertyTimm Bäder2016-10-161-4/+4
|
* tests: use actionbar in headerbar testWilliam Jon McCann2014-01-071-25/+5
| | | | | | This is a great example of where headerbar should not be used. https://bugzilla.gnome.org/show_bug.cgi?id=721665
* testheaderbar: fix a mmemonicMatthias Clasen2013-06-281-0/+1
|
* Remove most of the stock API usage from the testsWilliam Jon McCann2013-06-241-2/+2
| | | | With the exception of GtkActions and the tests for stock items.
* Add more tests to testheaderbarMatthias Clasen2013-05-251-34/+70
| | | | | Check that one can use widgets other than GtkHeaderBar as titlebars.
* Add a test for dialog placement with csdMatthias Clasen2013-05-131-1/+22
| | | | | Taken from https://bugzilla.gnome.org/show_bug.cgi?id=700056
* Test a few more titlebar thingsMatthias Clasen2013-05-121-1/+23
| | | | | Add tests for fullscreening and disposing with custom titlebar to testheaderbar.
* Pimp up testheaderbar some moreMatthias Clasen2013-03-261-0/+8
|
* Add an example for subtitles in header barsMatthias Clasen2013-03-191-1/+18
|
* test custom titles more thoroughlyMatthias Clasen2013-03-191-1/+19
| | | | | This adds a way to toggle between custom and non-custom titles in testheaderbar, which is currently broken.
* Use gtk_window_set_titlebar in testheaderbarMatthias Clasen2013-03-181-12/+23
| | | | | This demonstrates how custom titlebars work both with and without csd.
* Add a headerbar testMatthias Clasen2013-03-181-0/+64
Add a testcase for GtkHeaderBar that shows how it can be used without client-side decorations.