Matthias Clasen
0063145ed8
tooltip: Set icon from texture instead of pixbuf
...
Another part of removing GdkPixbuf from APIs.
2017-11-29 22:17:59 -05:00
Matthias Clasen
dbfaa99107
image: Remove icon-size argument from icon setters
...
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.
2017-11-15 14:22:17 -05:00
Benjamin Otte
8df61992d7
tooltips: Remove GtkIconSize usage
2017-11-15 14:22:16 -05:00
Timm Bäder
ae5d3a20a8
tooltipwindow: Remove unused define
2017-07-19 21:27:13 -04:00
Timm Bäder
ad155fb26c
Remove GtkStock API from GtkImage
2016-10-16 18:17:21 +02:00
Emmanuele Bassi
0e0b45602a
tooltipwindow: Use a builder UI file
...
It's not a hugely complicated file, but it's easier to deal with some of
the details of tooltip windows styling if we have a UI file to edit,
instead of source code.
2015-11-11 12:27:07 +00:00
Matthias Clasen
534f537a3c
Fix an oversight
...
We must set the construct-only "type" to GTK_WINDOW_POPUP, otherwise
this ends upo being a regular toplevel.
2015-11-10 13:23:18 +00:00
Emmanuele Bassi
6f6e536543
Use CSS node name for GtkTooltipWindow
...
Instead of a style class.
2015-11-10 13:23:18 +00:00
Emmanuele Bassi
a846fd586d
Add GtkTooltipWindow private sub-class
...
GtkTooltip does a lot of set up on the GtkWindow it uses internally. We
should move that code to a separate class to keep it contained.
2015-11-10 13:23:18 +00:00