]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Update vapi file for latest gtk+ git master
authorAlexander Larsson <alexl@redhat.com>
Mon, 25 Jun 2012 14:17:20 +0000 (16:17 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 25 Jun 2012 14:17:20 +0000 (16:17 +0200)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.gi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 14ff9bc697c97b974520b937e899e14851086641..03e84836cdddbda9ac702db532a6f9b353eca65f 100644 (file)
@@ -2272,6 +2272,7 @@ namespace Gtk {
                public unowned Cairo.Surface create_drag_icon (Gtk.TreePath path);
                public void enable_model_drag_dest (Gtk.TargetEntry[] targets, Gdk.DragAction actions);
                public void enable_model_drag_source (Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
+               public bool get_cell_rect (Gtk.TreePath path, Gtk.CellRenderer? cell, out Gdk.Rectangle rect);
                public int get_column_spacing ();
                public int get_columns ();
                public bool get_cursor (out Gtk.TreePath path, out unowned Gtk.CellRenderer cell);
@@ -2697,6 +2698,23 @@ namespace Gtk {
                public Gtk.PackDirection pack_direction { get; set; }
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
+       public class MenuButton : Gtk.ToggleButton, Atk.Implementor, Gtk.Buildable, Gtk.Actionable, Gtk.Activatable {
+               [CCode (has_construct_function = false, type = "GtkWidget*")]
+               public MenuButton ();
+               public unowned Gtk.Widget get_align_widget ();
+               public Gtk.ArrowType get_direction ();
+               public unowned Gtk.Menu get_menu ();
+               public unowned GLib.MenuModel get_menu_model ();
+               public void set_align_widget (Gtk.Widget align_widget);
+               public void set_direction (Gtk.ArrowType direction);
+               public void set_menu (Gtk.Widget menu);
+               public void set_menu_model (GLib.MenuModel menu_model);
+               public Gtk.Container align_widget { get; set; }
+               public Gtk.ArrowType direction { get; set; }
+               public Gtk.Menu menu { get; set; }
+               public GLib.MenuModel menu_model { get; set; }
+       }
+       [CCode (cheader_filename = "gtk/gtk.h")]
        public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
                public MenuItem ();
@@ -3624,6 +3642,11 @@ namespace Gtk {
                public virtual signal void move_focus_out (Gtk.DirectionType direction);
                public virtual signal bool scroll_child (Gtk.ScrollType scroll, bool horizontal);
        }
+       [CCode (cheader_filename = "gtk/gtk.h")]
+       public class SearchEntry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.Editable, Gtk.CellEditable {
+               [CCode (has_construct_function = false, type = "GtkWidget*")]
+               public SearchEntry ();
+       }
        [CCode (cheader_filename = "gtk/gtk.h", copy_function = "gtk_selection_data_copy", type_id = "gtk_selection_data_get_type ()")]
        [Compact]
        public class SelectionData {
index 74d870cbef6ce1c06986b1d555264fd38943e044..8a42b2bf8ce93b97f5ea8b35d9db5547c008aeed 100644 (file)
                                        <parameter name="actions" type="GdkDragAction"/>
                                </parameters>
                        </method>
+                       <method name="get_cell_rect" symbol="gtk_icon_view_get_cell_rect">
+                               <return-type type="gboolean"/>
+                               <parameters>
+                                       <parameter name="icon_view" type="GtkIconView*"/>
+                                       <parameter name="path" type="GtkTreePath*"/>
+                                       <parameter name="cell" type="GtkCellRenderer*"/>
+                                       <parameter name="rect" type="GdkRectangle*"/>
+                               </parameters>
+                       </method>
                        <method name="get_column_spacing" symbol="gtk_icon_view_get_column_spacing">
                                <return-type type="gint"/>
                                <parameters>
                        <property name="child-pack-direction" type="GtkPackDirection" readable="1" writable="1" construct="0" construct-only="0"/>
                        <property name="pack-direction" type="GtkPackDirection" readable="1" writable="1" construct="0" construct-only="0"/>
                </object>
+               <object name="GtkMenuButton" parent="GtkToggleButton" type-name="GtkMenuButton" get-type="gtk_menu_button_get_type">
+                       <implements>
+                               <interface name="AtkImplementor"/>
+                               <interface name="GtkBuildable"/>
+                               <interface name="GtkActionable"/>
+                               <interface name="GtkActivatable"/>
+                       </implements>
+                       <method name="get_align_widget" symbol="gtk_menu_button_get_align_widget">
+                               <return-type type="GtkWidget*"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                               </parameters>
+                       </method>
+                       <method name="get_direction" symbol="gtk_menu_button_get_direction">
+                               <return-type type="GtkArrowType"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                               </parameters>
+                       </method>
+                       <method name="get_menu" symbol="gtk_menu_button_get_menu">
+                               <return-type type="GtkMenu*"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                               </parameters>
+                       </method>
+                       <method name="get_menu_model" symbol="gtk_menu_button_get_menu_model">
+                               <return-type type="GMenuModel*"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                               </parameters>
+                       </method>
+                       <constructor name="new" symbol="gtk_menu_button_new">
+                               <return-type type="GtkWidget*"/>
+                       </constructor>
+                       <method name="set_align_widget" symbol="gtk_menu_button_set_align_widget">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                                       <parameter name="align_widget" type="GtkWidget*"/>
+                               </parameters>
+                       </method>
+                       <method name="set_direction" symbol="gtk_menu_button_set_direction">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                                       <parameter name="direction" type="GtkArrowType"/>
+                               </parameters>
+                       </method>
+                       <method name="set_menu" symbol="gtk_menu_button_set_menu">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                                       <parameter name="menu" type="GtkWidget*"/>
+                               </parameters>
+                       </method>
+                       <method name="set_menu_model" symbol="gtk_menu_button_set_menu_model">
+                               <return-type type="void"/>
+                               <parameters>
+                                       <parameter name="menu_button" type="GtkMenuButton*"/>
+                                       <parameter name="menu_model" type="GMenuModel*"/>
+                               </parameters>
+                       </method>
+                       <property name="align-widget" type="GtkContainer*" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="direction" type="GtkArrowType" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="menu" type="GtkMenu*" readable="1" writable="1" construct="0" construct-only="0"/>
+                       <property name="menu-model" type="GMenuModel*" readable="1" writable="1" construct="0" construct-only="0"/>
+               </object>
                <object name="GtkMenuItem" parent="GtkBin" type-name="GtkMenuItem" get-type="gtk_menu_item_get_type">
                        <implements>
                                <interface name="AtkImplementor"/>
                                </parameters>
                        </signal>
                </object>
+               <object name="GtkSearchEntry" parent="GtkEntry" type-name="GtkSearchEntry" get-type="gtk_search_entry_get_type">
+                       <implements>
+                               <interface name="AtkImplementor"/>
+                               <interface name="GtkBuildable"/>
+                               <interface name="GtkEditable"/>
+                               <interface name="GtkCellEditable"/>
+                       </implements>
+                       <constructor name="new" symbol="gtk_search_entry_new">
+                               <return-type type="GtkWidget*"/>
+                       </constructor>
+               </object>
                <object name="GtkSeparator" parent="GtkWidget" type-name="GtkSeparator" get-type="gtk_separator_get_type">
                        <implements>
                                <interface name="AtkImplementor"/>
index fee5c98640c4323ec0882cecf97ff4e7454ce00f..67cdab77f8ea6ff5ce07800cf2378b21a90eadce 100644 (file)
@@ -300,6 +300,8 @@ gtk_icon_view_get_tooltip_context.iter is_out="1"
 gtk_icon_view_get_tooltip_context.x is_out="1"
 gtk_icon_view_get_tooltip_context.y is_out="1"
 gtk_icon_view_get_selected_items transfer_ownership="1" type_arguments="TreePath"
+gtk_icon_view_get_cell_rect.cell nullable="1"
+gtk_icon_view_get_cell_rect.rect is_out="1"
 gtk_icon_set_copy transfer_ownership="1"
 gtk_icon_source_copy transfer_ownership="1"
 gtk_icon_theme_get_search_path.path is_array="1" is_out="1" transfer_ownership="1"