[vala] gtk+-3.0: Update to 3.11.5+



commit 63db7051dde679abde21d1c7334bab996acc089c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Jan 23 18:09:41 2014 +0100

    gtk+-3.0: Update to 3.11.5+

 vapi/gtk+-3.0.vapi                       |   44 ++++++++++++-
 vapi/packages/gtk+-3.0/gtk+-3.0.gi       |  104 +++++++++++++++++++++++++++++-
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    3 +
 3 files changed, 146 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 6e76062..ae2a4ed 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -1711,6 +1711,7 @@ namespace Gtk {
                public unowned Gtk.Widget get_action_area ();
                [CCode (type = "GtkWidget*")]
                public unowned Gtk.Box get_content_area ();
+               public unowned Gtk.Widget get_header_bar ();
                public int get_response_for_widget (Gtk.Widget widget);
                public unowned Gtk.Widget get_widget_for_response (int response_id);
                public int run ();
@@ -1721,6 +1722,8 @@ namespace Gtk {
                public void set_response_sensitive (int response_id, bool setting);
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public Dialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...);
+               [NoAccessorMethod]
+               public int use_header_bar { get; construct; }
                public virtual signal void close ();
                [HasEmitter]
                public virtual signal void response (int response_id);
@@ -3557,6 +3560,23 @@ namespace Gtk {
                public Gdk.Window socket_window { get; }
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
+       public class Popover : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
+               [CCode (has_construct_function = false, type = "GtkWidget*")]
+               public Popover (Gtk.Widget relative_to);
+               public bool get_modal ();
+               public bool get_pointing_to (Cairo.RectangleInt rect);
+               public Gtk.PositionType get_position ();
+               public unowned Gtk.Widget get_relative_to ();
+               public void set_modal (bool modal);
+               public void set_pointing_to (Cairo.RectangleInt rect);
+               public void set_position (Gtk.PositionType position);
+               public void set_relative_to (Gtk.Widget relative_to);
+               public bool modal { get; set; }
+               public Cairo.RectangleInt pointing_to { get; set; }
+               public Gtk.PositionType position { get; set construct; }
+               public Gtk.Widget relative_to { get; set; }
+       }
+       [CCode (cheader_filename = "gtk/gtk.h")]
        public class PrintContext : GLib.Object {
                [CCode (has_construct_function = false)]
                protected PrintContext ();
@@ -4302,6 +4322,8 @@ namespace Gtk {
                [NoAccessorMethod]
                public string gtk_decoration_layout { owned get; set; }
                [NoAccessorMethod]
+               public bool gtk_dialogs_use_header { get; set; }
+               [NoAccessorMethod]
                public int gtk_dnd_drag_threshold { get; set; }
                [NoAccessorMethod]
                public int gtk_double_click_distance { get; set; }
@@ -4525,6 +4547,7 @@ namespace Gtk {
                public Stack ();
                public void add_named (Gtk.Widget child, string name);
                public void add_titled (Gtk.Widget child, string name, string title);
+               public unowned Gtk.Widget get_child_by_name (string name);
                public bool get_homogeneous ();
                public uint get_transition_duration ();
                public bool get_transition_running ();
@@ -4962,6 +4985,13 @@ namespace Gtk {
                public void remove (Gdk.Atom target);
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
+       [Compact]
+       public class TargetPair {
+               public uint flags;
+               public uint info;
+               public Gdk.Atom target;
+       }
+       [CCode (cheader_filename = "gtk/gtk.h")]
        [Deprecated (since = "3.4")]
        public class TearoffMenuItem : Gtk.MenuItem, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, 
Gtk.Actionable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
@@ -5746,7 +5776,7 @@ namespace Gtk {
                [CCode (has_construct_function = false, sentinel = "-1")]
                public TreePath.from_indices (...);
                [CCode (has_construct_function = false)]
-               public TreePath.from_indicesv (int indices, size_t length);
+               public TreePath.from_indicesv ([CCode (array_length_pos = 1.9)] int[] indices);
                [CCode (has_construct_function = false)]
                public TreePath.from_string (string path);
                public int get_depth ();
@@ -6738,6 +6768,8 @@ namespace Gtk {
                public string icon_name { get; set; }
                [NoAccessorMethod]
                public bool is_active { get; }
+               [NoAccessorMethod]
+               public bool is_maximized { get; }
                public bool mnemonics_visible { get; set; }
                public bool modal { get; set; }
                public bool resizable { get; set; }
@@ -7453,7 +7485,8 @@ namespace Gtk {
                EDGE,
                START,
                END,
-               CENTER
+               CENTER,
+               EXPAND
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_")]
        public enum ButtonsType {
@@ -7568,7 +7601,8 @@ namespace Gtk {
        [Flags]
        public enum DialogFlags {
                MODAL,
-               DESTROY_WITH_PARENT
+               DESTROY_WITH_PARENT,
+               USE_HEADER_BAR
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DIR_")]
        public enum DirectionType {
@@ -9038,6 +9072,10 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public const int TEXT_VIEW_PRIORITY_VALIDATE;
        [CCode (cheader_filename = "gtk/gtk.h")]
+       public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
+       [CCode (cheader_filename = "gtk/gtk.h")]
+       public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID;
+       [CCode (cheader_filename = "gtk/gtk.h")]
        public static bool accel_groups_activate (GLib.Object object, uint accel_key, Gdk.ModifierType 
accel_mods);
        [CCode (cheader_filename = "gtk/gtk.h")]
        public static unowned GLib.SList<Gtk.AccelGroup> accel_groups_from_object (GLib.Object object);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 75ecf85..8574a14 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -2373,6 +2373,11 @@
                        <field name="shrink" type="guint"/>
                        <field name="empty" type="guint"/>
                </struct>
+               <struct name="GtkTargetPair">
+                       <field name="target" type="GdkAtom"/>
+                       <field name="flags" type="guint"/>
+                       <field name="info" type="guint"/>
+               </struct>
                <struct name="GtkTextAppearance">
                        <field name="bg_color" type="GdkColor"/>
                        <field name="fg_color" type="GdkColor"/>
@@ -4598,6 +4603,7 @@
                        <member name="GTK_BUTTONBOX_START" value="3"/>
                        <member name="GTK_BUTTONBOX_END" value="4"/>
                        <member name="GTK_BUTTONBOX_CENTER" value="5"/>
+                       <member name="GTK_BUTTONBOX_EXPAND" value="6"/>
                </enum>
                <enum name="GtkButtonsType" type-name="GtkButtonsType" get-type="gtk_buttons_type_get_type">
                        <member name="GTK_BUTTONS_NONE" value="0"/>
@@ -5236,6 +5242,7 @@
                <flags name="GtkDialogFlags" type-name="GtkDialogFlags" get-type="gtk_dialog_flags_get_type">
                        <member name="GTK_DIALOG_MODAL" value="1"/>
                        <member name="GTK_DIALOG_DESTROY_WITH_PARENT" value="2"/>
+                       <member name="GTK_DIALOG_USE_HEADER_BAR" value="4"/>
                </flags>
                <flags name="GtkFileFilterFlags" type-name="GtkFileFilterFlags" 
get-type="gtk_file_filter_flags_get_type">
                        <member name="GTK_FILE_FILTER_FILENAME" value="1"/>
@@ -11155,6 +11162,12 @@
                                        <parameter name="dialog" type="GtkDialog*"/>
                                </parameters>
                        </method>
+                       <method name="get_header_bar" symbol="gtk_dialog_get_header_bar">
+                               <return-type type="GtkWidget*"/>
+                               <parameters>
+                                       <parameter name="dialog" type="GtkDialog*"/>
+                               </parameters>
+                       </method>
                        <method name="get_response_for_widget" symbol="gtk_dialog_get_response_for_widget">
                                <return-type type="gint"/>
                                <parameters>
@@ -11224,6 +11237,7 @@
                                        <parameter name="setting" type="gboolean"/>
                                </parameters>
                        </method>
+                       <property name="use-header-bar" type="gint" readable="1" writable="1" construct="0" 
construct-only="1"/>
                        <signal name="close" when="LAST">
                                <return-type type="void"/>
                                <parameters>
@@ -18577,6 +18591,75 @@
                                </parameters>
                        </signal>
                </object>
+               <object name="GtkPopover" parent="GtkBin" type-name="GtkPopover" 
get-type="gtk_popover_get_type">
+                       <implements>
+                               <interface name="AtkImplementor"/>
+                               <interface name="GtkBuildable"/>
+                       </implements>
+                       <method name="get_modal" symbol="gtk_popover_get_modal">
+                               <return-type type="gboolean"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                               </parameters>
+                       </method>
+                       <method name="get_pointing_to" symbol="gtk_popover_get_pointing_to">
+                               <return-type type="gboolean"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                                       <parameter name="rect" type="cairo_rectangle_int_t*"/>
+                               </parameters>
+                       </method>
+                       <method name="get_position" symbol="gtk_popover_get_position">
+                               <return-type type="GtkPositionType"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                               </parameters>
+                       </method>
+                       <method name="get_relative_to" symbol="gtk_popover_get_relative_to">
+                               <return-type type="GtkWidget*"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                               </parameters>
+                       </method>
+                       <constructor name="new" symbol="gtk_popover_new">
+                               <return-type type="GtkWidget*"/>
+                               <parameters>
+                                       <parameter name="relative_to" type="GtkWidget*"/>
+                               </parameters>
+                       </constructor>
+                       <method name="set_modal" symbol="gtk_popover_set_modal">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                                       <parameter name="modal" type="gboolean"/>
+                               </parameters>
+                       </method>
+                       <method name="set_pointing_to" symbol="gtk_popover_set_pointing_to">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                                       <parameter name="rect" type="cairo_rectangle_int_t*"/>
+                               </parameters>
+                       </method>
+                       <method name="set_position" symbol="gtk_popover_set_position">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                                       <parameter name="position" type="GtkPositionType"/>
+                               </parameters>
+                       </method>
+                       <method name="set_relative_to" symbol="gtk_popover_set_relative_to">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="popover" type="GtkPopover*"/>
+                                       <parameter name="relative_to" type="GtkWidget*"/>
+                               </parameters>
+                       </method>
+                       <property name="modal" type="gboolean" readable="1" writable="1" construct="0" 
construct-only="0"/>
+                       <property name="pointing-to" type="cairo_rectangle_int_t*" readable="1" writable="1" 
construct="0" construct-only="0"/>
+                       <property name="position" type="GtkPositionType" readable="1" writable="1" 
construct="1" construct-only="0"/>
+                       <property name="relative-to" type="GtkWidget*" readable="1" writable="1" 
construct="0" construct-only="0"/>
+               </object>
                <object name="GtkPrintContext" parent="GObject" type-name="GtkPrintContext" 
get-type="gtk_print_context_get_type">
                        <method name="create_pango_context" symbol="gtk_print_context_create_pango_context">
                                <return-type type="PangoContext*"/>
@@ -21118,6 +21201,7 @@
                        <property name="gtk-cursor-theme-name" type="char*" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="gtk-cursor-theme-size" type="gint" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="gtk-decoration-layout" type="char*" readable="1" writable="1" 
construct="0" construct-only="0"/>
+                       <property name="gtk-dialogs-use-header" type="gboolean" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="gtk-dnd-drag-threshold" type="gint" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="gtk-double-click-distance" type="gint" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="gtk-double-click-time" type="gint" readable="1" writable="1" 
construct="0" construct-only="0"/>
@@ -21556,6 +21640,13 @@
                                        <parameter name="title" type="gchar*"/>
                                </parameters>
                        </method>
+                       <method name="get_child_by_name" symbol="gtk_stack_get_child_by_name">
+                               <return-type type="GtkWidget*"/>
+                               <parameters>
+                                       <parameter name="stack" type="GtkStack*"/>
+                                       <parameter name="name" type="gchar*"/>
+                               </parameters>
+                       </method>
                        <method name="get_homogeneous" symbol="gtk_stack_get_homogeneous">
                                <return-type type="gboolean"/>
                                <parameters>
@@ -30837,6 +30928,12 @@
                                        <parameter name="window" type="GtkWindow*"/>
                                </parameters>
                        </method>
+                       <method name="is_maximized" symbol="gtk_window_is_maximized">
+                               <return-type type="gboolean"/>
+                               <parameters>
+                                       <parameter name="window" type="GtkWindow*"/>
+                               </parameters>
+                       </method>
                        <method name="list_toplevels" symbol="gtk_window_list_toplevels">
                                <return-type type="GList*"/>
                        </method>
@@ -31296,6 +31393,7 @@
                        <property name="icon" type="GdkPixbuf*" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="icon-name" type="char*" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="is-active" type="gboolean" readable="1" writable="0" construct="0" 
construct-only="0"/>
+                       <property name="is-maximized" type="gboolean" readable="1" writable="0" construct="0" 
construct-only="0"/>
                        <property name="mnemonics-visible" type="gboolean" readable="1" writable="1" 
construct="0" construct-only="0"/>
                        <property name="modal" type="gboolean" readable="1" writable="1" construct="0" 
construct-only="0"/>
                        <property name="resizable" type="gboolean" readable="1" writable="1" construct="0" 
construct-only="0"/>
@@ -34001,14 +34099,14 @@
                                </parameters>
                        </vfunc>
                </interface>
-               <constant name="GTK_BINARY_AGE" type="int" value="1104"/>
+               <constant name="GTK_BINARY_AGE" type="int" value="1105"/>
                <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="4"/>
+               <constant name="GTK_MICRO_VERSION" type="int" value="5"/>
                <constant name="GTK_MINOR_VERSION" type="int" value="11"/>
                <constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
                <constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
@@ -34138,5 +34236,7 @@
                <constant name="GTK_STYLE_REGION_ROW" type="char*" value="row"/>
                <constant name="GTK_STYLE_REGION_TAB" type="char*" value="tab"/>
                <constant name="GTK_TEXT_VIEW_PRIORITY_VALIDATE" type="int" value="5"/>
+               <constant name="GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID" type="int" value="-1"/>
+               <constant name="GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID" type="int" value="-2"/>
        </namespace>
 </api>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 9f73e30..458a2ac 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -1002,6 +1002,8 @@ gtk_tree_path_get_indices hidden="1"
 gtk_tree_path_get_indices_with_depth is_array="1" name="get_indices"
 gtk_tree_path_get_indices_with_depth.depth hidden="1"
 gtk_tree_path_new_from_indices sentinel="-1"
+gtk_tree_path_new_from_indicesv.indices is_array="1" array_length_pos="1.9"
+gtk_tree_path_new_from_indicesv.length hidden="1"
 gtk_tree_path_copy transfer_ownership="1"
 gtk_tree_path_to_string transfer_ownership="1"
 # GtkTreePath should be an opaque value type as it is not immutable
@@ -1265,6 +1267,7 @@ gtk_window_get_size.width is_out="1"
 gtk_window_get_size.height is_out="1"
 gtk_window_has_toplevel_focus hidden="1" experimental="1"
 gtk_window_is_active hidden="1" experimental="1"
+gtk_window_is_maximized hidden="1" experimental="1"
 gtk_window_list_toplevels transfer_ownership="1" type_arguments="unowned Window"
 gtk_window_set_default_icon_list.list type_arguments="Gdk.Pixbuf"
 gtk_window_set_icon_list.list type_arguments="Gdk.Pixbuf"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]