File indexing completed on 2025-12-16 10:17:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef __G_BINDING_GROUP_H__
0023 #define __G_BINDING_GROUP_H__
0024
0025 #if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
0026 #error "Only <glib-object.h> can be included directly."
0027 #endif
0028
0029 #include <glib.h>
0030 #include <gobject/gobject.h>
0031 #include <gobject/gbinding.h>
0032
0033 G_BEGIN_DECLS
0034
0035 #define G_BINDING_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_BINDING_GROUP, GBindingGroup))
0036 #define G_IS_BINDING_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_BINDING_GROUP))
0037 #define G_TYPE_BINDING_GROUP (g_binding_group_get_type())
0038
0039 typedef struct _GBindingGroup GBindingGroup;
0040
0041 GOBJECT_AVAILABLE_IN_2_72
0042 GType g_binding_group_get_type (void) G_GNUC_CONST;
0043 GOBJECT_AVAILABLE_IN_2_72
0044 GBindingGroup *g_binding_group_new (void);
0045 GOBJECT_AVAILABLE_IN_2_72
0046 gpointer g_binding_group_dup_source (GBindingGroup *self);
0047 GOBJECT_AVAILABLE_IN_2_72
0048 void g_binding_group_set_source (GBindingGroup *self,
0049 gpointer source);
0050 GOBJECT_AVAILABLE_IN_2_72
0051 void g_binding_group_bind (GBindingGroup *self,
0052 const gchar *source_property,
0053 gpointer target,
0054 const gchar *target_property,
0055 GBindingFlags flags);
0056 GOBJECT_AVAILABLE_IN_2_72
0057 void g_binding_group_bind_full (GBindingGroup *self,
0058 const gchar *source_property,
0059 gpointer target,
0060 const gchar *target_property,
0061 GBindingFlags flags,
0062 GBindingTransformFunc transform_to,
0063 GBindingTransformFunc transform_from,
0064 gpointer user_data,
0065 GDestroyNotify user_data_destroy);
0066 GOBJECT_AVAILABLE_IN_2_72
0067 void g_binding_group_bind_with_closures (GBindingGroup *self,
0068 const gchar *source_property,
0069 gpointer target,
0070 const gchar *target_property,
0071 GBindingFlags flags,
0072 GClosure *transform_to,
0073 GClosure *transform_from);
0074
0075 G_END_DECLS
0076
0077 #endif