Benjamin Otte
|
098f182d8f
|
widget-factory: Show proper separators
|
2019-06-04 06:11:44 +02:00 |
|
Benjamin Otte
|
6b1cfd0bca
|
gtk-demo: Fix sliding puzzle demo
1. Menubuttons aren't buttons
2. For paintables without aspect ratios, use 1.0
|
2019-05-31 05:36:44 +02:00 |
|
Matthias Clasen
|
d691393f5f
|
Merge branch 'wip/baedert/nodeeditor-fuckery' into 'master'
node editor: Add a quick way to save a testcase
See merge request GNOME/gtk!880
|
2019-05-30 03:28:41 +00:00 |
|
Matthias Clasen
|
90f330e27a
|
Merge branch 'gesture-click' into 'master'
Rename GtkGestureMultiPress to GtkGestureClick
See merge request GNOME/gtk!878
|
2019-05-29 18:39:09 +00:00 |
|
Timm Bäder
|
3874f37395
|
node editor: Add a quick way to save a testcase
|
2019-05-29 20:30:21 +02:00 |
|
Matthias Clasen
|
4f9c1bf14e
|
gtk-demo: Stop using gtk_window_set_position
This api is going away.
|
2019-05-29 18:04:08 +00:00 |
|
Matthias Clasen
|
7f65e5f96b
|
Rename GtkGestureMultiPress to GtkGestureClick
The name just made it hard for people to find the
right gesture to use.
|
2019-05-29 17:10:46 +00:00 |
|
Matthias Clasen
|
37f8df2722
|
fishbowl: Don't pop up popovers too early
Wayland does not like this.
|
2019-05-28 20:25:17 +00:00 |
|
Matthias Clasen
|
7447abb52b
|
Stop using gtk_widget_get_toplevel
All uses of it can be replaced by gtk_widget_get_root.
|
2019-05-28 20:25:16 +00:00 |
|
Matthias Clasen
|
948347afa9
|
Stop using gtk_widget_is_toplevel
|
2019-05-28 20:25:16 +00:00 |
|
Matthias Clasen
|
302d2a04ae
|
Stop using gtk_widget_get_surface
Replace all uses of gtk_widget_get_surface by
gtk_native_get_surface.
|
2019-05-28 20:25:16 +00:00 |
|
Matthias Clasen
|
25aef96d5d
|
popover: Rename modal to autohide
This is the term we use for the surface,
and it matches the behavior a bit better
than modal.
Update all callers.
|
2019-05-28 20:25:15 +00:00 |
|
Matthias Clasen
|
18788c2a86
|
Remove gtk_widget_get/set_has_surface
These serve no purpose anymore - widgets don't
have surfaces, unless they're a GtkNative.
|
2019-05-28 20:25:15 +00:00 |
|
Matthias Clasen
|
c1d5e82d95
|
Use GtkNative APIs instead of GtkRoot
|
2019-05-28 20:24:39 +00:00 |
|
Matthias Clasen
|
e95e39cbd3
|
widget-factory: Add some animation in a popover
|
2019-05-24 07:44:21 -04:00 |
|
Matthias Clasen
|
63f6aca1cf
|
fishbowl: Add a menubutton demo
This reveals some issues with the position tracking.
|
2019-05-24 00:31:07 +00:00 |
|
Matthias Clasen
|
018795127e
|
fishbowl: Fix the lock button
|
2019-05-24 00:13:03 +00:00 |
|
Matthias Clasen
|
e2fc00222e
|
fishbowl: Don't show ridiculous precision
Two decimals are more than enough for the frame rate.
|
2019-05-23 12:38:57 +00:00 |
|
Matthias Clasen
|
d0137ef627
|
gtk-demo: Reinstate flat menu buttons
|
2019-05-21 19:05:41 -04:00 |
|
Matthias Clasen
|
4594d82b14
|
widget-factory: Reinstate flat menu buttons
|
2019-05-21 19:05:41 -04:00 |
|
Matthias Clasen
|
fc2dc82b70
|
gtk-demo: Fix menubutton usage in listbox demo
Menu buttons are no longer buttons, so they
can't have children, and don't have a relief
property.
|
2019-05-21 00:04:24 +00:00 |
|
Matthias Clasen
|
3030e887a4
|
widget-factory: menu buttons can't have children
GtkMenuButton is no longer a container, so we
can't pack children in it.
|
2019-05-19 04:15:49 +00:00 |
|
Matthias Clasen
|
5368f98dd5
|
demos: Stop using gtk_button_clicked
|
2019-05-18 14:33:41 -04:00 |
|
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 |
|
Benjamin Otte
|
4bccd17941
|
node-editor: Report all errors in tooltip
Don't just report the first one.
|
2019-05-12 17:27:01 +02:00 |
|
Benjamin Otte
|
0049b39375
|
node-editor: Don't remove all text tags when saving
|
2019-05-12 17:27:01 +02:00 |
|
Benjamin Otte
|
9117ee83eb
|
node-editor: Never scale nodes up
Scaling down is fine so one can see the nodes, but scaling up just
makes the nodes wrong for no reason at all.
|
2019-05-08 19:47:40 +02:00 |
|
Timm Bäder
|
b3c4320bc2
|
node editor: Do some simple syntax highlighting
|
2019-05-07 17:21:16 +02:00 |
|
Timm Bäder
|
759a97403c
|
Some node editor improvements
|
2019-05-06 17:34:48 +02:00 |
|
Benjamin Otte
|
00b947124f
|
node-editor: Add renderings with alternative renderers
That's pretty rough around the edges, but it mostly works.
Apart from sizing, screw listbox sizing.
|
2019-05-05 07:18:39 +02:00 |
|
Benjamin Otte
|
008b7bc94f
|
Add gtk4-node-editor
It's meant to be a little editor for render nodes so we can do testing
with it.
|
2019-05-05 07:18:39 +02:00 |
|
Matthias Clasen
|
0d2a7f876b
|
gtk-demo: Make the expander demo behave again
Changes to the dialog hierarchy have affected
this demo, that admittedly pokes at message
dialog internals. Do that some more, to fix
things up.
|
2019-05-01 21:12:36 +00: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
|
89f7b974f2
|
Stop using gtk_widget_grab_default
Replace gtk_widget_grab_default by gtk_window_set_default_widget.
|
2019-04-28 23:21:51 +00:00 |
|
Matthias Clasen
|
65052a5d6c
|
Rename gtk_window_set_default
Call it gtk_window_set_default_widget, to match
the getter, and the property name. Update all
callers.
|
2019-04-28 23:20:13 +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
|
bc8ecef605
|
Merge branch 'icon-browser-tweaks' into 'master'
Icon browser tweaks
See merge request GNOME/gtk!754
|
2019-04-17 01:19:13 +00:00 |
|
Matthias Clasen
|
e2d821fa59
|
icon-browser: Left-align the sidebar
The centered labels just look disorderly.
|
2019-04-16 21:00:47 -04:00 |
|
Matthias Clasen
|
8d001e3573
|
icon-browser: Recover from GtkDialog api change
When we moved content_area to a sibling of action area,
it changed orientation from vertical to horizontal.
Adapt to this change.
|
2019-04-16 20:59:57 -04:00 |
|
Matthias Clasen
|
f6afa3d03f
|
gtk-demo: Add a gear menu
Modernize the about dialog, and make it available
from a gear menu, together with a way to bring up
the inspector.
|
2019-04-16 20:34:59 -04:00 |
|
Matthias Clasen
|
f4e32f29e1
|
widget-factory: Update copyright line
Update the years to 2019, and use some better typography.
|
2019-04-16 18:09:46 -04:00 |
|
Matthias Clasen
|
226e0eadf0
|
widget-factory: Add an Inspector menu item
Just because we can.
|
2019-04-16 18:06:12 -04:00 |
|
Benjamin Otte
|
44ce36bef5
|
menubar: Remove pack direction
|
2019-04-15 14:38:23 +02:00 |
|
Emmanuele Bassi
|
f39ae35e4b
|
demo: Ignore deprecated HarfBuzz API
We should avoid warnings just because we're building against bleeding
edge HarfBuzz.
|
2019-04-13 14:30:09 +01:00 |
|
Benjamin Otte
|
a8f712b09a
|
cssection: Return locations, not numbers
Now that we have GtkCssLocation, actually use it.
|
2019-04-12 19:34:28 +02:00 |
|