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:
|
|
|
|
*
|
|
|
|
* The list of functions that must be implemented for the #GtkRoot interface.
|
|
|
|
*/
|
|
|
|
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
|
|
|
|
2018-07-29 02:11:14 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_ROOT_PRIVATE_H__ */
|