~ubuntu-branches/ubuntu/vivid/vala/vivid

« back to all changes in this revision

Viewing changes to vapi/gtk+-3.0.vapi

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-09-05 10:32:13 UTC
  • mfrom: (1.5.9 upstream) (28.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20100905103213-8nn88erk20o4wgm3
Tags: 0.9.8-1
New upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
        }
98
98
        [CCode (cheader_filename = "gtk/gtk.h")]
99
99
        public class AccelMap : GLib.Object {
 
100
                [CCode (has_construct_function = false)]
 
101
                protected AccelMap ();
100
102
                public static void add_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods);
101
103
                public static void add_filter (string filter_pattern);
102
104
                public static bool change_entry (string accel_path, uint accel_key, Gdk.ModifierType accel_mods, bool replace);
119
121
        }
120
122
        [CCode (cheader_filename = "gtk/gtk.h")]
121
123
        public class Accessible : Atk.Object {
 
124
                [CCode (has_construct_function = false)]
 
125
                protected Accessible ();
122
126
                public virtual void connect_widget_destroyed ();
123
127
                public unowned Gtk.Widget get_widget ();
124
128
        }
351
355
        }
352
356
        [CCode (cheader_filename = "gtk/gtk.h")]
353
357
        public class Bin : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.SizeRequest {
 
358
                [CCode (has_construct_function = false)]
 
359
                protected Bin ();
354
360
                public unowned Gtk.Widget get_child ();
355
361
        }
356
362
        [Compact]
560
566
        }
561
567
        [CCode (cheader_filename = "gtk/gtk.h")]
562
568
        public abstract class CellRenderer : Gtk.Object {
 
569
                [CCode (has_construct_function = false)]
 
570
                protected CellRenderer ();
563
571
                public virtual bool activate (Gdk.Event event, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags);
564
572
                public void get_alignment (float xalign, float yalign);
565
573
                public void get_fixed_size (int width, int height);
869
877
        }
870
878
        [CCode (cheader_filename = "gtk/gtk.h")]
871
879
        public class Clipboard : GLib.Object {
 
880
                [CCode (has_construct_function = false)]
 
881
                protected Clipboard ();
872
882
                public void clear ();
873
883
                public static unowned Gtk.Clipboard @get (Gdk.Atom selection);
874
884
                public unowned Gdk.Display get_display ();
1030
1040
        }
1031
1041
        [CCode (cheader_filename = "gtk/gtk.h")]
1032
1042
        public class Container : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.SizeRequest {
 
1043
                [CCode (has_construct_function = false)]
 
1044
                protected Container ();
1033
1045
                public void add_with_properties (Gtk.Widget widget, ...);
1034
1046
                public void child_get (Gtk.Widget child, ...);
1035
1047
                public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
1581
1593
        }
1582
1594
        [CCode (cheader_filename = "gtk/gtk.h")]
1583
1595
        public class IMContext : GLib.Object {
 
1596
                [CCode (has_construct_function = false)]
 
1597
                protected IMContext ();
1584
1598
                public virtual bool filter_keypress (Gdk.EventKey event);
1585
1599
                public virtual void focus_in ();
1586
1600
                public virtual void focus_out ();
1830
1844
                public void set_from_icon_set (Gtk.IconSet icon_set, Gtk.IconSize size);
1831
1845
                public void set_from_image (Gdk.Image gdk_image, Gdk.Bitmap mask);
1832
1846
                public void set_from_pixbuf (Gdk.Pixbuf pixbuf);
1833
 
                public void set_from_pixmap (Gdk.Pixmap pixmap, Gdk.Bitmap mask);
 
1847
                public void set_from_pixmap (Gdk.Pixmap? pixmap, Gdk.Bitmap? mask);
1834
1848
                public void set_from_stock (string stock_id, Gtk.IconSize size);
1835
1849
                public void set_pixel_size (int pixel_size);
1836
1850
                [NoAccessorMethod]
1958
1972
        }
1959
1973
        [CCode (cheader_filename = "gtk/gtk.h")]
1960
1974
        public class Item : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.SizeRequest {
 
1975
                [CCode (has_construct_function = false)]
 
1976
                protected Item ();
1961
1977
                [HasEmitter]
1962
1978
                public virtual signal void deselect ();
1963
1979
                [HasEmitter]
2114
2130
                [CCode (type = "GtkWidget*", has_construct_function = false)]
2115
2131
                public Menu ();
2116
2132
                public void attach (Gtk.Widget child, uint left_attach, uint right_attach, uint top_attach, uint bottom_attach);
2117
 
                public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc detacher);
 
2133
                public void attach_to_widget (Gtk.Widget attach_widget, Gtk.MenuDetachFunc? detacher);
2118
2134
                public void detach ();
2119
2135
                public unowned Gtk.AccelGroup get_accel_group ();
2120
2136
                public unowned string get_accel_path ();
2194
2210
        }
2195
2211
        [CCode (cheader_filename = "gtk/gtk.h")]
2196
2212
        public class MenuShell : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.SizeRequest {
 
2213
                [CCode (has_construct_function = false)]
 
2214
                protected MenuShell ();
2197
2215
                public void activate_item (Gtk.Widget menu_item, bool force_deactivate);
2198
2216
                public void append ([CCode (type = "GtkWidget*")] Gtk.MenuItem child);
2199
2217
                public void deselect ();
2257
2275
        }
2258
2276
        [CCode (cheader_filename = "gtk/gtk.h")]
2259
2277
        public class Misc : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.SizeRequest {
 
2278
                [CCode (has_construct_function = false)]
 
2279
                protected Misc ();
2260
2280
                public void get_alignment (float xalign, float yalign);
2261
2281
                public void get_padding (int xpad, int ypad);
2262
2282
                public void set_alignment (float xalign, float yalign);
2356
2376
        }
2357
2377
        [CCode (cheader_filename = "gtk/gtk.h")]
2358
2378
        public class Object : GLib.InitiallyUnowned {
 
2379
                [CCode (has_construct_function = false)]
 
2380
                protected Object ();
2359
2381
                [HasEmitter]
2360
2382
                public virtual signal void destroy ();
2361
2383
        }
2474
2496
        }
2475
2497
        [CCode (cheader_filename = "gtk/gtk.h")]
2476
2498
        public class PrintContext : GLib.Object {
 
2499
                [CCode (has_construct_function = false)]
 
2500
                protected PrintContext ();
2477
2501
                public unowned Pango.Context create_pango_context ();
2478
2502
                public unowned Pango.Layout create_pango_layout ();
2479
2503
                public unowned Cairo.Context get_cairo_context ();
2740
2764
        }
2741
2765
        [CCode (cheader_filename = "gtk/gtk.h")]
2742
2766
        public class Range : Gtk.Widget, Atk.Implementor, Gtk.Buildable, Gtk.SizeRequest, Gtk.Orientable {
 
2767
                [CCode (has_construct_function = false)]
 
2768
                protected Range ();
2743
2769
                public unowned Gtk.Adjustment get_adjustment ();
2744
2770
                public double get_fill_level ();
2745
2771
                public bool get_flippable ();
3119
3145
        }
3120
3146
        [CCode (cheader_filename = "gtk/gtk.h")]
3121
3147
        public class Settings : GLib.Object {
 
3148
                [CCode (has_construct_function = false)]
 
3149
                protected Settings ();
3122
3150
                public static unowned Gtk.Settings get_default ();
3123
3151
                public static unowned Gtk.Settings get_for_screen (Gdk.Screen screen);
3124
3152
                public static void install_property (GLib.ParamSpec pspec);
4249
4277
        }
4250
4278
        [CCode (cheader_filename = "gtk/gtk.h")]
4251
4279
        public class Tooltip : GLib.Object {
 
4280
                [CCode (has_construct_function = false)]
 
4281
                protected Tooltip ();
4252
4282
                public void set_custom (Gtk.Widget custom_widget);
4253
4283
                public void set_icon (Gdk.Pixbuf pixbuf);
4254
4284
                public void set_icon_from_gicon (GLib.Icon gicon, Gtk.IconSize size);
4284
4314
        }
4285
4315
        [CCode (cheader_filename = "gtk/gtk.h")]
4286
4316
        public class TreeModelSort : GLib.Object, Gtk.TreeModel, Gtk.TreeSortable, Gtk.TreeDragSource {
 
4317
                [CCode (has_construct_function = false)]
 
4318
                protected TreeModelSort ();
4287
4319
                public void clear_cache ();
4288
4320
                public bool convert_child_iter_to_iter (out Gtk.TreeIter sort_iter, Gtk.TreeIter child_iter);
4289
4321
                public unowned Gtk.TreePath convert_child_path_to_path (Gtk.TreePath child_path);
4341
4373
        }
4342
4374
        [CCode (cheader_filename = "gtk/gtk.h")]
4343
4375
        public class TreeSelection : GLib.Object {
 
4376
                [CCode (has_construct_function = false)]
 
4377
                protected TreeSelection ();
4344
4378
                public int count_selected_rows ();
4345
4379
                public Gtk.SelectionMode get_mode ();
4346
4380
                public unowned Gtk.TreeSelectionFunc get_select_function ();