Timm Bäder
07cbbc6fa9
container: Propagate child properties if parent != container
...
This can happen when e.g. GtkNotebook adds the child page widgets not
directly inside the notebook, but inside the inner GtkStack.
2017-07-19 21:27:12 -04:00
Timm Bäder
2bf1c09f65
adwaita: Fix notebook theming
...
the header and the stack nodes are now inside a box node.
2017-07-19 21:27:12 -04:00
Timm Bäder
11207505e3
gizmo: Unparent all child widgets in finalize
2017-07-19 21:27:12 -04:00
Timm Bäder
017dfc132d
gizmo: Chain up in snapshot if no snapshot func given
...
I.e. when gizmo users just want to draw child widgets anyway and don't
do any custom drawing, they can simply pass NULL.
2017-07-19 21:27:12 -04:00
Timm Bäder
0c0a402433
notebook: Replace tab gadget with GtkGizmo
2017-07-19 21:27:12 -04:00
Timm Bäder
8edf10103e
notebook: Replace tabs gadget with GtkGizmo
2017-07-19 21:27:12 -04:00
Timm Bäder
195ca06c2c
notebook: Replace arrow gadgets with GtkIcons
2017-07-19 21:27:12 -04:00
Timm Bäder
8b1b0f4efd
icon: Add _set_image
2017-07-19 21:27:12 -04:00
Timm Bäder
7c77fd9e62
menu: Replace arrow gadgets with GtkIcons
2017-07-19 21:27:12 -04:00
Timm Bäder
fb78c3b7e8
checkmenuitem: Replace indicator gadget with GtkIcon
2017-07-19 21:27:12 -04:00
Timm Bäder
2876790cc3
icon: Only draw in content allocation
2017-07-19 21:27:12 -04:00
Timm Bäder
273aa2be61
menuitem: Replace arrow gadget with GtkIcon
2017-07-19 21:27:12 -04:00
Timm Bäder
753e915f87
scrollbar: Add accessor for wheel delta
...
Make the one in gtkrange.c static since it was only ever used from
GtkScrolledWindow.
2017-07-19 21:27:12 -04:00
Timm Bäder
706bc08b68
range: Draw the colorscale trough at 0,0
2017-07-19 21:27:12 -04:00
Timm Bäder
2e62072cbc
range: Allocate the trough when the adjustment value changes
...
So it repositions the slider.
2017-07-19 21:27:12 -04:00
Timm Bäder
38ff761313
range: Fix mouse location tracking
2017-07-19 21:27:12 -04:00
Timm Bäder
afddfc2397
range: Snapshot slider in trough's snapshot impl
2017-07-19 21:27:12 -04:00
Timm Bäder
d1be5f2941
spinner: Remove gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
6e74975e41
range: make the slider a gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
c7c08cf9a1
icon: Remove gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
ba6ba94184
range: Use gizmos for highlight and fill gadgets
2017-07-19 21:27:12 -04:00
Timm Bäder
395185896f
range: Use a gizmo as trough
2017-07-19 21:27:12 -04:00
Timm Bäder
90cc401f1a
range: Remove contents gadget
...
It's not needed anymore since the range only has one child gadget: the
trough.
2017-07-19 21:27:12 -04:00
Timm Bäder
7e525ca63b
range: Remove steppers
...
Add them back into the new scrollbars later
2017-07-19 21:27:12 -04:00
Timm Bäder
86a2156d17
scrolledwindow: Use scrollbar API on scrollbars
2017-07-19 21:27:12 -04:00
Timm Bäder
5049b35fc6
range: Make GtkRange a regular class
2017-07-19 21:27:12 -04:00
Timm Bäder
4dc5790058
scrollbar: Inherit from GtkWidget
2017-07-19 21:27:12 -04:00
Timm Bäder
55fc120134
calendar: Remove custom css background and border drawing
2017-07-19 21:27:12 -04:00
Timm Bäder
4d4b224a61
eventbox: Remove snapshot implementation
2017-07-19 21:27:12 -04:00
Timm Bäder
70613c9128
toolpalette: Port to snapshot()
2017-07-19 21:27:12 -04:00
Timm Bäder
7ddd497f69
toolitemgroup: Remove custom draw code
...
GtkWidget does it automatically now
2017-07-19 21:27:12 -04:00
Timm Bäder
a735dd44cb
searchbar: Fix property documentation comments
...
They are properties of GtkSearchBar, not GtkEntry.
2017-07-19 21:27:12 -04:00
Timm Bäder
4823b9f2d7
searchbar: Remove manual snapshot code
2017-07-19 21:27:12 -04:00
Timm Bäder
2e4df25a1d
menu: Stop drawing css background and border
...
GtkWidget does it now
2017-07-19 21:27:12 -04:00
Timm Bäder
1a1f9fd03c
menu: Remove unnecessary queue_draw
2017-07-19 21:27:12 -04:00
Timm Bäder
c35a78110c
menu: Stop looking at padding and margin manually
2017-07-19 21:27:12 -04:00
Timm Bäder
8d2d2ae07f
button: Remove unused flag
2017-07-19 21:27:12 -04:00
Timm Bäder
720bb9eede
checkbutton: Don't draw a focus ring
...
GtkWidget does it for us now.
2017-07-19 21:27:12 -04:00
Timm Bäder
df28f3d771
meson: Remove double gtkcssnode.c entry in source files
2017-07-19 21:27:12 -04:00
Timm Bäder
9ab43dfe9e
spinbutton: Add accessors for (max-)width-chars
2017-07-19 21:27:12 -04:00
Timm Bäder
6aa9ca7b55
spinbutton: Fix activation
2017-07-19 21:27:12 -04:00
Timm Bäder
88550b5d55
inspector: Show the GdkWindow before grabbing
...
Gets rid of a critical when trying to inspect widgets.
2017-07-19 21:27:12 -04:00
Timm Bäder
2651fcbef9
widget: Special-case popover in snapshot
...
Just like we do it for GtkWindow.
2017-07-19 21:27:12 -04:00
Timm Bäder
1d4d5b2eb9
popover: Stop looking at padidng and border in measure
...
GtkWidget does it for us now
2017-07-19 21:27:12 -04:00
Timm Bäder
a5b25d452a
boxgadget: Remove unused ComputeExpandFunc
2017-07-19 21:27:12 -04:00
Timm Bäder
0845246fb8
menuitem: Remove gadget
...
Now that GtkCheckMenuItem isn't using it anymore, we also don't need it.
2017-07-19 21:27:12 -04:00
Timm Bäder
022a3d76d9
checkmenuitem: Stop using the parent's gadget
2017-07-19 21:27:12 -04:00
Timm Bäder
2234d100ad
expander: Inherit from GtkContainer
...
This fixes the expansion not working. As a GtkBin, GtkExpander can only
have one child and if that's a GtkBox (and not the one added through
gtk_expander_add), things go wrong.
2017-07-19 21:27:12 -04:00
Timm Bäder
a2f7a076ac
inspector: Fix list row alignment in general tab
2017-07-19 21:27:12 -04:00
Timm Bäder
8bf3b2d5e4
scrolledwindow: Remove useless function call
...
We never use the result.
2017-07-19 21:27:12 -04:00