summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/css_basics.c
Commit message (Collapse)AuthorAgeFilesLines
* gtk-demo: Add keywords to demosMatthias Clasen2020-09-131-2/+1
| | | | | | | | | Add the names of the main widgets as keywords to our demos, but also things like "game". This helps finding relevant demos in our growing list. You can now for example type "label", and find the "error states" and "links" demos showing GtkLabel features.
* 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.
* gtk4-demo: Fix css_basics demoTimm Bäder2020-05-201-1/+1
|
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-3/+7
| | | | These are all on GtkBox or enumerating children.
* Use gtk_window_destroyMatthias Clasen2020-05-111-1/+1
| | | | | Replace calls to gtk_widget_destroy on windows with gtk_window_destroy.
* Stop using gtk_widget_destroyedMatthias Clasen2020-05-111-2/+1
| | | | | Replace all internal use of gtk_widget_destroyed by g_object_add_weak_pointer.
* 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.
* window: Remove type argument from gtk_window_new()Benjamin Otte2020-02-141-1/+1
|
* cssection: Return locations, not numbersBenjamin Otte2019-04-121-4/+7
| | | | Now that we have GtkCssLocation, actually use it.
* build: Add gtk-css static libraryBenjamin Otte2019-04-121-1/+1
| | | | | | | | | | This library is meant to be the new CSS library that gets used from GDK, GSK and GTK for string printing and parsing. As a first step, move GtkCssProviderError into it. While doing so, split it into GtkCssParserError (for critical problems) and GtkCssParserWarning (for non-critical problems).
* gtk-demo: Remove calls to gtk_style_context_reset_widgets()Benjamin Otte2017-10-311-2/+0
| | | | | Those calls have been unneeded for a long time - since we gained the changed signal on the StyleProvider in fact.
* Remove gtk_widget_show_allTimm Bäder2017-01-201-1/+1
|
* cssprovider: Remove GError out argument from load functionsBenjamin Otte2016-10-171-1/+1
| | | | People should use the GtkCssProvider::parsing-error signal instead.
* gtk3-demo: Rename "CSS Theming" groupMatthias Clasen2016-03-251-1/+1
| | | | Call it just "Themeing" to avoid the repetition of CSS.
* gtk-demo: Cosmetic changesMatthias Clasen2015-06-281-6/+3
| | | | | | Clean up the code of many examples in minor ways, fix some memory leaks, and avoid the use of dialogs where a regular toplevel works just as well.
* gtk-demo: Many cosmetic fixesMatthias Clasen2015-06-191-7/+6
| | | | Mostly update window titles, and some addition to descriptions.
* gtk-demo: Remove file lists from demo dataBenjamin Otte2013-02-011-1/+1
| | | | | We can get it from parsing resources now, so no need to manually add them.
* gtk-demo: Don't use aliases for filenamesBenjamin Otte2013-02-011-1/+1
| | | | | This is necessary so the files displayed in the left notebook match the files referenced in the source code.
* gtk-demo: Plug 2 small memleaksMatthias Clasen2012-09-161-0/+1
|
* gtk-demo: display tabs for CSS files in theming demosCosimo Cecchi2012-05-301-1/+1
|
* gtk-demo: Make CSS a resourceBenjamin Otte2012-05-301-17/+5
| | | | Also, improve the CSS to give you that basic feel.
* gtk-demo: Add a simple example for themingBenjamin Otte2012-05-301-0/+133