mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-08 11:40:16 +00:00
9b356ea0d8
2005-06-25 Matthias Clasen <mclasen@redhat.com> Add a GrabBroken event to GDK, and a grab-broken-event signal to GtkWidget. (#107320, Simon Cooke, initial patch by John Ehresman) * gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type, define a GdkEventGrabBroken event struct. * gdk/win32/gdkevents-win32.c (gdk_event_translate): Generate GrabBroken events in response to WM_KILLFOCUS. * gdk/x11/gdkmain-x11.c: Generate GrabBroken events when a grab is broken by the window becoming unviewable, or by another grab from the same client. * gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event. * gtk/gtkwidget.c (gtk_widget_event_internal): Translate GrabBroken events into grab_broken_event signals. * gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken events. * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate the menu when the grab is broken. * gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop the color picker if the grab is broken. * gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if the grab is broken. |
||
---|---|---|
.. | ||
cairo_interaction.sgml | ||
colors.sgml | ||
cursors.sgml | ||
dnd.sgml | ||
drawing.sgml | ||
event_structs.sgml | ||
events.sgml | ||
fonts.sgml | ||
gcs.sgml | ||
gdk-unused.sgml | ||
gdkdisplay.sgml | ||
gdkdisplaymanager.sgml | ||
gdkscreen.sgml | ||
general.sgml | ||
images.sgml | ||
input_devices.sgml | ||
input.sgml | ||
keys.sgml | ||
pango_interaction.sgml | ||
pixbufs.sgml | ||
pixmaps.sgml | ||
properties.sgml | ||
regions.sgml | ||
rgb.sgml | ||
selections.sgml | ||
threads.sgml | ||
visuals.sgml | ||
windows.sgml | ||
x_interaction.sgml |