summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.h
Commit message (Collapse)AuthorAgeFilesLines
* wayland: add gdk_event_is_scroll_stop_event()Peter Hutterer2016-01-181-0/+4
| | | | | | | | | | And use it to handle kinetic scrolling in the GtkScrolledWindow. However, dropping the delta check causes the X11-based kinetic scroll to break since we don't have the stop event here. Correct handling of xf86-input-libinput-based scroll events is still being discussed. https://bugzilla.gnome.org/show_bug.cgi?id=756729
* GdkEvent: Add GdkSeat getter and internal setterCarlos Garnacho2015-12-151-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=759309
* gdk: Add touchpad gesture events and event types.Carlos Garnacho2015-08-121-0/+127
| | | | | | | | Each gesture type has its separate GdkEvent struct, and begin/update/ end/cancel event types. There is support for multi-finger swipe (3-4 fingers), and 2-finger rotate/pinch gestures.
* Drop GDK_MULTIHEAD_SAFEMatthias Clasen2014-06-111-4/+0
| | | | | We don't support multiple screens anymore, so there is no need for marking API as multihead safe any longer.
* gdk: Make GdkEventSequence a boxed typeCarlos Garnacho2014-05-231-0/+4
| | | | Not much to copy nor free, but this'll make bindings happy
* Deprecate GdkColorMatthias Clasen2014-05-221-1/+0
| | | | | It has been replaced by GdkRGBA. Time to make it official. http://bugzilla.gnome.org/show_bug.cgi?id=636695
* gdk: assorted introspection and documentation fixesEvan Nemerson2014-05-191-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=729983
* Deprecate GdkEventVisibility and ::visibility-notify-eventMatthias Clasen2014-03-031-0/+5
| | | | | | These don't really work anymore in a composited world. Lets make it official. https://bugzilla.gnome.org/show_bug.cgi?id=481073
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-1/+1
|
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-1/+1
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-2/+2
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: Use markup for linksWilliam Jon McCann2014-02-071-2/+2
|
* docs: use markdown instead of <note>William Jon McCann2014-02-061-6/+2
|
* Use proper quotes in gdkWilliam Jon McCann2014-02-051-1/+1
|
* docs: don't use <orderedlist>William Jon McCann2014-02-041-17/+16
|
* docs: use ` instead of <literal>William Jon McCann2014-02-041-3/+3
|
* docs: use markdown instead of <filename> tagsWilliam Jon McCann2014-02-041-1/+1
|
* docs: Identify examples that are C codeWilliam Jon McCann2014-01-291-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-12/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: don't use <type> tagsWilliam Jon McCann2014-01-281-3/+3
| | | | Use # syntax where appropriate.
* docs: use () instead of <function> tagsWilliam Jon McCann2014-01-271-37/+19
|
* docs: use #*-struct instead of <structname>William Jon McCann2014-01-271-5/+5
|
* docs: remove reference to nonexistant apiWilliam Jon McCann2014-01-201-2/+1
| | | | | Refers to an uncommitted part of https://bugzilla.gnome.org/show_bug.cgi?id=696001
* docs: fix typo in GDK_WINDOW_STATE_TILEDWilliam Jon McCann2014-01-201-1/+1
|
* docs: add missing scroll delta fieldsWilliam Jon McCann2014-01-201-0/+2
|
* docs: add missing GdkEvent field namesWilliam Jon McCann2014-01-201-0/+20
|
* gdkevents.h: Mention _get_source_device()Bastien Nocera2013-10-151-5/+10
| | | | | | | It's too easy getting bitten by the ->device red herring, thinking that it's the original input device the event originated from. https://bugzilla.gnome.org/show_bug.cgi?id=709621
* gdk: event: add get_window() methodLionel Landwerlin2013-09-101-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=707844
* Add a function to get the event typeMatthias Clasen2013-08-131-2/+5
| | | | | | | This is useful for language bindings, who can't easily access the struct field directly. https://bugzilla.gnome.org/show_bug.cgi?id=700029
* gdkevents.h: fix documentation typoClaudio Saavedra2013-06-031-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=701463
* Add a tiled window stateMatthias Clasen2013-05-271-1/+4
| | | | | | This information is needed to draw client-side decorations properly in this state. https://bugzilla.gnome.org/show_bug.cgi?id=696001
* Add GDK_AVAILABLE_IN_ALL annotations in gdkMatthias Clasen2013-05-051-0/+27
| | | | | This is in preparation to modernizing our handing of exported symbols.
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* gdk: add a missing annotation to GdkEventPropertyTorsten Schönfeld2012-06-101-2/+2
| | | | | | Its 'state' field is of type GdkPropertyState. https://bugzilla.gnome.org/show_bug.cgi?id=677775
* Add since annotations to some enum valuesMatthias Clasen2012-05-191-1/+1
| | | | | | | The things related to touch and smooth scrolling were 3.4 additions, so mark them as such. https://bugzilla.gnome.org/show_bug.cgi?id=676329
* gdk: add bindings-friendly alias for GDK_EVENT_2BUTTON_PRESSDan Winship2012-05-031-0/+11
| | | | | | | | | GDK_EVENT_2BUTTON_PRESS and GDK_EVENT_3BUTTON_PRESS can't be used from some bindings because they'd translate to something syntactically invalid. Add GDK_EVENT_DOUBLE_BUTTON_PRESS and GDK_EVENT_TRIPLE_BUTTON_PRESS aliases to work around that. https://bugzilla.gnome.org/show_bug.cgi?id=671025
* Add some more documentation about GDK_SCROLL_SMOOTH3.5.1Matthias Clasen2012-04-301-1/+7
|
* gdk: Add delta_x/y to scroll eventsMichael Natterer2012-03-011-0/+7
| | | | | gdk_event_get_scroll_deltas() can be used to retrieve those values on smooth scroll events.
* gdk: Add GDK_SCROLL_SMOOTH to GdkScrollDirectionCarlos Garnacho2012-03-011-1/+4
| | | | | This value will be used for smooth scroll events, as they'll express the scrolling direction in terms of dx/dy.
* gdk: Generate crossing events around touch devices' press/releaseCarlos Garnacho2012-03-011-1/+11
| | | | | | | | | | | | | Anytime a touch device interacts, the crossing events generation will change to a touch mode where only events with mode GDK_CROSSING_TOUCH_BEGIN/END are handled, and those are sent around touch begin/end. Those are virtual as the master device may still stay on the window. Whenever there is a switch of slave device (the user starts using another non-touch device), a crossing event with mode GDK_CROSSING_DEVICE_SWITCH may generated if needed, and the normal crossing event handling is resumed.
* gdk: Add touch event types and maskCarlos Garnacho2012-03-011-1/+66
| | | | | | | This commit introduces GDK_TOUCH_BEGIN/UPDATE/END/CANCEL and a separate GdkEventTouch struct that they use. This is closer to the touch event API of other platforms and matches the xi2 events closely, too.
* gdk: Add GdkEventSequenceCarlos Garnacho2012-03-011-0/+5
| | | | | GdkEventSequence is an opaque pointer type that is used to identify sequences of touch events that belong together.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gdk: Use versioned deprecationsMatthias Clasen2012-02-271-0/+7
| | | | | | | This patch changes all uses of GDK_DEPRECATED(_FOR) in gdk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
* gdk: Add macros for left, middle and right buttonsCarlos Garcia Campos2012-01-271-0/+31
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668688
* Add symbolic constants for event emission controlEmmanuele Bassi2012-01-031-0/+19
| | | | | | | | | | | Similar to https://bugzilla.gnome.org/show_bug.cgi?id=631413 in GLib, GTK+ should have symbolic constants for controlling the event handling instead of a mere boolean value. The GDK_EVENT_PROPAGATE and GDK_EVENT_STOP constants map to FALSE and TRUE respectively. https://bugzilla.gnome.org/show_bug.cgi?id=631414
* gdk: Add GDK_WINDOW_STATE_FOCUSED to GdkWindowStateRui Matos2011-11-081-1/+3
| | | | | | | | | | This state means that the toplevel window is presented as focused to the user, i.e with active decorations under an X11 window manager. If the GDK backend doesn't implement this flag, it will just remain set after mapping the window. https://bugzilla.gnome.org/show_bug.cgi?id=661428
* Bug 659406 - Abstract what triggers a context menuMichael Natterer2011-09-271-1/+2
| | | | | | Add gdk_event_triggers_context_menu(), using the new modifier abstraction API. Remove _gtk_button_event_triggers_context_menu() and port all callers.
* API: add accessors for GdkEvent fieldsCosimo Cecchi2011-08-281-3/+13
| | | | | | | Add accessors for the following fields: button, keyval, keycode, scroll direction, click count. https://bugzilla.gnome.org/show_bug.cgi?id=657384
* API: gdk: Make GdkEventSelection.requestor a GdkWindowBenjamin Otte2011-02-011-2/+2
| | | | | instead of a GdkNativeWindow. Also change gdk_selection_notify() API to take a GdkWindow to match this change.