forked from AuroraMiddleware/gtk
parent
c0c4ab0946
commit
5c93288199
@ -5915,6 +5915,7 @@ gtk_window_group_new
|
||||
gtk_window_group_add_window
|
||||
gtk_window_group_remove_window
|
||||
gtk_window_group_list_windows
|
||||
gtk_window_group_get_current_grab
|
||||
<SUBSECTION Standard>
|
||||
GTK_IS_WINDOW_GROUP
|
||||
GTK_IS_WINDOW_GROUP_CLASS
|
||||
|
@ -5321,6 +5321,7 @@ gtk_window_group_get_type G_GNUC_CONST
|
||||
gtk_window_group_new
|
||||
gtk_window_group_remove_window
|
||||
gtk_window_group_list_windows
|
||||
gtk_window_group_get_current_grab
|
||||
gtk_window_has_group
|
||||
gtk_window_has_toplevel_focus
|
||||
gtk_window_iconify
|
||||
|
@ -7761,10 +7761,19 @@ gtk_window_has_group (GtkWindow *window)
|
||||
return window->group != NULL;
|
||||
}
|
||||
|
||||
/* Return the current grab widget of the given group
|
||||
/**
|
||||
* gtk_window_group_get_current_current_grab:
|
||||
* @window_group: a #GtkWindowGroup
|
||||
*
|
||||
* Gets the current grab widget of the given group,
|
||||
* see gtk_grab_add().
|
||||
*
|
||||
* Returns: the current grab widget of the group
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
GtkWidget *
|
||||
_gtk_window_group_get_current_grab (GtkWindowGroup *window_group)
|
||||
gtk_window_group_get_current_grab (GtkWindowGroup *window_group)
|
||||
{
|
||||
if (window_group->grabs)
|
||||
return GTK_WIDGET (window_group->grabs->data);
|
||||
|
@ -418,7 +418,7 @@ void _gtk_window_constrain_size (GtkWindow *window,
|
||||
gint height,
|
||||
gint *new_width,
|
||||
gint *new_height);
|
||||
GtkWidget *_gtk_window_group_get_current_grab (GtkWindowGroup *window_group);
|
||||
GtkWidget *gtk_window_group_get_current_grab (GtkWindowGroup *window_group);
|
||||
|
||||
void _gtk_window_set_has_toplevel_focus (GtkWindow *window,
|
||||
gboolean has_toplevel_focus);
|
||||
|
Loading…
Reference in New Issue
Block a user