Günther Wutz
1d4ce5a544
widgetfactory: add separator tool item to presentation
2018-07-17 21:50:19 +02:00
Benjamin Otte
c2ec738a2e
widget-factory: Put gesture into ui file
2018-04-26 17:59:41 +02:00
Matthias Clasen
f0f2dd743f
widget-factory: add emoji completion to an entry
2018-04-23 18:54:43 -04:00
Matthias Clasen
63a7d99d25
widget-factory: Enable all details in the font chooser
...
We want to see this here.
2018-04-01 19:36:54 -04:00
Matthias Clasen
b83ba41f2d
Merge branch 'accessible-role' into 'master'
...
gtkbuilder: add accessibility role declaration
Closes #109
See merge request GNOME/gtk!69
2018-03-20 15:46:20 +00:00
Samuel Thibault
9561b97dc4
Fix some accessibility issues in demos
...
Fixes #110
2018-03-19 18:07:25 +01:00
Samuel Thibault
bd986f9534
gtkbuilder: add accessibility role declaration
...
This allows to override the role declared to the atk stack. For
instance,
<accessibility>
<role type="static"/>
</accessibility>
allows to tell the accessibility stack that a label is just a message in
a message box.
Fixes #109
2018-03-19 18:07:06 +01:00
Timm Bäder
f595c0dc1b
widget-factory: Fix some layout issues
...
We have to explicitly set some of these to their default values so
expand-set is TRUE and the boxes stop propagating their expansion state
up the hierarchy.
2018-01-19 09:53:39 +01:00
Matthias Clasen
351559fcfa
Simplify all ui files again
...
Now even simpler!
2018-01-18 17:53:44 -05:00
Matthias Clasen
ca227af4ff
widget-factory: Stop connecting to ::delete-event
...
We can use GtkWindow::hide-on-close instead
2018-01-16 14:14:09 -05:00
Timm Bäder
358c139a43
gl renderer: Rework once more
...
Last time, I swear.
2017-12-21 19:12:30 +01:00
Matthias Clasen
76b93f5598
widget-factory: Avoid a legacy event handler
...
We can use a gesture instead, here.
2017-12-12 19:46:10 -05:00
Matthias Clasen
029a84aa74
Fix fallout from the show-close-button rename
...
I had overlooked ui files. We should really
validate those during build.
2017-12-08 11:29:14 -05:00
Matthias Clasen
b9035fc3a6
widget-factory: Fix up icon size handling
...
Make the icon grid on page 2 work with our new
approach to icon sizes.
2017-12-01 10:29:53 -05:00
Matthias Clasen
2301d8d90b
enums: Change GtkIconSize values
...
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
2017-11-15 14:22:17 -05:00
Benjamin Otte
a7754a14b5
toolbar: Remove icon sizes
2017-11-15 14:22:16 -05:00
Daniel Boles
f4ffd261db
widget-factory: Demo different Frame border-styles
...
This shows not all, but the interesting/less predictable styles, and
the ones that correspond to the :shadow-types that were here before.
2017-10-02 20:22:41 +01:00
Daniel Boles
06bf049b1a
Revert "widget-factory: Usefully demo Frame shadow types"
...
This reverts commit 6ee2bf6286
.
There is a way to get different kinds of borders: it's CSS. It's better
to keep the 4 Frames and demo the different styles we can do using CSS.
2017-10-02 19:50:02 +01:00
Daniel Boles
6ee2bf6286
widget-factory: Usefully demo Frame shadow types
...
Instead of showing the 4 types except for GTK_SHADOW_NONE, which are all
treated identically and provide no way for themes to differentiate, just
keep 2 Frames, and make one of them GTK_SHADOW_NONE to demo a flat Frame
2017-09-14 18:35:08 +01:00
Matthias Clasen
f54aca20ee
widget-factory: Add a use of show-emoji-icon
...
This also serves as a testcase for nested popovers
that was missing in widget-factory so far.
2017-08-12 18:50:50 -04:00
Daniel Boles
1f1e156007
widget-factory: Add tooltip to Entry icon
...
just to show we can.
2017-08-03 20:43:03 +01:00
Timm Bäder
4cf39f65b2
widget-factory: fix page 3 widget expand
...
The treeview/listbox on the left side should not expand.
2017-07-19 21:27:16 -04:00
Timm Bäder
2d3f57a420
widget-factory: Show the status bar by default
...
Since the action is also active by default.
2017-07-19 21:27:14 -04:00
Timm Bäder
af7781ce0f
widget-factory: Remove invisible-char usage for spin buttons
2017-07-19 21:27:11 -04:00
Daniel Boles
322d9ca550
widget-factory: Use :relief=none, not class .flat
...
The rest of the ui file follows that convention.
2017-05-13 21:50:22 +01:00
Timm Bäder
2c174319ea
widget-factory: Fix listbox row alignment
2017-05-01 21:21:40 +02:00
Timm Bäder
fb927d1993
box: Remove center child
2017-04-25 20:30:37 +02:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
4945e28f08
widget-factory: Add dummy listbox placeholder
...
It doesn't do anything and isn't visible anyway, but it tests that
adding and removing placeholders works
2017-04-25 20:29:02 +02:00
Timm Bäder
f4341ee9f7
widget: Remove show-all property
...
Doesn't make sense anymore now that gtk_widget_show_all is gone.
2017-01-20 21:37:07 +01:00
Timm Bäder
8b3f5ce9a4
widget-factory: Adapt to GtkWidget visibility changes
...
Make the infobar and the toolbar invisible by default and remove all the
lines showing the other widgets.
2017-01-20 21:33:37 +01:00
Timm Bäder
d45e5ef3dc
widget-factory: Use GtkButton:icon-name to construct icon buttons
2016-12-04 12:00:45 +01:00
Matthias Clasen
23354ff6e7
widget-factory: Better progressbar testing
...
Hook the two top progressbars up to the scale with marks.
Your turn, Lapo.
2016-11-14 08:21:31 -05:00
Matthias Clasen
b2284ef48f
Fix widget-factory appearance, a bit
...
Use margins instead of border-width, for now.
2016-10-26 14:42:11 -04:00
Lapo Calamandrei
bec95e55e4
widget-factory: use circular style class on the circular button...
...
...in place of the circular-button one, killing the custom style
shipped, realying on the theme style.
2016-10-19 16:07:02 +02:00
Timm Bäder
8cafd3c5a7
menuitem: Stop implementing GtkActivatable
2016-10-18 00:29:18 +02:00
Timm Bäder
7e16396cc5
button: Stop implementing GtkActivatable
2016-10-18 00:29:18 +02:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
5b00a31c30
widget-factory: Stop using custom icon sizes
2016-10-16 18:17:21 +02:00
Tristan Van Berkom
6be8979c64
Revert "widget factory: Adapt to new scrolled window behavior"
...
This reverts commit 37e913d76b
.
This is no longer needed since the natural size propagation of
scrolled window children is now an optional behavior. Reverting
this also makes the widget factory scrolled window sizes behave
the same as with the gtk+ 3.20 branch.
2016-09-06 20:51:20 +09:00
Matthias Clasen
f7c87fb3b7
widget-factory: Fix smooth autoscrolling of scales
...
There is annoying interference between formatting the value
(for which we set the number of digits to show) and the small
frame-to-frame value changes that we do for autoscrolling.
To work around this, turn off the digits-based rounding entirely
and format the value ourselves with ::format-value.
2016-08-24 12:53:28 -04:00
Timm Bäder
bdb77b6cc2
widget-factory: Don't initially show popover
...
It'll be set as the popover of a GtkMenuButton later anyway which will
hide it again.
2016-08-10 16:37:17 +02:00
Matthias Clasen
37e913d76b
widget factory: Adapt to new scrolled window behavior
...
Set a max-content-width on some of the scrolled windows to
keep things looking mostly the same, now that GtkScrolledWindow
passes along the natural size of its child.
2016-06-19 22:16:11 -04:00
Matthias Clasen
5892bd72fa
widget-factory: Use max-content-size in a popover
...
This gives a nice example of these properties in action,
in the "Open" popover on page 3.
2016-06-06 14:35:46 -04:00
Matthias Clasen
f8bc35b9a6
Fix scale length
...
The vertical scales should really be of the same length, so
add an empty value to be drawn by the other scale.
2016-05-10 15:41:03 -04:00
Timm Bäder
7b81b56f7b
widget-factory: Let one of the scales draw a value
...
https://bugzilla.gnome.org/show_bug.cgi?id=766120
2016-05-10 21:24:50 +02:00
Matthias Clasen
87554eb57a
widget-factory: Make the sliding opt-in
...
The sliding is a little disorienting, so turn it off by default
and add a checkbutton for it in the gear menu.
2016-02-27 23:12:15 -05:00
Matt Watson
a051e5677e
widget-factory: transition pages
...
https://bugzilla.gnome.org/show_bug.cgi?id=762642
2016-02-25 19:49:45 -05:00
Benjamin Otte
d10bd41e43
widget-factory: Add myself
...
Actually, I wanted to have a radio toggle cell renderer for testing. But
hey, the commit message is supposed to say the important things!
2016-02-15 18:17:11 +01:00