]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Update gtk+ 3 vapi to latest upstream
authorIgnacio Casal Quinteiro <icq@gnome.org>
Sat, 29 Jun 2013 17:30:27 +0000 (19:30 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Sat, 29 Jun 2013 17:31:08 +0000 (19:31 +0200)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.gi

index 1a70709a8b271c5453cbc63c6619e8eb4aa0e5eb..2eb82a9cc99312354ade5326d6759f04900a2810 100644 (file)
@@ -761,6 +761,12 @@ namespace Gtk {
                public void connect_signals_full (Gtk.BuilderConnectFunc func);
                public static GLib.Quark error_quark ();
                public void expose_object (string name, GLib.Object object);
+               [CCode (has_construct_function = false)]
+               public Builder.from_file (string filename);
+               [CCode (has_construct_function = false)]
+               public Builder.from_resource (string resource_path);
+               [CCode (has_construct_function = false)]
+               public Builder.from_string (string str, ssize_t length);
                public unowned GLib.Object get_object (string name);
                public GLib.SList<weak GLib.Object> get_objects ();
                public unowned string get_translation_domain ();
@@ -4231,6 +4237,10 @@ namespace Gtk {
                [NoAccessorMethod]
                public bool gtk_shell_shows_menubar { get; set; }
                [NoAccessorMethod]
+               public bool gtk_show_input_method_menu { get; set; }
+               [NoAccessorMethod]
+               public bool gtk_show_unicode_menu { get; set; }
+               [NoAccessorMethod]
                public string gtk_sound_theme_name { owned get; set; }
                [NoAccessorMethod]
                public bool gtk_split_cursor { get; set; }
@@ -6436,6 +6446,7 @@ namespace Gtk {
                public void add_mnemonic (uint keyval, Gtk.Widget target);
                public void begin_move_drag (int button, int root_x, int root_y, uint32 timestamp);
                public void begin_resize_drag (Gdk.WindowEdge edge, int button, int root_x, int root_y, uint32 timestamp);
+               public void close ();
                public void deiconify ();
                public void fullscreen ();
                public bool get_accept_focus ();
@@ -6732,6 +6743,7 @@ namespace Gtk {
                public string get_current_folder ();
                public unowned GLib.File get_current_folder_file ();
                public string get_current_folder_uri ();
+               public unowned string get_current_name ();
                public bool get_do_overwrite_confirmation ();
                public unowned Gtk.Widget get_extra_widget ();
                public unowned GLib.File get_file ();
index 3aa3c35fc231cf410e54a4f27f71a83bf0c73a44..72c216fd41f1f911cb7ceb9f285775e580190990 100644 (file)
                        <constructor name="new" symbol="gtk_builder_new">
                                <return-type type="GtkBuilder*"/>
                        </constructor>
+                       <constructor name="new_from_file" symbol="gtk_builder_new_from_file">
+                               <return-type type="GtkBuilder*"/>
+                               <parameters>
+                                       <parameter name="filename" type="gchar*"/>
+                               </parameters>
+                       </constructor>
+                       <constructor name="new_from_resource" symbol="gtk_builder_new_from_resource">
+                               <return-type type="GtkBuilder*"/>
+                               <parameters>
+                                       <parameter name="resource_path" type="gchar*"/>
+                               </parameters>
+                       </constructor>
+                       <constructor name="new_from_string" symbol="gtk_builder_new_from_string">
+                               <return-type type="GtkBuilder*"/>
+                               <parameters>
+                                       <parameter name="string" type="gchar*"/>
+                                       <parameter name="length" type="gssize"/>
+                               </parameters>
+                       </constructor>
                        <method name="set_translation_domain" symbol="gtk_builder_set_translation_domain">
                                <return-type type="void"/>
                                <parameters>
                        <property name="gtk-scrolled-window-placement" type="GtkCornerType" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="gtk-shell-shows-app-menu" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="gtk-shell-shows-menubar" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="gtk-show-input-method-menu" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="gtk-show-unicode-menu" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="gtk-sound-theme-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="gtk-split-cursor" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="gtk-theme-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
                                        <parameter name="timestamp" type="guint32"/>
                                </parameters>
                        </method>
+                       <method name="close" symbol="gtk_window_close">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="window" type="GtkWindow*"/>
+                               </parameters>
+                       </method>
                        <method name="deiconify" symbol="gtk_window_deiconify">
                                <return-type type="void"/>
                                <parameters>
                                        <parameter name="chooser" type="GtkFileChooser*"/>
                                </parameters>
                        </method>
+                       <method name="get_current_name" symbol="gtk_file_chooser_get_current_name">
+                               <return-type type="gchar*"/>
+                               <parameters>
+                                       <parameter name="chooser" type="GtkFileChooser*"/>
+                               </parameters>
+                       </method>
                        <method name="get_do_overwrite_confirmation" symbol="gtk_file_chooser_get_do_overwrite_confirmation">
                                <return-type type="gboolean"/>
                                <parameters>
                                </parameters>
                        </vfunc>
                </interface>
-               <constant name="GTK_BINARY_AGE" type="int" value="903"/>
+               <constant name="GTK_BINARY_AGE" type="int" value="907"/>
                <constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
                <constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
                <constant name="GTK_LEVEL_BAR_OFFSET_HIGH" type="char*" value="high"/>
                <constant name="GTK_LEVEL_BAR_OFFSET_LOW" type="char*" value="low"/>
                <constant name="GTK_MAJOR_VERSION" type="int" value="3"/>
                <constant name="GTK_MAX_COMPOSE_LEN" type="int" value="7"/>
-               <constant name="GTK_MICRO_VERSION" type="int" value="3"/>
+               <constant name="GTK_MICRO_VERSION" type="int" value="7"/>
                <constant name="GTK_MINOR_VERSION" type="int" value="9"/>
                <constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
                <constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>