mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
Export gtk_synthesize_crossing_events internally
We want to use this for focus changes, now that it can emit focus change events.
This commit is contained in:
parent
cdcd2bb073
commit
adb547a147
@ -1466,7 +1466,7 @@ synth_crossing (GtkWidget *widget,
|
||||
g_object_unref (event);
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
gtk_synthesize_crossing_events (GtkWindow *toplevel,
|
||||
GtkWidget *old_target,
|
||||
GtkWidget *new_target,
|
||||
|
@ -242,6 +242,12 @@ GdkSurface * _gtk_widget_get_device_surface (GtkWidget *widget,
|
||||
GdkDevice *device);
|
||||
GList * _gtk_widget_list_devices (GtkWidget *widget);
|
||||
|
||||
void gtk_synthesize_crossing_events (GtkWindow *toplevel,
|
||||
GtkWidget *from,
|
||||
GtkWidget *to,
|
||||
GdkEvent *event,
|
||||
GdkCrossingMode mode);
|
||||
|
||||
void _gtk_widget_synthesize_crossing (GtkWidget *from,
|
||||
GtkWidget *to,
|
||||
GdkDevice *device,
|
||||
|
Loading…
Reference in New Issue
Block a user