Improve PointerHint docs. Explain is_hint field in GdkEventMotion.
2003-08-28 Matthias Clasen <maclas@gmx.de> * gdk/tmpl/events.sgml: Improve PointerHint docs. * gdk/tmpl/event_structs.sgml: Explain is_hint field in GdkEventMotion. (#120542) * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup fix in the docs.
This commit is contained in:
committed by
Matthias Clasen
parent
cbc20c4dde
commit
ce940e61a5
@@ -1,5 +1,8 @@
|
||||
2003-08-28 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
|
||||
fix in the docs.
|
||||
|
||||
* gtk/gtkuimanager.c: Change the XML format:
|
||||
<Root> element is replaced by <ui>,
|
||||
<menu> element is replaced by <menubar>,
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
2003-08-28 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
|
||||
fix in the docs.
|
||||
|
||||
* gtk/gtkuimanager.c: Change the XML format:
|
||||
<Root> element is replaced by <ui>,
|
||||
<menu> element is replaced by <menubar>,
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
2003-08-28 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
|
||||
fix in the docs.
|
||||
|
||||
* gtk/gtkuimanager.c: Change the XML format:
|
||||
<Root> element is replaced by <ui>,
|
||||
<menu> element is replaced by <menubar>,
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
2003-08-28 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
|
||||
fix in the docs.
|
||||
|
||||
* gtk/gtkuimanager.c: Change the XML format:
|
||||
<Root> element is replaced by <ui>,
|
||||
<menu> element is replaced by <menubar>,
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
2003-08-28 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
|
||||
fix in the docs.
|
||||
|
||||
* gtk/gtkuimanager.c: Change the XML format:
|
||||
<Root> element is replaced by <ui>,
|
||||
<menu> element is replaced by <menubar>,
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
2003-08-28 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/tmpl/events.sgml: Improve PointerHint docs.
|
||||
* gdk/tmpl/event_structs.sgml: Explain is_hint field in GdkEventMotion.
|
||||
(#120542)
|
||||
|
||||
2003-08-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtk-sections.txt: Rename GtkMenuMerge to GtkUIManager
|
||||
|
||||
@@ -203,7 +203,8 @@ Generated when the pointer moves.
|
||||
the mouse.
|
||||
@state: a bit-mask representing the state of the modifier keys (e.g. Control,
|
||||
Shift and Alt) and the pointer buttons. See #GdkModifierType.
|
||||
@is_hint:
|
||||
@is_hint: set to 1 if this event is just a hint, see the %GDK_POINTER_MOTION_HINT_MASK
|
||||
value of #GdkEventMask.
|
||||
@device: the device where the event originated.
|
||||
@x_root: the x coordinate of the pointer relative to the root of the screen.
|
||||
@y_root: the y coordinate of the pointer relative to the root of the screen.
|
||||
@@ -471,7 +472,7 @@ Specifies the state of a toplevel window.
|
||||
@GDK_WINDOW_STATE_ICONIFIED: the window is minimized.
|
||||
@GDK_WINDOW_STATE_MAXIMIZED: the window is maximized.
|
||||
@GDK_WINDOW_STATE_STICKY: the window is sticky.
|
||||
@GDK_WINDOW_STATE_FULLSCREEN: the window is maximized without decorations.
|
||||
@GDK_WINDOW_STATE_FULLSCREEN: the window is maximized without decorations.
|
||||
@GDK_WINDOW_STATE_ABOVE: the window is kept above other windows.
|
||||
@GDK_WINDOW_STATE_BELOW: the window is kept below other windows.
|
||||
|
||||
|
||||
@@ -97,8 +97,9 @@ number of %GDK_MOTION_NOTIFY events received. Normally a %GDK_MOTION_NOTIFY
|
||||
event is received each time the mouse moves. However, if the application
|
||||
spends a lot of time processing the event (updating the display, for example),
|
||||
it can easily lag behind the position of the mouse. When using the
|
||||
%GDK_POINTER_MOTION_HINT_MASK the server will only send %GDK_MOTION_NOTIFY
|
||||
events when the application asks for them, by calling gdk_window_get_pointer().
|
||||
%GDK_POINTER_MOTION_HINT_MASK the server will only send a single %GDK_MOTION_NOTIFY
|
||||
event (which is marked as a hint) until the application asks for more, by calling
|
||||
gdk_window_get_pointer().
|
||||
</para>
|
||||
|
||||
@GDK_EXPOSURE_MASK:
|
||||
|
||||
@@ -1114,12 +1114,12 @@ translate_keysym (GdkKeymapX11 *keymap_x11,
|
||||
* </para>
|
||||
* <informalexample><programlisting>
|
||||
* /* We want to ignore irrelevant modifiers like ScrollLock */
|
||||
* #define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
|
||||
* #define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
|
||||
* gdk_keymap_translate_keyboard_state (keymap, event->hardware_keycode,
|
||||
* event->state, event->group,
|
||||
* &keyval, NULL, NULL, &consumed);
|
||||
* &keyval, NULL, NULL, &consumed);
|
||||
* if (keyval == GDK_PLUS &&
|
||||
* (event->state & ~consumed & ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
|
||||
* (event->state & ~consumed & ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
|
||||
* /* Control was pressed */
|
||||
* </programlisting></informalexample>
|
||||
* <para>
|
||||
@@ -1130,7 +1130,7 @@ translate_keysym (GdkKeymapX11 *keymap_x11,
|
||||
* <informalexample><programlisting>
|
||||
* /* XXX Don't do this XXX */
|
||||
* if (keyval == accel_keyval &&
|
||||
* (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
|
||||
* (event->state & ~consumed & ALL_ACCELS_MASK) == (accel_mods & ~consumed))
|
||||
* /* Accelerator was pressed */
|
||||
* </programlisting></informalexample>
|
||||
* <para>
|
||||
|
||||
Reference in New Issue
Block a user