mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
Drop gtk_widget_has_grab
This was just a leftover in our public api. All other grab-related apis are gone.
This commit is contained in:
parent
389575ee18
commit
b2deab6adf
@ -4070,7 +4070,6 @@ gtk_widget_get_state_flags
|
||||
gtk_widget_has_default
|
||||
gtk_widget_has_focus
|
||||
gtk_widget_has_visible_focus
|
||||
gtk_widget_has_grab
|
||||
gtk_widget_is_drawable
|
||||
gtk_widget_set_receives_default
|
||||
gtk_widget_get_receives_default
|
||||
|
@ -5093,10 +5093,10 @@ gtk_widget_has_focus (GtkWidget *widget)
|
||||
* @widget: a #GtkWidget
|
||||
*
|
||||
* Determines if the widget should show a visible indication that
|
||||
* it has the global input focus. This is a convenience function for
|
||||
* use in ::draw handlers that takes into account whether focus
|
||||
* indication should currently be shown in the toplevel window of
|
||||
* @widget. See gtk_window_get_focus_visible() for more information
|
||||
* it has the global input focus. This is a convenience function
|
||||
* that takes into account whether focus indication should currently
|
||||
* be shown in the toplevel window of @widget.
|
||||
* See gtk_window_get_focus_visible() for more information
|
||||
* about focus indication.
|
||||
*
|
||||
* To find out if the widget has the global input focus, use
|
||||
@ -5281,7 +5281,7 @@ gtk_widget_get_receives_default (GtkWidget *widget)
|
||||
return priv->receives_default;
|
||||
}
|
||||
|
||||
/**
|
||||
/*< private >
|
||||
* gtk_widget_has_grab:
|
||||
* @widget: a #GtkWidget
|
||||
*
|
||||
|
@ -437,9 +437,6 @@ void gtk_widget_set_receives_default (GtkWidget *widget,
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_widget_get_receives_default (GtkWidget *widget);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_widget_has_grab (GtkWidget *widget);
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
gboolean gtk_widget_device_is_shadowed (GtkWidget *widget,
|
||||
GdkDevice *device);
|
||||
|
@ -244,6 +244,7 @@ void _gtk_widget_set_has_default (GtkWidget *widget,
|
||||
void _gtk_widget_set_has_grab (GtkWidget *widget,
|
||||
gboolean has_grab);
|
||||
|
||||
gboolean gtk_widget_has_grab (GtkWidget *widget);
|
||||
void _gtk_widget_grab_notify (GtkWidget *widget,
|
||||
gboolean was_grabbed);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user