Rico Tzschichholz
eab39253ec
build/win32: Drop a11y library references
...
In addition to 4a4b23bfad
2014-05-24 09:23:52 +02:00
Rico Tzschichholz
7eaea2a849
Updated POTFILES.in
2014-05-24 09:22:53 +02:00
Matthias Clasen
9037f7b64e
docs: more input handling docs
2014-05-24 01:56:44 -04:00
Matthias Clasen
f52dd9fc04
Fix a start/end mixup
...
The headerbar example in gtk3-demo was showing two start buttons
after the arrow removal.
2014-05-24 00:48:12 -04:00
Matthias Clasen
aabc356b80
GtkMisc: Keep gtk_misc_set_alignment working
...
Now that labels and images no longer use x/yalign in their code,
we need to make gtk_misc_set_alignment set the h/valign for these
widgets, to keep it stumbling along until its final demise.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:48:12 -04:00
Matthias Clasen
1008e15414
GtkToolButton: Drop use of GtkMisc
...
Use h/valign instead of x/yalign.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:48:02 -04:00
Matthias Clasen
687eae4b51
GtkAssistant: Drop use of GtkMisc
...
Use halign instead of xalign.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
4d002d5e6a
GtkAccelLabel: Drop use of GtkMisc
...
Just use 0 instead of xpad.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
54d5b426fc
GtkImage: Drop use of GtkMisc::x/yalign
...
Instead, use GtkWidget::h/valign to position the image inside
the allocation. And just stop using GtkMisc::x/ypad.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
b320c198b6
GtkLabel: Drop use of GtkMisc::x/yalign
...
Instead, use GtkWidget::h/valign to position the text inside
the allocation. And just stop using GtkMisc::x/ypad.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:04:41 -04:00
Matthias Clasen
0011c9dae4
Fix filechooser actionbar visibility
...
The actionbar was always visible, even when there is no filter
and no extra widget to show. Now we only show it when there is
something to show.
2014-05-24 00:00:00 -04:00
Matthias Clasen
51a09af076
inspector: Treat resources the same as in gtk/
2014-05-23 23:00:43 -04:00
Matthias Clasen
ef38d6e397
Add two more icon names to check
...
These were found in the trash monitor.
2014-05-23 22:59:22 -04:00
Matthias Clasen
00d02491d8
Drop no-longer-used gtkrc files
...
These were replaced by css files long ago.
2014-05-23 22:00:51 -04:00
Matthias Clasen
45e1128472
Drop a pointless function
...
No need to have a finalize function if it just chains
up to the parent class.
2014-05-23 21:56:44 -04:00
Matthias Clasen
716ecff28d
Trivial: slight code rearrangement
2014-05-23 21:41:58 -04:00
Matthias Clasen
38cbd87cac
tests: Stop using GtkAlignment
...
Fix up all other tests to not use GtkAlignment anymore.
2014-05-23 21:32:51 -04:00
Matthias Clasen
1af417a82d
testadjustsize: Keep using an alignment
...
We are explicitly comparing GtkAlignment with its replacements
here.
2014-05-23 20:42:01 -04:00
Matthias Clasen
e74bb3db2a
gtk-demo: Drop use of GtkAlignment
2014-05-23 20:31:38 -04:00
Matthias Clasen
04703689b8
Deprecate GtkAligment
...
This has been dangling ever since 3.0.
https://bugzilla.gnome.org/show_bug.cgi?id=645781
2014-05-23 20:31:25 -04:00
Matthias Clasen
4928d5e401
Drop an unneeded include
...
There's no GtkGesture in gtkwidget.h anymore. We do need an include
in gtkwidgetprivate.h though.
2014-05-23 20:09:50 -04:00
Evan Nemerson
4a4b23bfad
a11y: build directly into libgtk instead of an internal library
...
https://bugzilla.gnome.org/show_bug.cgi?id=730615
2014-05-23 19:20:59 -04:00
Matthias Clasen
d4771d4a95
More updates
2014-05-23 17:32:14 -04:00
Matthias Clasen
cd1cd40e9a
Some updates
2014-05-23 16:11:48 -04:00
Piotr Drąg
83c1869250
Updated POTFILES.in
2014-05-23 20:48:12 +02:00
Carlos Garnacho
bd35df05a5
Merge branch 'gestures'
2014-05-23 19:58:46 +02:00
Carlos Garnacho
60e15deb83
spinbutton: Avoid touch text handles to pop up
...
Those get in the middle more than help on these widgets, the widget
is already packed with clickable areas and having handles (and their
invisible clickable area around) hovering above don't help, plus the
purpose in most likely numeric values is a bit doubtful.
All touch events are either consumed by the up/down panels, or
the swipe gesture, all GtkEntry handling of touch events on the text
window is avoided, so handles to not appear anymore.
2014-05-23 19:54:33 +02:00
Carlos Garnacho
a4a122c8e8
colorswatch: Set gestures in GTK_PHASE_TARGET
...
That's the right phase for gestures replacing entirely event handlers.
2014-05-23 19:54:33 +02:00
Carlos Garnacho
d59c909663
spinbutton: Use GTK_PHASE_CAPTURE for touch swipes
...
The gesture must be able to catch first events for it to be seen
as recognized in event handlers.
2014-05-23 19:54:33 +02:00
Carlos Garnacho
01d74f86a0
widget: Flip execution order of GTK_PHASE_TARGET/BUBBLE
...
the "bubble" phase used to run before event handlers before GTK_PHASE_TARGET
was added, in order to keep phases in the expected order, move GTK_PHASE_BUBBLE
to be run (still invariably) after event handlers.
The only behavioral change should be wrt widgets wanting mixed event handler/
gesture handling, they could previously attach the gesture to the bubble phase
and check for gtk_gesture_is_active() in the event handler to bail out, they'll
have to use GTK_PHASE_CAPTURE for that purpose from now on.
2014-05-23 19:54:33 +02:00
Carlos Garnacho
ca1510177c
texthandle: Mind the invisible area when moving the handle
...
The handle is still centered horizontally, but the extra vertical
space wasn't taken into account, leading to misplacing the dragging
point (and the handle) during motion events.
2014-05-23 19:54:33 +02:00
Carlos Garnacho
c9f54aef69
textview: Check first whether the sequence is handled, fetch later the event
...
And always unset/hide the selection popover if unhandled, that means the
sequence went grabbed/claimed somewhere else and cancelled here.
2014-05-23 19:54:33 +02:00
Carlos Garnacho
f54277204f
entry: Check first whether the sequence is handled, fetch later the event
...
And always unset/hide the selection popover if unhandled, that means the
sequence went grabbed/claimed somewhere else and cancelled here.
2014-05-23 19:54:33 +02:00
Carlos Garnacho
485da90a2e
gesture: Use GdkEventSequence GType in signals
2014-05-23 19:54:33 +02:00
Carlos Garnacho
7e61216105
gesture: Introspection fixes
...
Set annotations on return values for gtk_gesture_get_device() and
gtk_gesture_get_window().
2014-05-23 19:54:33 +02:00
Carlos Garnacho
03a3b2ccab
eventcontroller: introspection fix
...
Set transfer annotation on gtk_event_controller_get_widget()
2014-05-23 19:54:33 +02:00
Carlos Garnacho
0d4e75f078
gdk: Make GdkEventSequence a boxed type
...
Not much to copy nor free, but this'll make bindings happy
2014-05-23 19:54:33 +02:00
Carlos Garnacho
5fdf07547f
paned: Handle pointer events from touchscreen devices
...
GtkPaned may just capture pointer events because the child widget
doesn't happen to have GDK_TOUCH_MASK set, resort to checking the
device in that case.
2014-05-23 19:54:33 +02:00
Matthias Clasen
0442431943
Docs: Cosmetic fixes
2014-05-23 19:54:33 +02:00
Matthias Clasen
9f3f634c16
docs: Correct a reference
2014-05-23 19:54:33 +02:00
Matthias Clasen
70bccb38c3
Revert "docs: GtkEventController was dropped from public api"
...
This reverts commit eefac03b395a6b885fd61c100b48652200beb996.
2014-05-23 19:54:32 +02:00
Matthias Clasen
c83d3f054b
Revert "docs: More GtkEventController removal"
...
This reverts commit 75f503fb1fc9068c9e1a0d02126c55addbe8eb3e.
2014-05-23 19:54:32 +02:00
Matthias Clasen
ae5f930d1b
Docs: Add information about event propagation
2014-05-23 19:54:32 +02:00
Matthias Clasen
aead8a360b
Docs: Minor changes
2014-05-23 19:54:32 +02:00
Matthias Clasen
729a3a98d9
Document gtk_gesture_set_state
2014-05-23 19:54:32 +02:00
Matthias Clasen
9917b15bd3
docs: gtk_gesture_cancel_sequence was made private
2014-05-23 19:54:32 +02:00
Matthias Clasen
01cd5cf382
docs: More GtkEventController removal
2014-05-23 19:54:32 +02:00
Matthias Clasen
6cc9744558
docs: GtkEventController was dropped from public api
2014-05-23 19:54:32 +02:00
Carlos Garnacho
681164564e
paned: Use GtkGesture to handle handle dragging
...
Dragging is all handled by a GtkGesturePan now, matching the
paned orientation.
On touch events, a wider area is listened for, so touch events
don't need to be as accurate to initiate dragging, if no dragging
is truly initiated in this case, events are just forwarded for
child widgets to handle.
2014-05-23 19:54:32 +02:00
Carlos Garnacho
8f20780fb9
switch: Use GtkGesture to handle input events
...
A pan gesture is used to handle switch dragging, which is only triggered
by horizontal panning movements. A multipress gesture handles the cases
where clicking without dragging happens, just toggling the switch.
2014-05-23 19:54:32 +02:00