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
|
|
|
};
|
|
|
|
|
2019-04-09 13:20:54 +00:00
|
|
|
GtkConstraintSolver * gtk_root_get_constraint_solver (GtkRoot *self);
|
|
|
|
|
2020-02-07 00:00:52 +00:00
|
|
|
typedef enum {
|
2019-03-02 13:45:13 +00:00
|
|
|
GTK_ROOT_PROP_FOCUS_WIDGET,
|
|
|
|
GTK_ROOT_NUM_PROPERTIES
|
|
|
|
} GtkRootProperties;
|
|
|
|
|
|
|
|
guint gtk_root_install_properties (GObjectClass *object_class,
|
|
|
|
guint first_prop);
|
|
|
|
|
2018-07-29 02:11:14 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __GTK_ROOT_PRIVATE_H__ */
|