Matthias Clasen
e74bb3db2a
gtk-demo: Drop use of GtkAlignment
2014-05-23 20:31:38 -04:00
Carlos Garnacho
5369c77029
gesture: Simplify gesture/widget interaction public API
...
The propagation phase property/methods in GtkEventController are gone,
This is now set directly on the GtkWidget add/remove controller API,
which has been made private.
The only public bit now are the new functions gtk_gesture_attach() and
gtk_gesture_detach() that will use the private API underneath.
All callers have been updated.
2014-05-23 19:54:29 +02:00
Matthias Clasen
c63c1caac0
gtk3-demo: Don't leak the color chooser
2014-05-23 19:54:28 +02:00
Carlos Garnacho
51b5fa3bf0
demo: Update to gesture widget-level API changes
2014-05-23 19:54:25 +02:00
Carlos Garnacho
84885c6e26
demo: Update to gesture API change
2014-05-23 19:54:23 +02:00
Carlos Garnacho
71e382cf42
gtk-demo: Add simple gestures demo
2014-05-23 19:54:22 +02:00
Matthias Clasen
49cf5142ba
Deprecate GdkColor
...
It has been replaced by GdkRGBA. Time to make it official.
http://bugzilla.gnome.org/show_bug.cgi?id=636695
2014-05-22 09:09:55 -04:00
Matthias Clasen
bd5414addb
gtk-demo: Don't use GtkArrow
...
It is deprecated now.
2014-05-22 08:32:48 -04:00
Matthias Clasen
758734a8c5
gtk3-demo: Don't leak in the sizegroup example
...
Nobody was cleaning up the size group.
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=645966
2014-05-13 15:50:23 -04:00
Matthias Clasen
d292245659
gtk3-demo: Fix up toolpalette demo
...
The demo appears pretty broken, because some icons are not fitting
well in the grid. Just skip the problematic icons.
2014-05-13 06:26:11 -04:00
Matthias Clasen
d67751d0cc
gtk3-demo: Drop unneeded gtk_init() call
...
GtkApplication is doing this for us.
2014-05-12 22:38:37 -04:00
Matthias Clasen
1d099fbfae
gtk-demo: Don't use margin-left/right
...
Instead, use margin-start/end, which are the non-deprecated
replacements.
2014-05-12 22:32:51 -04:00
Nikita Churaev
9187b6bae7
Populate page 2 of the Widget Factory
...
https://bugzilla.gnome.org/show_bug.cgi?id=729598
2014-05-11 10:48:37 -04:00
Nikita Churaev
73b04b5434
Don't stretch switches in Widget Factory
...
https://bugzilla.gnome.org/show_bug.cgi?id=729594
2014-05-11 10:48:22 -04:00
Cosimo Cecchi
f656fc5997
widget-factory: use same spacing for buttons column
...
So that they nicely align with entries. Useful when tweaking the theme.
2014-05-09 11:02:41 -07:00
William Jon McCann
1c30470558
widget-factory: add linked entry and button example
2014-05-07 05:03:45 -04:00
Matthias Clasen
4d36fab72a
widget-factory: populate the second page more
...
Add back a menubar example that was lost a while ago, and also
include a searchbar and an infobar.
2014-04-29 21:43:11 -04:00
Matthias Clasen
bc057d849a
widget-factory: rearrange page 2 a bit
2014-04-29 16:51:44 -04:00
Matthias Clasen
f248b21b1b
widget-factory: Add a horizontal-buttons example
...
Sadly, we don't have good icons for payment methods...
2014-04-29 06:22:28 -04:00
Matthias Clasen
f1b423e60f
Add a popover menu example to gtk3-widget-factory
2014-04-27 12:13:35 -04:00
Matthias Clasen
6cd3c73f21
Add a paned example to gtk3-widget-factory
2014-04-27 10:30:10 -04:00
Jasper St. Pierre
bd60c7b95d
gtk-demo: Make sure to clear the timeout when we stop it
2014-04-22 18:55:06 -04:00
Matthias Clasen
71fdf845a7
gtk-demo: Avoid a compiler warning
2014-04-12 22:13:40 -07:00
Matthias Clasen
e8da5ec916
widget-factory: Clean up on shutdown
2014-04-12 22:13:14 -07:00
Matthias Clasen
e087f434a3
widget-factory: Remove unnecessary signal handlers
...
quitting the mainloop when none is running gives a critical
warning on shutdown.
2014-04-12 22:12:38 -07:00
Matthias Clasen
b86f54b54a
widget-factory: Add a listbox example
2014-04-12 21:45:30 -07:00
Matthias Clasen
4e64708b3d
widget-factory: Improve actionbar appearance
...
We are using the actionbar in the middle of the window, which
is not really what it is designed for. To avoid the unfinished
appearance on the sides, move it into the frame that we have
around the stack below. This fixes the sides, but gives the top
a double stroke. Too bad.
2014-04-12 21:09:03 -07:00
Matthias Clasen
2fab389930
widget-factory: Avoid ugly resizing on map
...
The text view is resizing several times after the window is mapped.
Not setting a hscrollbar-policy of never avoids that, and a
scrollbar still doesn't appear. Magic
2014-04-12 20:46:17 -07:00
Matthias Clasen
8ccdd5b7cf
gtk-demo: Fix images demo
...
The incremental loading was broken by GtkIconHelper - queuing a
redraw is no longer sufficient to cause GtkImage to redraw with
the new pixbuf contents.
Pointed out by Jasper St. Pierre.
2014-04-12 20:40:27 -07:00
Matthias Clasen
9268ef36ab
gtk-demo: Fix the links example
...
The keynav dialog is transient to the example window; since the
example window is now modal, we need to make the keynav dialog
modal as well, so it can receive input.
Problem pointed out by Jasper St. Pierre.
2014-04-12 18:44:40 -07:00
Bastien Nocera
f71f7215ab
all: Name more idles and timeouts
...
Following up from 438cd857c4
,
name more timeouts and idles.
The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).
https://bugzilla.gnome.org/show_bug.cgi?id=726870
2014-03-26 20:09:30 -04:00
Matthias Clasen
454c485ebe
widget-factory: Use a popover gear menu
2014-03-26 20:04:21 -04:00
Matthias Clasen
329263f091
gtk-demo: Fix underlines
...
The iconview example was showing literal underlines. We don't want
that.
2014-03-24 07:02:44 -04:00
Phillip Wood
5aa00e4f66
gtk3-demo: run button should be able to focus.
...
https://bugzilla.gnome.org/show_bug.cgi?id=725141
2014-03-09 20:26:55 -04:00
William Jon McCann
cbbc5d474a
widget-factory: add entry progress modes
2014-02-26 11:16:06 -05:00
Giovanni Campagna
d5196ded2f
pixbuf-demo: don't lock the window size
...
What's the use of an animation demo, if you can interactively
resize it and show off how cool is your window system handling
updates?
https://bugzilla.gnome.org/show_bug.cgi?id=725172
2014-02-26 00:04:41 +01:00
Matthias Clasen
1b74e81470
gtk3-demo: set primary-toolbar style class on primary toolbars
...
This makes them draggable, and is the right thing to do.
2014-02-17 23:44:49 -05:00
Matthias Clasen
73b9d4d86b
widget factory: Style the revealer as a notification
...
Just to show that this is essentially the same as GdNotification
already.
2014-02-04 15:58:04 -05:00
Matthias Clasen
fa4bd8b042
gtk3-demo: Fix two issues with the builder demo
...
The ui file was generating a warning about AtkAction not
being implemented, and the about dialog had a missing icon.
2014-01-31 15:44:46 -05:00
Matthias Clasen
5d39c435ca
widget-factory: Add a volume button
2014-01-29 22:37:00 -05:00
Matthias Clasen
4caf302498
Remove deprecation warnings from demos and tests
...
There were a few uses of gtk_widget_get_root_window that
need to be removed.
2014-01-24 21:08:59 -05:00
Carlos Garnacho
1d495cbafd
popover: Add a "modal" boolean property to GtkPopover
...
This property is TRUE by default, when a popover is modal, it
will automatically set a GTK+ grab on the popover, and grab
the keyboard focus into the popover.
2014-01-22 17:10:06 +01:00
Carlos Garnacho
7e30b82aee
gtk-demo: Fix crash after running popovers demo
...
The GtkBuilder window containing the complex popover UI was left
dangling, and with a dangling pointer to its former child, causing
crashes on gtk_grab_notify() after the popover was destroyed.
2014-01-22 17:10:06 +01:00
Carlos Garnacho
695b979b10
gtk-demo: Add GtkPopovers demo
...
In this demo several widget create popovers with different complexities,
positions, and grabbing behavior.
2014-01-22 17:10:05 +01:00
Volker Sobek
a4d69e7f14
docs/comments: Fix spelling of 'explicitly'
...
This replaces all occurrences of 'explicitely' with 'explicitly'. Only
code comments and gtk-doc statements are affected.
https://bugzilla.gnome.org/show_bug.cgi?id=722429
2014-01-18 03:47:46 +01:00
William Jon McCann
e2c87f9dcd
demo: Add two buttons to the message dialog
...
This tests the new. prompt-like layout of message dialogs
better.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
William Jon McCann
7ed2958943
demo: Add new button box layouts
...
This adds a test case for the new expand layout.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
f940a60fd5
gtk-demo: Use primary-toolbar style in the application example
...
Adwaita correctly restricts window-dragging to primary toolbars,
Mark our toolbar as primary to test this.
2014-01-12 22:25:19 -05:00
Matthias Clasen
902ebaafd5
gtk3-demo: avoid a resizing problem
...
Two changes that sneaked in during the GtkApplication port
made it so that the window would not let you shrink it again
after you've made it larger. This also yielded very surprising
results when unmaximizing the window: it would come back to
have a minimum width slightly larger than the screen, making
maximization fail from then on.
2014-01-11 18:06:06 -05:00
William Jon McCann
51d462e927
widget-factory: add actionbar
...
https://bugzilla.gnome.org/show_bug.cgi?id=721665
2014-01-07 08:46:37 -05:00