~ubuntu-branches/debian/sid/glib2.0/sid

« back to all changes in this revision

Viewing changes to gobject/gbinding.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-05-08 06:25:57 UTC
  • mfrom: (1.27.14) (3.1.181 experimental)
  • Revision ID: package-import@ubuntu.com-20130508062557-i7gbku66mls70gi2
Tags: 2.36.1-2
Merge experimental branch, upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * Author: Emmanuele Bassi <ebassi@linux.intel.com>
21
21
 */
22
22
 
 
23
#ifndef __G_BINDING_H__
 
24
#define __G_BINDING_H__
 
25
 
23
26
#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
24
27
#error "Only <glib-object.h> can be included directly."
25
28
#endif
26
29
 
27
 
#ifndef __G_BINDING_H__
28
 
#define __G_BINDING_H__
29
 
 
30
30
#include <glib.h>
31
31
#include <gobject/gobject.h>
32
32
 
100
100
  G_BINDING_INVERT_BOOLEAN = 1 << 2
101
101
} GBindingFlags;
102
102
 
 
103
GLIB_AVAILABLE_IN_ALL
103
104
GType                 g_binding_flags_get_type      (void) G_GNUC_CONST;
 
105
GLIB_AVAILABLE_IN_ALL
104
106
GType                 g_binding_get_type            (void) G_GNUC_CONST;
105
107
 
 
108
GLIB_AVAILABLE_IN_ALL
106
109
GBindingFlags         g_binding_get_flags           (GBinding *binding);
 
110
GLIB_AVAILABLE_IN_ALL
107
111
GObject *             g_binding_get_source          (GBinding *binding);
 
112
GLIB_AVAILABLE_IN_ALL
108
113
GObject *             g_binding_get_target          (GBinding *binding);
 
114
GLIB_AVAILABLE_IN_ALL
109
115
const gchar *         g_binding_get_source_property (GBinding *binding);
 
116
GLIB_AVAILABLE_IN_ALL
110
117
const gchar *         g_binding_get_target_property (GBinding *binding);
111
118
 
 
119
GLIB_AVAILABLE_IN_ALL
112
120
GBinding *g_object_bind_property               (gpointer               source,
113
121
                                                const gchar           *source_property,
114
122
                                                gpointer               target,
115
123
                                                const gchar           *target_property,
116
124
                                                GBindingFlags          flags);
 
125
GLIB_AVAILABLE_IN_ALL
117
126
GBinding *g_object_bind_property_full          (gpointer               source,
118
127
                                                const gchar           *source_property,
119
128
                                                gpointer               target,
123
132
                                                GBindingTransformFunc  transform_from,
124
133
                                                gpointer               user_data,
125
134
                                                GDestroyNotify         notify);
 
135
GLIB_AVAILABLE_IN_ALL
126
136
GBinding *g_object_bind_property_with_closures (gpointer               source,
127
137
                                                const gchar           *source_property,
128
138
                                                gpointer               target,