forked from AuroraMiddleware/gtk
Add private API to query tick callbacks
This information can be useful for debugging purposes.
This commit is contained in:
parent
21536775d7
commit
a55000613a
@ -5410,6 +5410,12 @@ gtk_widget_remove_tick_callback (GtkWidget *widget,
|
||||
}
|
||||
}
|
||||
|
||||
gboolean
|
||||
gtk_widget_has_tick_callback (GtkWidget *widget)
|
||||
{
|
||||
return widget->priv->tick_callbacks != NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_widget_connect_frame_clock (GtkWidget *widget,
|
||||
GdkFrameClock *frame_clock)
|
||||
|
@ -162,6 +162,7 @@ void _gtk_widget_remove_controller (GtkWidget
|
||||
GtkEventController *controller);
|
||||
GList * _gtk_widget_list_controllers (GtkWidget *widget,
|
||||
GtkPropagationPhase phase);
|
||||
gboolean gtk_widget_has_tick_callback (GtkWidget *widget);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user