libgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data
[vala-lang.git] / vapi / libglade-2.0.vapi
blob8c6b81e05911af2b67c45b74939af504ee343d3c
1 /* libglade-2.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Glade", lower_case_cprefix = "glade_")]
4 namespace Glade {
5         [Compact]
6         [CCode (cheader_filename = "glade/glade.h")]
7         public class AccelInfo {
8                 public uint key;
9                 public Gdk.ModifierType modifiers;
10                 public weak string @signal;
11         }
12         [Compact]
13         [CCode (cheader_filename = "glade/glade.h")]
14         public class AtkActionInfo {
15                 public weak string action_name;
16                 public weak string description;
17         }
18         [Compact]
19         [CCode (cheader_filename = "glade/glade.h")]
20         public class AtkRelationInfo {
21                 public weak string target;
22                 public weak string type;
23         }
24         [Compact]
25         [CCode (cheader_filename = "glade/glade.h")]
26         public class ChildInfo {
27                 public weak Glade.WidgetInfo child;
28                 public weak string internal_child;
29                 public uint n_properties;
30                 public weak Glade.Property properties;
31         }
32         [Compact]
33         [CCode (free_function = "glade_interface_destroy", cheader_filename = "glade/glade.h")]
34         public class Interface {
35                 public uint n_requires;
36                 public uint n_toplevels;
37                 public weak GLib.HashTable names;
38                 public weak string @requires;
39                 public weak GLib.HashTable strings;
40                 public weak Glade.WidgetInfo toplevels;
41                 public void dump (string filename);
42         }
43         [Compact]
44         [CCode (cheader_filename = "glade/glade.h")]
45         public class Property {
46                 public weak string name;
47                 public weak string value;
48         }
49         [Compact]
50         [CCode (cheader_filename = "glade/glade.h")]
51         public class SignalInfo {
52                 public uint after;
53                 public weak string handler;
54                 public weak string name;
55                 public weak string object;
56         }
57         [Compact]
58         [CCode (cheader_filename = "glade/glade.h")]
59         public class WidgetInfo {
60                 public weak Glade.AccelInfo accels;
61                 public weak Glade.AtkActionInfo atk_actions;
62                 public weak Glade.Property atk_props;
63                 public weak Glade.ChildInfo children;
64                 public weak string classname;
65                 public uint n_accels;
66                 public uint n_atk_actions;
67                 public uint n_atk_props;
68                 public uint n_children;
69                 public uint n_properties;
70                 public uint n_relations;
71                 public uint n_signals;
72                 public weak string name;
73                 public weak Glade.WidgetInfo parent;
74                 public weak Glade.Property properties;
75                 public weak Glade.AtkRelationInfo relations;
76                 public weak Glade.SignalInfo signals;
77         }
78         [CCode (cheader_filename = "glade/glade.h")]
79         public class XML : GLib.Object {
80                 public weak string filename;
81                 [CCode (has_construct_function = false)]
82                 public XML (string fname, string? root, string? domain);
83                 public unowned Gtk.Widget build_widget (Glade.WidgetInfo info);
84                 public bool @construct (string fname, string? root, string? domain);
85                 public bool construct_from_buffer (string buffer, int size, string root, string domain);
86                 public unowned Gtk.AccelGroup ensure_accel ();
87                 [CCode (has_construct_function = false)]
88                 public XML.from_buffer (string buffer, int size, string? root, string? domain);
89                 public unowned Gtk.Widget get_widget (string name);
90                 public unowned GLib.List get_widget_prefix (string name);
91                 public void handle_internal_child (Gtk.Widget parent, Glade.ChildInfo child_info);
92                 public void handle_widget_prop (Gtk.Widget widget, string prop_name, string value_name);
93                 [NoWrapper]
94                 public virtual GLib.Type lookup_type (string gtypename);
95                 public unowned string relative_file (string filename);
96                 public void set_common_params (Gtk.Widget widget, Glade.WidgetInfo info);
97                 public void set_packing_property (Gtk.Widget parent, Gtk.Widget child, string name, string value);
98                 public void set_toplevel (Gtk.Window window);
99                 public bool set_value_from_string (GLib.ParamSpec pspec, string str, GLib.Value value);
100                 public void signal_autoconnect ();
101                 public void signal_autoconnect_full (Glade.XMLConnectFunc func);
102                 public void signal_connect (string handlername, GLib.Callback func);
103                 public void signal_connect_data (string handlername, GLib.Callback func);
104                 public void signal_connect_full (string handler_name, Glade.XMLConnectFunc func);
105         }
106         [CCode (cheader_filename = "glade/glade.h", has_target = false)]
107         public delegate void ApplyCustomPropFunc (Glade.XML xml, Gtk.Widget widget, string propname, string value);
108         [CCode (cheader_filename = "glade/glade.h", has_target = false)]
109         public delegate void BuildChildrenFunc (Glade.XML xml, Gtk.Widget parent, Glade.WidgetInfo info);
110         [CCode (cheader_filename = "glade/glade.h", has_target = false)]
111         public delegate unowned Gtk.Widget FindInternalChildFunc (Glade.XML xml, Gtk.Widget parent, string childname);
112         [CCode (cheader_filename = "glade/glade.h", has_target = false)]
113         public delegate Gtk.Widget NewFunc (Glade.XML xml, GLib.Type widget_type, Glade.WidgetInfo info);
114         [CCode (cheader_filename = "glade/glade.h")]
115         public delegate void XMLConnectFunc (string handler_name, GLib.Object object, string signal_name, string signal_data, GLib.Object connect_object, bool after);
116         [CCode (cheader_filename = "glade/glade.h")]
117         public delegate unowned Gtk.Widget XMLCustomWidgetHandler (Glade.XML xml, string func_name, string name, string string1, string string2, int int1, int int2);
118         [CCode (cheader_filename = "glade/glade.h")]
119         public const int MODULE_API_VERSION;
120         [CCode (cheader_filename = "glade/glade.h")]
121         public static int enum_from_string (GLib.Type type, string str);
122         [CCode (cheader_filename = "glade/glade.h")]
123         public static uint flags_from_string (GLib.Type type, string str);
124         [CCode (cheader_filename = "glade/glade.h")]
125         public static unowned string get_widget_name (Gtk.Widget widget);
126         [CCode (cheader_filename = "glade/glade.h")]
127         public static unowned Glade.XML get_widget_tree (Gtk.Widget widget);
128         [CCode (cheader_filename = "glade/glade.h")]
129         public static void init ();
130         [CCode (cheader_filename = "glade/glade.h")]
131         public static unowned string module_check_version (int version);
132         [CCode (cheader_filename = "glade/glade.h")]
133         public static void module_register_widgets ();
134         [CCode (cheader_filename = "glade/glade.h")]
135         public static unowned Glade.Interface parser_parse_buffer (string buffer, int len, string domain);
136         [CCode (cheader_filename = "glade/glade.h")]
137         public static unowned Glade.Interface parser_parse_file (string file, string domain);
138         [CCode (cheader_filename = "glade/glade.h")]
139         public static void provide (string library);
140         [CCode (cheader_filename = "glade/glade.h")]
141         public static void register_custom_prop (GLib.Type type, string prop_name, Glade.ApplyCustomPropFunc apply_prop);
142         [CCode (cheader_filename = "glade/glade.h")]
143         public static void register_widget (GLib.Type type, Glade.NewFunc new_func, Glade.BuildChildrenFunc? build_children, Glade.FindInternalChildFunc? find_internal_child);
144         [CCode (cheader_filename = "glade/glade.h")]
145         public static void require (string library);
146         [CCode (cheader_filename = "glade/glade.h")]
147         public static void set_custom_handler (Glade.XMLCustomWidgetHandler handler);
148         [CCode (cheader_filename = "glade/glade.h")]
149         public static void standard_build_children (Glade.XML self, Gtk.Widget parent, Glade.WidgetInfo info);
150         [CCode (cheader_filename = "glade/glade.h")]
151         public static unowned Gtk.Widget standard_build_widget (Glade.XML xml, GLib.Type widget_type, Glade.WidgetInfo info);