[gtkmm] Gdk: Regenerate gdk_docs.xml and .defs files
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gdk: Regenerate gdk_docs.xml and .defs files
- Date: Fri, 6 Oct 2017 16:42:49 +0000 (UTC)
commit 05eda75f9c8e0390820cdf194c25faee65611041
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Fri Oct 6 18:30:26 2017 +0200
Gdk: Regenerate gdk_docs.xml and .defs files
gdk/src/gdk_docs.xml | 557 +++++++++++++++++++++++++++++++++++++++------
gdk/src/gdk_enums.defs | 44 ++--
gdk/src/gdk_methods.defs | 503 +++++++++++++++++++++---------------------
3 files changed, 756 insertions(+), 348 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 187b04b..91b749f 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -1317,14 +1317,6 @@ above.
See the [input handling overview][chap-input-handling] for details of
[event masks][event-masks] and [event propagation][event-propagation].
-%GDK_POINTER_MOTION_HINT_MASK is deprecated. It is a special mask
-to reduce the number of %GDK_MOTION_NOTIFY events received. When using
-%GDK_POINTER_MOTION_HINT_MASK, fewer %GDK_MOTION_NOTIFY events will
-be sent, some of which are marked as a hint (the is_hint member is
-%TRUE). To receive more motion events after a motion hint event,
-the application needs to asks for more, by calling
-gdk_event_request_motions().
-
Since GTK 3.8, motion events are already compressed by default, independent
of this mechanism. This compression can be disabled with
gdk_window_set_event_compression(). See the documentation of that function
@@ -1347,10 +1339,6 @@ events, so different sequences may be distinguished.
<parameter_description> receive all pointer motion events
</parameter_description>
</parameter>
-<parameter name="GDK_POINTER_MOTION_HINT_MASK">
-<parameter_description> deprecated. see the explanation above
-</parameter_description>
-</parameter>
<parameter name="GDK_BUTTON_MOTION_MASK">
<parameter_description> receive pointer motion events while any button is pressed
</parameter_description>
@@ -1452,13 +1440,6 @@ Do not confuse these events with the signals that GTK+ widgets emit.
Although many of these events result in corresponding signals being emitted,
the events are often transformed or filtered along the way.
-In some language bindings, the values %GDK_2BUTTON_PRESS and
-%GDK_3BUTTON_PRESS would translate into something syntactically
-invalid (eg `Gdk.EventType.2ButtonPress`, where a
-symbol is not allowed to start with a number). In that case, the
-aliases %GDK_DOUBLE_BUTTON_PRESS and %GDK_TRIPLE_BUTTON_PRESS can
-be used instead.
-
</description>
<parameters>
<parameter name="GDK_NOTHING">
@@ -1488,25 +1469,6 @@ redrawn.
<parameter_description> a mouse button has been pressed.
</parameter_description>
</parameter>
-<parameter name="GDK_2BUTTON_PRESS">
-<parameter_description> a mouse button has been double-clicked (clicked twice
-within a short period of time). Note that each click also generates a
-%GDK_BUTTON_PRESS event.
-</parameter_description>
-</parameter>
-<parameter name="GDK_DOUBLE_BUTTON_PRESS">
-<parameter_description> alias for %GDK_2BUTTON_PRESS, added in 3.6.
-</parameter_description>
-</parameter>
-<parameter name="GDK_3BUTTON_PRESS">
-<parameter_description> a mouse button has been clicked 3 times in a short period
-of time. Note that each click also generates a %GDK_BUTTON_PRESS event.
-</parameter_description>
-</parameter>
-<parameter name="GDK_TRIPLE_BUTTON_PRESS">
-<parameter_description> alias for %GDK_3BUTTON_PRESS, added in 3.6.
-</parameter_description>
-</parameter>
<parameter name="GDK_BUTTON_RELEASE">
<parameter_description> a mouse button has been released.
</parameter_description>
@@ -3577,7 +3539,40 @@ decorations.
</parameter_description>
</parameter>
<parameter name="GDK_WINDOW_STATE_TILED">
-<parameter_description> the window is in a tiled state, Since 3.10
+<parameter_description> the window is in a tiled state, Since 3.10. Since 3.91.2, this
+is deprecated in favor of per-edge information.
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_TOP_TILED">
+<parameter_description> whether the top edge is tiled, Since 3.91.2
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_TOP_RESIZABLE">
+<parameter_description> whether the top edge is resizable, Since 3.91.2
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_RIGHT_TILED">
+<parameter_description> whether the right edge is tiled, Since 3.91.2
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_RIGHT_RESIZABLE">
+<parameter_description> whether the right edge is resizable, Since 3.91.2
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_BOTTOM_TILED">
+<parameter_description> whether the bottom edge is tiled, Since 3.91.2
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_BOTTOM_RESIZABLE">
+<parameter_description> whether the bottom edge is resizable, Since 3.91.2
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_LEFT_TILED">
+<parameter_description> whether the left edge is tiled, Since 3.91.2
+</parameter_description>
+</parameter>
+<parameter name="GDK_WINDOW_STATE_LEFT_RESIZABLE">
+<parameter_description> whether the left edge is resizable, Since 3.91.2
</parameter_description>
</parameter>
</parameters>
@@ -6293,8 +6288,7 @@ be sent.
<function name="gdk_display_set_double_click_distance">
<description>
Sets the double click distance (two clicks within this distance
-count as a double click and result in a #GDK_2BUTTON_PRESS event).
-See also gdk_display_set_double_click_time().
+count as a double click). See also gdk_display_set_double_click_time().
Applications should not set this, it is a global
user-configured setting.
@@ -6317,8 +6311,7 @@ Since: 2.4
<function name="gdk_display_set_double_click_time">
<description>
Sets the double click time (two clicks within this time interval
-count as a double click and result in a #GDK_2BUTTON_PRESS event).
-Applications should not set this, it is a global
+count as a double click). Applications should not set this, it is a global
user-configured setting.
Since: 2.2
@@ -7403,6 +7396,28 @@ with gdk_event_free().
</return>
</function>
+<function name="gdk_event_get_axes">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="axes">
+<parameter_description> the array of values for all axes
+</parameter_description>
+</parameter>
+<parameter name="n_axes">
+<parameter_description> the length of array
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_axis">
<description>
Extract the axis value for a particular axis use from
@@ -7496,6 +7511,42 @@ Extract the event window relative x/y coordinates from an event.
</return>
</function>
+<function name="gdk_event_get_crossing_detail">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="detail">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_crossing_mode">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="mode">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_device">
<description>
If the event contains a “device” field, this function will return
@@ -7540,6 +7591,24 @@ Since: 3.22
</return>
</function>
+<function name="gdk_event_get_drag_context">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="context">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_event_sequence">
<description>
If @event if of type %GDK_TOUCH_BEGIN, %GDK_TOUCH_UPDATE,
@@ -7578,6 +7647,78 @@ Since: 3.10
</return>
</function>
+<function name="gdk_event_get_focus_in">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="focus_in">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_grab_window">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="window">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_key_group">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="group">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_key_is_modifier">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="is_modifier">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_keycode">
<description>
Extracts the hardware keycode from an event.
@@ -7624,6 +7765,68 @@ Since: 3.2
</return>
</function>
+<function name="gdk_event_get_pad_axis_value">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="index">
+<parameter_description>
+</parameter_description>
+</parameter>
+<parameter name="value">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_pad_button">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="button">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_pad_group_mode">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="group">
+<parameter_description>
+</parameter_description>
+</parameter>
+<parameter name="mode">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_pointer_emulated">
<description>
#event: a #GdkEvent
@@ -7638,6 +7841,28 @@ Since: 3.22
</return>
</function>
+<function name="gdk_event_get_property">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="property">
+<parameter_description>
+</parameter_description>
+</parameter>
+<parameter name="state">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_root_coords">
<description>
Extract the root window relative x/y coordinates from an event.
@@ -7774,6 +7999,68 @@ Since: 3.20
</return>
</function>
+<function name="gdk_event_get_selection">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="selection">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_selection_property">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="property">
+<parameter_description>
+</parameter_description>
+</parameter>
+<parameter name="target">
+<parameter_description>
+</parameter_description>
+</parameter>
+<parameter name="requestor">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_setting">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="setting">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_source_device">
<description>
This function returns the hardware (slave) #GdkDevice that has
@@ -7823,6 +8110,24 @@ as if the event had no state field.
</return>
</function>
+<function name="gdk_event_get_string">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="string">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_time">
<description>
Returns the time stamp from @event, if there is one; otherwise
@@ -7840,6 +8145,118 @@ returns #GDK_CURRENT_TIME. If @event is %NULL, returns #GDK_CURRENT_TIME.
</return>
</function>
+<function name="gdk_event_get_touch_emulating_pointer">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="emulating">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_touchpad_angle_delta">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="delta">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_touchpad_deltas">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="dx">
+<parameter_description>
+</parameter_description>
+</parameter>
+<parameter name="dy">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_touchpad_gesture_n_fingers">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="n_fingers">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_touchpad_gesture_phase">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="phase">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
+<function name="gdk_event_get_touchpad_scale">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="scale">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_get_window">
<description>
Extracts the #GdkWindow associated with an event.
@@ -7858,6 +8275,28 @@ Since: 3.10
</return>
</function>
+<function name="gdk_event_get_window_state">
+<description>
+
+</description>
+<parameters>
+<parameter name="event">
+<parameter_description> a #GdkEvent
+</parameter_description>
+</parameter>
+<parameter name="changed">
+<parameter_description>
+</parameter_description>
+</parameter>
+<parameter name="new_state">
+<parameter_description>
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE on success, otherwise %FALSE
+</return>
+</function>
+
<function name="gdk_event_handler_set">
<description>
Sets the function to call to handle all events from GDK.
@@ -7960,38 +8399,6 @@ queue if event->any.window is %NULL. See gdk_display_put_event().
<return></return>
</function>
-<function name="gdk_event_request_motions">
-<description>
-Request more motion notifies if @event is a motion notify hint event.
-
-This function should be used instead of gdk_window_get_pointer() to
-request further motion notifies, because it also works for extension
-events where motion notifies are provided for devices other than the
-core pointer. Coordinate extraction, processing and requesting more
-motion events from a %GDK_MOTION_NOTIFY event usually works like this:
-
-|[<!-- language="C" -->
-{
-// motion_event handler
-x = motion_event->x;
-y = motion_event->y;
-// handle (x,y) motion
-gdk_event_request_motions (motion_event); // handles is_hint events
-}
-]|
-
-Since: 2.12
-
-</description>
-<parameters>
-<parameter name="event">
-<parameter_description> a valid #GdkEvent
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
<function name="gdk_event_set_device">
<description>
Sets the device for @event to @device. The event must
diff --git a/gdk/src/gdk_enums.defs b/gdk/src/gdk_enums.defs
index 1cf3b96..bc188d6 100644
--- a/gdk/src/gdk_enums.defs
+++ b/gdk/src/gdk_enums.defs
@@ -388,10 +388,6 @@
;; GDK_EXPOSE = 2,
;; GDK_MOTION_NOTIFY = 3,
;; GDK_BUTTON_PRESS = 4,
-;; GDK_2BUTTON_PRESS = 5,
-;; GDK_DOUBLE_BUTTON_PRESS = GDK_2BUTTON_PRESS,
-;; GDK_3BUTTON_PRESS = 6,
-;; GDK_TRIPLE_BUTTON_PRESS = GDK_3BUTTON_PRESS,
;; GDK_BUTTON_RELEASE = 7,
;; GDK_KEY_PRESS = 8,
;; GDK_KEY_RELEASE = 9,
@@ -445,10 +441,6 @@
'("expose" "GDK_EXPOSE" "2")
'("motion-notify" "GDK_MOTION_NOTIFY" "3")
'("button-press" "GDK_BUTTON_PRESS" "4")
- '("2button-press" "GDK_2BUTTON_PRESS" "5")
- '("double-button-press" "GDK_DOUBLE_BUTTON_PRESS" "5")
- '("3button-press" "GDK_3BUTTON_PRESS" "6")
- '("triple-button-press" "GDK_TRIPLE_BUTTON_PRESS" "6")
'("button-release" "GDK_BUTTON_RELEASE" "7")
'("key-press" "GDK_KEY_PRESS" "8")
'("key-release" "GDK_KEY_RELEASE" "9")
@@ -626,15 +618,23 @@
;; Original typedef:
;; typedef enum
;; {
-;; GDK_WINDOW_STATE_WITHDRAWN = 1 << 0,
-;; GDK_WINDOW_STATE_ICONIFIED = 1 << 1,
-;; GDK_WINDOW_STATE_MAXIMIZED = 1 << 2,
-;; GDK_WINDOW_STATE_STICKY = 1 << 3,
-;; GDK_WINDOW_STATE_FULLSCREEN = 1 << 4,
-;; GDK_WINDOW_STATE_ABOVE = 1 << 5,
-;; GDK_WINDOW_STATE_BELOW = 1 << 6,
-;; GDK_WINDOW_STATE_FOCUSED = 1 << 7,
-;; GDK_WINDOW_STATE_TILED = 1 << 8
+;; GDK_WINDOW_STATE_WITHDRAWN = 1 << 0,
+;; GDK_WINDOW_STATE_ICONIFIED = 1 << 1,
+;; GDK_WINDOW_STATE_MAXIMIZED = 1 << 2,
+;; GDK_WINDOW_STATE_STICKY = 1 << 3,
+;; GDK_WINDOW_STATE_FULLSCREEN = 1 << 4,
+;; GDK_WINDOW_STATE_ABOVE = 1 << 5,
+;; GDK_WINDOW_STATE_BELOW = 1 << 6,
+;; GDK_WINDOW_STATE_FOCUSED = 1 << 7,
+;; GDK_WINDOW_STATE_TILED = 1 << 8,
+;; GDK_WINDOW_STATE_TOP_TILED = 1 << 9,
+;; GDK_WINDOW_STATE_TOP_RESIZABLE = 1 << 10,
+;; GDK_WINDOW_STATE_RIGHT_TILED = 1 << 11,
+;; GDK_WINDOW_STATE_RIGHT_RESIZABLE = 1 << 12,
+;; GDK_WINDOW_STATE_BOTTOM_TILED = 1 << 13,
+;; GDK_WINDOW_STATE_BOTTOM_RESIZABLE = 1 << 14,
+;; GDK_WINDOW_STATE_LEFT_TILED = 1 << 15,
+;; GDK_WINDOW_STATE_LEFT_RESIZABLE = 1 << 16
;; } GdkWindowState;
(define-flags-extended WindowState
@@ -650,6 +650,14 @@
'("below" "GDK_WINDOW_STATE_BELOW" "1 << 6")
'("focused" "GDK_WINDOW_STATE_FOCUSED" "1 << 7")
'("tiled" "GDK_WINDOW_STATE_TILED" "1 << 8")
+ '("top-tiled" "GDK_WINDOW_STATE_TOP_TILED" "1 << 9")
+ '("top-resizable" "GDK_WINDOW_STATE_TOP_RESIZABLE" "1 << 10")
+ '("right-tiled" "GDK_WINDOW_STATE_RIGHT_TILED" "1 << 11")
+ '("right-resizable" "GDK_WINDOW_STATE_RIGHT_RESIZABLE" "1 << 12")
+ '("bottom-tiled" "GDK_WINDOW_STATE_BOTTOM_TILED" "1 << 13")
+ '("bottom-resizable" "GDK_WINDOW_STATE_BOTTOM_RESIZABLE" "1 << 14")
+ '("left-tiled" "GDK_WINDOW_STATE_LEFT_TILED" "1 << 15")
+ '("left-resizable" "GDK_WINDOW_STATE_LEFT_RESIZABLE" "1 << 16")
)
)
@@ -990,7 +998,6 @@
;; {
;; GDK_EXPOSURE_MASK = 1 << 1,
;; GDK_POINTER_MOTION_MASK = 1 << 2,
-;; GDK_POINTER_MOTION_HINT_MASK = 1 << 3,
;; GDK_BUTTON_MOTION_MASK = 1 << 4,
;; GDK_BUTTON1_MOTION_MASK = 1 << 5,
;; GDK_BUTTON2_MOTION_MASK = 1 << 6,
@@ -1022,7 +1029,6 @@
(values
'("exposure-mask" "GDK_EXPOSURE_MASK" "1 << 1")
'("pointer-motion-mask" "GDK_POINTER_MOTION_MASK" "1 << 2")
- '("pointer-motion-hint-mask" "GDK_POINTER_MOTION_HINT_MASK" "1 << 3")
'("button-motion-mask" "GDK_BUTTON_MOTION_MASK" "1 << 4")
'("button1-motion-mask" "GDK_BUTTON1_MOTION_MASK" "1 << 5")
'("button2-motion-mask" "GDK_BUTTON2_MOTION_MASK" "1 << 6")
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index abf1577..95aed2f 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -145,10 +145,6 @@
'("expose" "GDK_EXPOSE")
'("motion-notify" "GDK_MOTION_NOTIFY")
'("button-press" "GDK_BUTTON_PRESS")
- '("2button-press" "GDK_2BUTTON_PRESS")
- '("double-button-press" "GDK_DOUBLE_BUTTON_PRESS")
- '("3button-press" "GDK_3BUTTON_PRESS")
- '("triple-button-press" "GDK_TRIPLE_BUTTON_PRESS")
'("button-release" "GDK_BUTTON_RELEASE")
'("key-press" "GDK_KEY_PRESS")
'("key-release" "GDK_KEY_RELEASE")
@@ -284,6 +280,14 @@
'("below" "GDK_WINDOW_STATE_BELOW")
'("focused" "GDK_WINDOW_STATE_FOCUSED")
'("tiled" "GDK_WINDOW_STATE_TILED")
+ '("top-tiled" "GDK_WINDOW_STATE_TOP_TILED")
+ '("top-resizable" "GDK_WINDOW_STATE_TOP_RESIZABLE")
+ '("right-tiled" "GDK_WINDOW_STATE_RIGHT_TILED")
+ '("right-resizable" "GDK_WINDOW_STATE_RIGHT_RESIZABLE")
+ '("bottom-tiled" "GDK_WINDOW_STATE_BOTTOM_TILED")
+ '("bottom-resizable" "GDK_WINDOW_STATE_BOTTOM_RESIZABLE")
+ '("left-tiled" "GDK_WINDOW_STATE_LEFT_TILED")
+ '("left-resizable" "GDK_WINDOW_STATE_LEFT_RESIZABLE")
)
)
@@ -475,7 +479,6 @@
(values
'("exposure-mask" "GDK_EXPOSURE_MASK")
'("pointer-motion-mask" "GDK_POINTER_MOTION_MASK")
- '("pointer-motion-hint-mask" "GDK_POINTER_MOTION_HINT_MASK")
'("button-motion-mask" "GDK_BUTTON_MOTION_MASK")
'("button1-motion-mask" "GDK_BUTTON1_MOTION_MASK")
'("button2-motion-mask" "GDK_BUTTON2_MOTION_MASK")
@@ -877,10 +880,6 @@
-;; From gdkconfig.h
-
-
-
;; From gdkcursor.h
(define-function gdk_cursor_get_type
@@ -1949,235 +1948,6 @@
-;; From gdkenumtypes.h
-
-(define-function gdk_cursor_type_get_type
- (c-name "gdk_cursor_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_input_source_get_type
- (c-name "gdk_input_source_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_input_mode_get_type
- (c-name "gdk_input_mode_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_device_type_get_type
- (c-name "gdk_device_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_device_pad_feature_get_type
- (c-name "gdk_device_pad_feature_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_device_tool_type_get_type
- (c-name "gdk_device_tool_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_drag_action_get_type
- (c-name "gdk_drag_action_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_drag_cancel_reason_get_type
- (c-name "gdk_drag_cancel_reason_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_drag_protocol_get_type
- (c-name "gdk_drag_protocol_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_filter_return_get_type
- (c-name "gdk_filter_return_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_event_type_get_type
- (c-name "gdk_event_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_visibility_state_get_type
- (c-name "gdk_visibility_state_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_touchpad_gesture_phase_get_type
- (c-name "gdk_touchpad_gesture_phase_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_scroll_direction_get_type
- (c-name "gdk_scroll_direction_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_notify_type_get_type
- (c-name "gdk_notify_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_crossing_mode_get_type
- (c-name "gdk_crossing_mode_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_property_state_get_type
- (c-name "gdk_property_state_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_state_get_type
- (c-name "gdk_window_state_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_setting_action_get_type
- (c-name "gdk_setting_action_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_owner_change_get_type
- (c-name "gdk_owner_change_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_subpixel_layout_get_type
- (c-name "gdk_subpixel_layout_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_frame_clock_phase_get_type
- (c-name "gdk_frame_clock_phase_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_prop_mode_get_type
- (c-name "gdk_prop_mode_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_seat_capabilities_get_type
- (c-name "gdk_seat_capabilities_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_byte_order_get_type
- (c-name "gdk_byte_order_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_modifier_type_get_type
- (c-name "gdk_modifier_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_modifier_intent_get_type
- (c-name "gdk_modifier_intent_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_status_get_type
- (c-name "gdk_status_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_grab_status_get_type
- (c-name "gdk_grab_status_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_grab_ownership_get_type
- (c-name "gdk_grab_ownership_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_event_mask_get_type
- (c-name "gdk_event_mask_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_gl_error_get_type
- (c-name "gdk_gl_error_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_vulkan_error_get_type
- (c-name "gdk_vulkan_error_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_type_hint_get_type
- (c-name "gdk_window_type_hint_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_axis_use_get_type
- (c-name "gdk_axis_use_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_axis_flags_get_type
- (c-name "gdk_axis_flags_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_visual_type_get_type
- (c-name "gdk_visual_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_type_get_type
- (c-name "gdk_window_type_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_hints_get_type
- (c-name "gdk_window_hints_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_wm_decoration_get_type
- (c-name "gdk_wm_decoration_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_wm_function_get_type
- (c-name "gdk_wm_function_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_gravity_get_type
- (c-name "gdk_gravity_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_anchor_hints_get_type
- (c-name "gdk_anchor_hints_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_window_edge_get_type
- (c-name "gdk_window_edge_get_type")
- (return-type "GType")
-)
-
-(define-function gdk_fullscreen_mode_get_type
- (c-name "gdk_fullscreen_mode_get_type")
- (return-type "GType")
-)
-
-
-
;; From gdkevents.h
(define-function gdk_event_get_type
@@ -2310,6 +2080,15 @@
)
)
+(define-method set_keyval
+ (of-object "GdkEvent")
+ (c-name "gdk_event_set_keyval")
+ (return-type "none")
+ (parameters
+ '("guint" "keyval")
+ )
+)
+
(define-method get_keycode
(of-object "GdkEvent")
(c-name "gdk_event_get_keycode")
@@ -2319,6 +2098,33 @@
)
)
+(define-method get_key_is_modifier
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_key_is_modifier")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean*" "is_modifier")
+ )
+)
+
+(define-method get_key_group
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_key_group")
+ (return-type "gboolean")
+ (parameters
+ '("guint*" "group")
+ )
+)
+
+(define-method get_string
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_string")
+ (return-type "gboolean")
+ (parameters
+ '("const-char**" "string")
+ )
+)
+
(define-method get_scroll_direction
(of-object "GdkEvent")
(c-name "gdk_event_get_scroll_direction")
@@ -2530,6 +2336,211 @@
)
)
+(define-method get_setting
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_setting")
+ (return-type "gboolean")
+ (parameters
+ '("const-char**" "setting")
+ )
+)
+
+(define-method is_sent
+ (of-object "GdkEvent")
+ (c-name "gdk_event_is_sent")
+ (return-type "gboolean")
+)
+
+(define-method get_drag_context
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_drag_context")
+ (return-type "gboolean")
+ (parameters
+ '("GdkDragContext**" "context")
+ )
+)
+
+(define-method get_crossing_mode
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_crossing_mode")
+ (return-type "gboolean")
+ (parameters
+ '("GdkCrossingMode*" "mode")
+ )
+)
+
+(define-method get_crossing_detail
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_crossing_detail")
+ (return-type "gboolean")
+ (parameters
+ '("GdkNotifyType*" "detail")
+ )
+)
+
+(define-method get_touchpad_gesture_phase
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_touchpad_gesture_phase")
+ (return-type "gboolean")
+ (parameters
+ '("GdkTouchpadGesturePhase*" "phase")
+ )
+)
+
+(define-method get_touchpad_gesture_n_fingers
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_touchpad_gesture_n_fingers")
+ (return-type "gboolean")
+ (parameters
+ '("guint*" "n_fingers")
+ )
+)
+
+(define-method get_touchpad_deltas
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_touchpad_deltas")
+ (return-type "gboolean")
+ (parameters
+ '("double*" "dx")
+ '("double*" "dy")
+ )
+)
+
+(define-method get_touchpad_angle_delta
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_touchpad_angle_delta")
+ (return-type "gboolean")
+ (parameters
+ '("double*" "delta")
+ )
+)
+
+(define-method get_touchpad_scale
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_touchpad_scale")
+ (return-type "gboolean")
+ (parameters
+ '("double*" "scale")
+ )
+)
+
+(define-method get_touch_emulating_pointer
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_touch_emulating_pointer")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean*" "emulating")
+ )
+)
+
+(define-method get_grab_window
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_grab_window")
+ (return-type "gboolean")
+ (parameters
+ '("GdkWindow**" "window")
+ )
+)
+
+(define-method get_window_state
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_window_state")
+ (return-type "gboolean")
+ (parameters
+ '("GdkWindowState*" "changed")
+ '("GdkWindowState*" "new_state")
+ )
+)
+
+(define-method get_focus_in
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_focus_in")
+ (return-type "gboolean")
+ (parameters
+ '("gboolean*" "focus_in")
+ )
+)
+
+(define-method get_pad_group_mode
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_pad_group_mode")
+ (return-type "gboolean")
+ (parameters
+ '("guint*" "group")
+ '("guint*" "mode")
+ )
+)
+
+(define-method get_pad_button
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_pad_button")
+ (return-type "gboolean")
+ (parameters
+ '("guint*" "button")
+ )
+)
+
+(define-method get_pad_axis_value
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_pad_axis_value")
+ (return-type "gboolean")
+ (parameters
+ '("guint*" "index")
+ '("gdouble*" "value")
+ )
+)
+
+(define-method get_property
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_property")
+ (return-type "gboolean")
+ (parameters
+ '("GdkAtom*" "property")
+ '("GdkPropertyState*" "state")
+ )
+)
+
+(define-method get_selection
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_selection")
+ (return-type "gboolean")
+ (parameters
+ '("GdkAtom*" "selection")
+ )
+)
+
+(define-method get_selection_property
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_selection_property")
+ (return-type "gboolean")
+ (parameters
+ '("GdkAtom*" "property")
+ '("GdkAtom*" "target")
+ '("GdkWindow**" "requestor")
+ )
+)
+
+(define-method set_selection
+ (of-object "GdkEvent")
+ (c-name "gdk_event_set_selection")
+ (return-type "none")
+ (parameters
+ '("GdkWindow*" "window")
+ '("GdkAtom" "selection")
+ '("guint32" "time")
+ )
+)
+
+(define-method get_axes
+ (of-object "GdkEvent")
+ (c-name "gdk_event_get_axes")
+ (return-type "gboolean")
+ (parameters
+ '("gdouble**" "axes")
+ '("guint*" "n_axes")
+ )
+)
+
;; From gdkframeclock.h
@@ -3115,10 +3126,6 @@
-;; From gdkmarshalers.h
-
-
-
;; From gdkmonitor.h
(define-function gdk_monitor_get_type
@@ -3401,10 +3408,6 @@
-;; From gdkresources.h
-
-
-
;; From gdkrgba.h
(define-function gdk_rgba_get_type
@@ -3762,10 +3765,6 @@
-;; From gdkversionmacros.h
-
-
-
;; From gdkvisual.h
(define-function gdk_visual_get_type
@@ -5072,10 +5071,6 @@
-;; From stamp-gdkenumtypes.h
-
-
-
;; From gdkconfig.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]