Timm Bäder
2c8221ae4c
stack: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
78d825d816
Slightly rework clip handling
...
always initialize clips to the (content) allocation, don't walk up the
widget hierarchy in gtk_widget_set_clip, implement
gtk_widget_size_allocate in GtkSeparator. This way we don't end up using
uninitialized clip values.
The entire clip handling is up for major rework since we can't and don't
want to force every single widget to call _set_clip in size-allocate
implementations.
2017-07-19 12:45:25 +02:00
Timm Bäder
2e967aebef
button: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
f1b072e69e
gtkscale: Properly initialize the clip
2017-07-19 12:45:25 +02:00
Timm Bäder
ce18b06cad
widget: Don't set the allocation in size-allocate
...
If widgets chain up in their size-allocate implementation, they pass the
content allocation and not the widget allocation which will cause the
wrong allocation to be set.
2017-07-19 12:45:25 +02:00
Timm Bäder
ca3277b4cb
label: Don't chain up in size_allocate
...
It's unnecessary now.
2017-07-19 12:45:25 +02:00
Timm Bäder
626b58c170
frame: Fix copy&paste bug in shadow-type handling
...
If the given shadow_type is none NONE, we have to remove the .flat style
class of course, not add it.
2017-07-19 12:45:25 +02:00
Timm Bäder
8408da7f5d
paned: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
5a2b96b100
combobox: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
8afbedc5ce
widget: Add private get_border_allocation
2017-07-19 12:45:25 +02:00
Timm Bäder
5ce5887cda
flowbox: Remove gadgets
2017-07-19 12:45:25 +02:00
Timm Bäder
e889d10866
viewport: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
2f8644a6ae
scrolledwindow: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
d29145471c
box: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
8e35e8586b
box: Remove gadget accessor
2017-07-19 12:45:25 +02:00
Timm Bäder
9c117ae219
actionbar: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
ab6cc0b800
buttonbox: Don't use the parent gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
e5d4054049
separatortoolitem: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
47ce76ef49
menubar: Remove gadget
2017-07-19 12:45:25 +02:00
Timm Bäder
561873fd81
fontchooserwidgets: Spinbuttons are no entries
2017-07-19 12:45:24 +02:00
Timm Bäder
4c60e3c4ea
spinbutton demo: Spinbuttons are no Entries
2017-07-19 12:45:24 +02:00
Timm Bäder
999e4be975
spinbutton: Add text property
2017-07-19 12:45:24 +02:00
Timm Bäder
cb03331fd4
Entry: Remove gadget
2017-07-19 12:45:24 +02:00
Timm Bäder
daacb43e2c
toolbar: Remove gadget
2017-07-19 12:45:24 +02:00
Timm Bäder
17ee6ed644
cellrendererspin: Include gtkentry.h
...
The symbols aren't in gtkspinbutton.h anymore.
2017-07-19 12:45:24 +02:00
Timm Bäder
c81776fd14
flowbox: Initialize allocation
2017-07-19 12:45:24 +02:00
Timm Bäder
22bfdd9177
spinbuttonaccessible: Inherit from GtkWidgetAccessible
2017-07-19 12:45:24 +02:00
Timm Bäder
23bc93d9ae
spinbutton: Remove call to GtkSpinButton API
...
The condition will never be true since spinbuttons aren't entries
anymore.
2017-07-19 12:45:24 +02:00
Timm Bäder
f3ef899489
spinbutton: Inherit from GtkWidget
...
Use a box, an entry and the current 2 buttons.
Remaining problems: Entry sizing and activation.
2017-07-19 12:45:24 +02:00
Timm Bäder
41f2b7c085
modelbutton: Remove last gadget usages
...
And fix the clip calculation
2017-07-19 12:45:24 +02:00
Timm Bäder
7e10220ddd
label: Fix clipping
...
We were using an uninitialized value here.
2017-07-19 12:45:24 +02:00
Timm Bäder
17e6438054
widget-factory: Remove invisible-char usage for spin buttons
2017-07-19 12:45:24 +02:00
Timm Bäder
0e359fae03
frame: Remove empty finalize implementation
2017-07-19 12:45:24 +02:00
Timm Bäder
7efc96ed60
separator: Remove gadget
2017-07-19 12:45:24 +02:00
Timm Bäder
4f56de74ac
label: Remove gadget
2017-07-19 12:45:24 +02:00
Timm Bäder
3ab46046cc
spinner: Set clip
2017-07-19 12:45:24 +02:00
Timm Bäder
9e2d793609
frame: Remove gadget
2017-07-19 12:45:24 +02:00
Timm Bäder
5a602623d9
widget: Add private gtk_widget_get_content_allocation
2017-07-19 12:45:24 +02:00
Timm Bäder
c8d1af57ad
stackcombo: Set clip
2017-07-19 12:45:24 +02:00
Timm Bäder
a6e5ff7c68
modelbutton: Stop using the button's gadget
2017-07-19 12:45:24 +02:00
Timm Bäder
676e2a9c75
set clip of more widgets
2017-07-19 12:45:24 +02:00
Timm Bäder
9507fd31df
image: Remove gadget
2017-07-19 12:45:23 +02:00
Timm Bäder
d5316c5863
colorswatch: Remove gadget usage
2017-07-19 12:45:23 +02:00
Timm Bäder
34699184b2
icon: Stop calling gtk_widget_set_allocation
...
The allocation passed to size-allocate is the content allocation so this
call doesn't make sense anymore.
2017-07-19 12:45:23 +02:00
Timm Bäder
33c07312a1
button: Remove gadget usage
...
Can't remove it entirely yet, since GtkCheckButton still uses it
2017-07-19 12:45:23 +02:00
Timm Bäder
c169d5456c
fontbutton: Call the css node "fontbutton"
...
Otherwise the default looks like a button inside a button.
2017-07-19 12:45:23 +02:00
Timm Bäder
0463722aba
menuitem: Stop using gadget
...
Once again, we can't really delete it yet since other widgets use it...
2017-07-19 12:45:23 +02:00
Timm Bäder
1ee098f573
checkbutton: Don't use parent button's gadget
...
check buttons showing their indicator still use the internal boxgadget
and have therefore the wrong size, but this gets us closer.
2017-07-19 12:45:23 +02:00
Timm Bäder
7ae147e732
expander: Remove gadget
2017-07-19 12:45:23 +02:00
Timm Bäder
14e72d78e5
gizmo: Remove gadget
2017-07-19 12:45:23 +02:00