2018-07-29 02:11:14 +00:00
|
|
|
#ifndef __GTK_ROOT_PRIVATE_H__
|
|
|
|
#define __GTK_ROOT_PRIVATE_H__
|
|
|
|
|
|
|
|
#include "gtkroot.h"
|
|
|
|
|
2019-04-09 13:20:54 +00:00
|
|
|
#include "gtkconstraintsolverprivate.h"
|
|
|
|
|
2018-07-29 02:11:14 +00:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2019-04-09 13:13:37 +00:00
|
|
|
/**
|
|
|
|
* GtkRootIface:
|
|
|
|
*
|
2021-05-20 13:17:04 +00:00
|
|
|
* The list of functions that must be implemented for the `GtkRoot` interface.
|
2019-04-09 13:13:37 +00:00
|
|
|
*/
|
|
|
|
struct _GtkRootInterface
|
|
|
|
{
|
|
|
|
/*< private >*/
|
|
|
|
GTypeInterface g_iface;
|
|
|
|
|
|
|
|
/*< public >*/
|
|
|
|
GdkDisplay * (* get_display) (GtkRoot *self);
|
2019-04-09 13:20:54 +00:00
|
|
|
|
|
|
|
GtkConstraintSolver * (* get_constraint_solver) (GtkRoot *self);
|
2019-04-09 13:13:37 +00:00
|
|
|
|
2020-03-29 19:19:23 +00:00
|
|
|
GtkWidget * (* get_focus) (GtkRoot *self);
|
|
|
|
void (* set_focus) (GtkRoot *self,
|
|
|
|
GtkWidget *focus);
|
2019-04-09 13:20:54 +00:00
|
|
|
|
2020-03-29 19:19:23 +00:00
|
|
|
};
|
2019-03-02 13:45:13 +00:00
|
|
|
|
2020-03-29 19:19:23 +00:00
|
|
|
GtkConstraintSolver * gtk_root_get_constraint_solver (GtkRoot *self);
|
2019-03-02 13:45:13 +00:00
|
|
|
|
2020-04-26 01:03:57 +00:00
|
|
|
void gtk_root_start_layout (GtkRoot *self);
|
|
|
|
void gtk_root_stop_layout (GtkRoot *self);
|
|
|
|
void gtk_root_queue_restyle (GtkRoot *self);
|
|
|
|
|
2018-07-29 02:11:14 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_ROOT_PRIVATE_H__ */
|