Matthias Clasen
b65f871929
Use a texture instead of a pixbuf in gtk_render_icon
...
This gets rid of more GdkPixbuf in the API.
Update all callers.
2017-11-29 23:30:47 -05:00
Benjamin Otte
07164e098a
window: Turn gtk_window_set_screen() into gtk_window_set_display()
...
And have a priv->display instead of a priv->screen.
Includes turning gtk_menu_set_screen() into gtk_menu_set_display(),
because that function just forwards to its window.
2017-10-31 08:25:37 +01:00
Benjamin Otte
ecd5b399a4
icontheme: Use GdkDisplay instead of GdkScreen
2017-10-31 03:05:55 +01:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Benjamin Otte
979b56e86f
gtk-demo: Update drawing area usage to new APIs
...
A few demos are broken because they do input on drawing areas.
2016-11-18 06:40:53 +01:00
Caolán McNamara
ce36ac93f4
spin entry should be a child of spin context
...
https://bugzilla.gnome.org/show_bug.cgi?id=774609
2016-11-17 05:55:20 -05:00
Timm Bäder
5071206d60
widget: Remove app-paintable
2016-10-31 19:28:28 +01:00
Benjamin Otte
1518fe0a8f
API: stylecontext: Remove state argument from getters
...
The argument must always be the current state.
2016-10-16 18:18:58 +02:00
Carlos Garcia Campos
5107c4a75f
gtk-demo: Rework foreigndrawing to use sizes from the theme
...
Instead of hardcoding the size of the widgets. This makes the output
closer to real widgets and fixes the blurry icons. I've also added a
scale.
https://bugzilla.gnome.org/show_bug.cgi?id=763758
2016-03-21 11:45:48 -04:00
Matthias Clasen
4357c22a89
gtk-demo: Update foreigndrawing example some more
...
The scrollbar changes need to take the theme's negative margins
into account.
2016-03-08 08:55:59 -05:00
Matthias Clasen
fdd3c912a0
gtk-demo: Try to fix foreigndrawing scrollbars
...
The node hierarchy and sizing has changed with the gadgetization
of range widgets.
2016-03-08 08:14:36 -05:00
Caolán McNamara
1d65e8b601
gtk-demo: add menu separator demo
...
doesn't much look like the menu separator in a real menu though.
https://bugzilla.gnome.org/show_bug.cgi?id=762080
2016-02-15 10:19:49 -05:00
Caolán McNamara
ee9c1c1449
gtk-demo: add combobox demos
...
https://bugzilla.gnome.org/show_bug.cgi?id=762080
2016-02-15 08:41:22 -05:00
Caolán McNamara
1131ae27a0
gtk-demo: add menu check and radio examples
...
note that if the "menu" context has no parent then the GTK_STATE_FLAG_NORMAL
menu entries are invisible against the white background.
https://bugzilla.gnome.org/show_bug.cgi?id=762080
2016-02-15 08:41:22 -05:00
Caolán McNamara
5562f4f273
gtk-demo: spinbutton and menubar examples
...
https://bugzilla.gnome.org/show_bug.cgi?id=761900
2016-02-12 10:02:31 -05:00
Matthias Clasen
bfd254c932
gtk-demo: Add more foreign drawing examples
...
Add a notebook with an active tab.
Based on a patch by Caolan McNamara.
2016-02-10 21:20:34 -05:00
Caolán McNamara
671552043c
gtk-demo: attempt at a notebook with active box-shadow in tab
2016-02-10 17:26:12 -05:00
Caolán McNamara
701cdda3dc
gtk-demo: Add a menu to foreigndrawing
...
and demo that the block arrows require GTK_STATE_FLAG_DIR_LTR or
GTK_STATE_FLAG_DIR_RTL set to appear
https://bugzilla.gnome.org/show_bug.cgi?id=761828
2016-02-10 16:07:51 -05:00
Matthias Clasen
cba7b2c56b
Simplify foreign drawing example
...
This is code will be copied, so take out unnecessary complication.
2016-01-19 08:36:27 -05:00
Matthias Clasen
3fea7f296e
gtk-demo: Add a progress bar to foreigndrawing
...
This is another commonly requested widget.
2016-01-18 23:40:38 -05:00
Matthias Clasen
7ee65da0e3
Add foreigndrawing example to gtk3-demo
...
This makes it easier accessible and nicer to refer to
from the documentation.
2016-01-10 15:32:53 -05:00