Matthias Clasen
9d16715eb3
Merge branch 'menubutton-no-button' into 'master'
...
Menubutton: don't derive from GtkButton
See merge request GNOME/gtk!853
2019-05-18 13:13:48 +00:00
Matthias Clasen
0eb7784785
Update all users for menubutton changes
2019-05-18 13:06:32 +00:00
Timm Bäder
8e9ac826a1
widget-factory: Add icon-dropshadow class to large icon
...
Looks stupid without the shadow.
2019-05-18 13:47:59 +02:00
Matthias Clasen
92e21c3f1c
Drop the can-default property
...
It was added at a time when default buttons
had a very large external border that would disrupt
aligment. Not a problem nowadays.
2019-04-28 23:28:39 +00:00
Matthias Clasen
fe3796ed5b
widget-factory: Stop setting has-default in ui files
...
We can just set the default-widget property. The
special handling for has-default in ui files is
going away.
2019-04-28 23:21:51 +00:00
Matthias Clasen
aab803b7ae
widget-factory: Make a resizing popover
...
Add an expander to a popover to test how
changing sizes works with popovers.
2019-04-27 18:00:22 +00:00
Matthias Clasen
e1200230c4
widget-factory: Add some nested popovers
...
These are mainly for stress-testing our
popover implementations.
2019-04-27 17:50:22 +00:00
Matthias Clasen
d3ad816d63
widget-factory: Add non-modal popovers
...
This makes is easy to test moving the toplevel
or repositioning the parent while the popover
is shown.
2019-04-27 17:50:14 +00:00
Matthias Clasen
226e0eadf0
widget-factory: Add an Inspector menu item
...
Just because we can.
2019-04-16 18:06:12 -04:00
Emmanuele Bassi
31b65e6721
demos: Update GtkGrid definitions in UI files
2019-04-05 00:12:26 +01:00
Matthias Clasen
41bb875221
widget-factory: Rename to org.gtk.WidgetFactory4
2019-04-02 00:27:33 +00:00
Benjamin Otte
9d0a42dc14
stack: Add a cube spin transition
...
Add a transition to GtkStack that pretends pages
are the sides or a cube, and switch them by
rotating the cube.
Use this transition in widget-factory.
2019-03-29 10:03:18 -04:00
Matthias Clasen
6b050a277e
Convert ui files
...
Run gtk4-builder-tool simplify --3to4 over all ui files.
2019-03-27 20:03:59 -04:00
Matthias Clasen
7ac250dea7
Convert all ui files
...
Run gtk4-builder-tool simplify --3to4 over all ui files.
2019-03-27 13:36:24 -04:00
Benjamin Otte
ad5c5d477e
revealer: Add swing transitions
...
And make the revealer on page 2 of the widget-factory use one.
2019-03-07 15:06:12 +01:00
Matthias Clasen
ddea11b7b8
widget-factory: Use notebook pages in the ui file
...
This is the new way of doing things.
2019-02-21 00:31:17 -05:00
Matthias Clasen
0e11944166
widget-factory: Don't set can-focus on entries
...
The focus needs to be on the text inside, now.
2019-02-19 00:25:59 -05:00
Matthias Clasen
e0dac3ab73
widget-factory: Reinstate some lost properties
...
The code in gtk-builder-tool to preserve properties
has a bug, It lost these.
2019-02-08 10:34:32 -05:00
Matthias Clasen
4ace873046
Update ui files to new stack syntax
...
This conversion was done with the help of gtk4-builder-tool.
2019-02-08 00:09:44 -05:00
Emmanuele Bassi
589cb19715
demos: Drop the '+' from GTK
...
The demos have user-visible text that should refer to "GTK", not "GTK+"
any more.
2019-02-05 10:19:57 +01:00
Matthias Clasen
883d5d8584
box: Remove the position child property
...
The position child property is problematic, since it
requires us to emit notification for all children when
inserting a child early in the list of children.
Remove the property from all ui files.
2019-01-23 19:30:47 -05:00
Timm Bäder
494e9d750a
dialog: Expose the content area as a separate GtkBox child
...
This way, the "vbox" internal child does not contain anything by
default. It previously did contain "internal" widgetry like the action
area.
2019-01-23 19:30:46 -05:00
Timm Bäder
3a13515777
Stop using GtkBox's pack-type child prop in UI files
2019-01-23 19:30:46 -05:00
Jeremy Bicha
52bcf7fd46
widget-factory: Add Keyboard Shortcuts menu item
...
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/916
2018-09-30 20:43:53 -04:00
Jeremy Bicha
43997fb550
widget-factory: Rename About menu item to About Widget Factory
...
This follows the recommendation in
https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement
2018-09-30 20:43:51 -04:00
Jeremy Bicha
c59669d376
widget-factory: Move app menu contents to primary menu
...
GNOME Shell 3.32 will remove support for the app menu
so we need to move its contents to the primary (hamburger)
menu.
widget-factory already had a primary menu.
The only item in the app menu was About.
https://gitlab.gnome.org/GNOME/Initiatives/issues/4
2018-09-30 20:43:41 -04:00
Matthias Clasen
ca9aa23619
Add devel style to demos
...
Lets show this off. Its cool.
2018-09-05 20:10:41 -04:00
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