[vala] gtk+-3.0: Update to 3.1.18
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Update to 3.1.18
- Date: Sat, 17 Sep 2011 13:41:50 +0000 (UTC)
commit 4ae302854c064bfc8f899a830202ede30ba95cc9
Author: JÃrg Billeter <j bitron ch>
Date: Sat Sep 17 15:23:38 2011 +0200
gtk+-3.0: Update to 3.1.18
vapi/gtk+-3.0.vapi | 77 +++++++-
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 315 ++++++++++++++++++++++++++++--
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 4 +
3 files changed, 381 insertions(+), 15 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 1bb929e..52ec43c 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -455,6 +455,7 @@ namespace Gtk {
public void clamp_page (double lower, double upper);
public void configure (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
public double get_lower ();
+ public double get_minimum_increment ();
public double get_page_increment ();
public double get_page_size ();
public double get_step_increment ();
@@ -609,6 +610,7 @@ namespace Gtk {
public int prepend_page (Gtk.Widget page);
public void previous_page ();
public void remove_action_widget (Gtk.Widget child);
+ public void remove_page (int page_num);
public void set_current_page (int page_num);
public void set_forward_page_func (owned Gtk.AssistantPageFunc page_func);
public void set_page_complete (Gtk.Widget page, bool complete);
@@ -1523,7 +1525,18 @@ namespace Gtk {
public bool load_from_file (GLib.File file) throws GLib.Error;
public bool load_from_path (string path) throws GLib.Error;
public unowned string to_string ();
- public virtual signal void parsing_error (string path, uint line, uint position, GLib.Error error);
+ public virtual signal void parsing_error (Gtk.CssSection section, GLib.Error error);
+ }
+ [CCode (cheader_filename = "gtk/gtk.h", ref_function = "gtk_css_section_ref", unref_function = "gtk_css_section_unref")]
+ [Compact]
+ public class CssSection {
+ public uint get_end_line ();
+ public uint get_end_position ();
+ public unowned GLib.File get_file ();
+ public unowned Gtk.CssSection get_parent ();
+ public Gtk.CssSectionType get_section_type ();
+ public uint get_start_line ();
+ public uint get_start_position ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
@@ -1911,6 +1924,35 @@ namespace Gtk {
public virtual signal void font_set ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ public class FontChooser : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public FontChooser ();
+ public unowned Pango.FontFace get_face ();
+ public unowned Pango.FontFamily get_family ();
+ public unowned string get_font_name ();
+ public unowned string get_preview_text ();
+ public bool get_show_preview_entry ();
+ public int get_size ();
+ public void set_filter_func (owned Gtk.FontFilterFunc filter);
+ public bool set_font_name (string fontname);
+ public void set_preview_text (string text);
+ public void set_show_preview_entry (bool show_preview_entry);
+ public string font_name { get; set; }
+ public string preview_text { get; set; }
+ public bool show_preview_entry { get; set; }
+ public virtual signal void font_activated (string fontname);
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class FontChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public FontChooserDialog (string title, Gtk.Window window);
+ public unowned Gtk.Widget get_font_chooser ();
+ public unowned string get_font_name ();
+ public unowned string get_preview_text ();
+ public bool set_font_name (string fontname);
+ public void set_preview_text (string text);
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
public class FontSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public FontSelection ();
@@ -1980,10 +2022,14 @@ namespace Gtk {
public Grid ();
public void attach (Gtk.Widget child, int left, int top, int width, int height);
public void attach_next_to (Gtk.Widget child, Gtk.Widget sibling, Gtk.PositionType side, int width, int height);
+ public unowned Gtk.Widget get_child_at (int left, int top);
public bool get_column_homogeneous ();
public uint get_column_spacing ();
public bool get_row_homogeneous ();
public uint get_row_spacing ();
+ public void insert_column (int position);
+ public void insert_next_to (Gtk.Widget sibling, Gtk.PositionType side);
+ public void insert_row (int position);
public void set_column_homogeneous (bool homogeneous);
public void set_column_spacing (uint spacing);
public void set_row_homogeneous (bool homogeneous);
@@ -2657,7 +2703,6 @@ namespace Gtk {
public virtual int get_popup_delay ();
public unowned Gtk.Widget get_selected_item ();
public bool get_take_focus ();
- public virtual void insert (Gtk.Widget child, int position);
public void prepend (Gtk.Widget child);
public void select_first (bool search_sensitive);
public virtual void select_item (Gtk.Widget menu_item);
@@ -2669,6 +2714,8 @@ namespace Gtk {
public virtual signal void cycle_focus (Gtk.DirectionType p0);
[HasEmitter]
public virtual signal void deactivate ();
+ [HasEmitter]
+ public virtual signal void insert (Gtk.Widget child, int position);
public virtual signal void move_current (Gtk.MenuDirectionType direction);
public virtual signal bool move_selected (int distance);
public virtual signal void selection_done ();
@@ -3715,6 +3762,8 @@ namespace Gtk {
[NoAccessorMethod]
public bool gtk_touchscreen_mode { get; set; }
[NoAccessorMethod]
+ public Gtk.PolicyType gtk_visible_focus { get; set; }
+ [NoAccessorMethod]
public int gtk_xft_antialias { get; set; }
[NoAccessorMethod]
public int gtk_xft_dpi { get; set; }
@@ -5379,6 +5428,7 @@ namespace Gtk {
public void grab_default ();
public bool has_rc_style ();
public bool has_screen ();
+ public bool has_visible_focus ();
public bool hide_on_delete ();
public bool in_destruction ();
public void input_shape_combine_region (Cairo.Region region);
@@ -5427,6 +5477,10 @@ namespace Gtk {
public int send_expose (Gdk.Event event);
public bool send_focus_change (Gdk.Event event);
public void set_accel_path (string accel_path, Gtk.AccelGroup accel_group);
+ [CCode (cname = "gtk_widget_class_set_accessible_role")]
+ public class void set_accessible_role (Atk.Role role);
+ [CCode (cname = "gtk_widget_class_set_accessible_type")]
+ public class void set_accessible_type (GLib.Type type);
public void set_allocation (Gtk.Allocation allocation);
public void set_app_paintable (bool app_paintable);
public void set_can_default (bool can_default);
@@ -5677,6 +5731,7 @@ namespace Gtk {
public bool get_destroy_with_parent ();
public unowned Gtk.Widget get_focus ();
public bool get_focus_on_map ();
+ public bool get_focus_visible ();
public Gdk.Gravity get_gravity ();
public unowned Gtk.WindowGroup get_group ();
public bool get_has_resize_grip ();
@@ -5730,6 +5785,7 @@ namespace Gtk {
public void set_deletable (bool setting);
public void set_destroy_with_parent (bool setting);
public void set_focus_on_map (bool setting);
+ public void set_focus_visible (bool setting);
public void set_geometry_hints (Gtk.Widget geometry_widget, Gdk.Geometry geometry, Gdk.WindowHints geom_mask);
public void set_gravity (Gdk.Gravity gravity);
public void set_has_resize_grip (bool value);
@@ -5770,6 +5826,7 @@ namespace Gtk {
public bool deletable { get; set; }
public bool destroy_with_parent { get; set; }
public bool focus_on_map { get; set; }
+ public bool focus_visible { get; set; }
public Gdk.Gravity gravity { get; set; }
public bool has_resize_grip { get; set; }
[NoAccessorMethod]
@@ -6235,6 +6292,7 @@ namespace Gtk {
public int dummy12;
public int dummy13;
public void* dummy14;
+ public void assign (Gtk.TextIter other);
public bool backward_char ();
public bool backward_chars (int count);
public bool backward_cursor_position ();
@@ -6457,6 +6515,17 @@ namespace Gtk {
DEPRECATED,
UNKNOWN_VALUE
}
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_CSS_SECTION_")]
+ public enum CssSectionType {
+ DOCUMENT,
+ IMPORT,
+ COLOR_DEFINITION,
+ BINDING_SET,
+ RULESET,
+ SELECTOR,
+ DECLARATION,
+ VALUE
+ }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_DEBUG_")]
[Flags]
public enum DebugFlag {
@@ -7219,6 +7288,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate bool FileFilterFunc (Gtk.FileFilterInfo filter_info);
[CCode (cheader_filename = "gtk/gtk.h")]
+ public delegate bool FontFilterFunc (Pango.FontFamily family, Pango.FontFace face);
+ [CCode (cheader_filename = "gtk/gtk.h")]
public delegate void IconViewForeachFunc (Gtk.IconView icon_view, Gtk.TreePath path);
[CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
public delegate int KeySnoopFunc (Gtk.Widget grab_widget, Gdk.EventKey event, void* func_data);
@@ -7700,6 +7771,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_CHECK;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string STYLE_CLASS_COMBOBOX_ENTRY;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_DEFAULT;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_DND;
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 670c8dd..29ba5aa 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -1687,6 +1687,14 @@
<parameter name="data" type="gpointer"/>
</parameters>
</callback>
+ <callback name="GtkFontFilterFunc">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="family" type="PangoFontFamily*"/>
+ <parameter name="face" type="PangoFontFace*"/>
+ <parameter name="data" type="gpointer"/>
+ </parameters>
+ </callback>
<callback name="GtkIconViewForeachFunc">
<return-type type="void"/>
<parameters>
@@ -2280,6 +2288,62 @@
<field name="top" type="gint16"/>
<field name="bottom" type="gint16"/>
</boxed>
+ <boxed name="GtkCssSection" type-name="GtkCssSection" get-type="gtk_css_section_get_type">
+ <method name="get_end_line" symbol="gtk_css_section_get_end_line">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="get_end_position" symbol="gtk_css_section_get_end_position">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="get_file" symbol="gtk_css_section_get_file">
+ <return-type type="GFile*"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="get_parent" symbol="gtk_css_section_get_parent">
+ <return-type type="GtkCssSection*"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="get_section_type" symbol="gtk_css_section_get_section_type">
+ <return-type type="GtkCssSectionType"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="get_start_line" symbol="gtk_css_section_get_start_line">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="get_start_position" symbol="gtk_css_section_get_start_position">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="ref" symbol="gtk_css_section_ref">
+ <return-type type="GtkCssSection*"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ <method name="unref" symbol="gtk_css_section_unref">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="section" type="GtkCssSection*"/>
+ </parameters>
+ </method>
+ </boxed>
<boxed name="GtkGradient" type-name="GtkGradient" get-type="gtk_gradient_get_type">
<method name="add_color_stop" symbol="gtk_gradient_add_color_stop">
<return-type type="void"/>
@@ -3338,6 +3402,13 @@
<field name="padding" type="guint[]"/>
</boxed>
<boxed name="GtkTextIter" type-name="GtkTextIter" get-type="gtk_text_iter_get_type">
+ <method name="assign" symbol="gtk_text_iter_assign">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="iter" type="GtkTextIter*"/>
+ <parameter name="other" type="GtkTextIter*"/>
+ </parameters>
+ </method>
<method name="backward_char" symbol="gtk_text_iter_backward_char">
<return-type type="gboolean"/>
<parameters>
@@ -4480,6 +4551,16 @@
<member name="GTK_CSS_PROVIDER_ERROR_DEPRECATED" value="4"/>
<member name="GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE" value="5"/>
</enum>
+ <enum name="GtkCssSectionType" type-name="GtkCssSectionType" get-type="gtk_css_section_type_get_type">
+ <member name="GTK_CSS_SECTION_DOCUMENT" value="0"/>
+ <member name="GTK_CSS_SECTION_IMPORT" value="1"/>
+ <member name="GTK_CSS_SECTION_COLOR_DEFINITION" value="2"/>
+ <member name="GTK_CSS_SECTION_BINDING_SET" value="3"/>
+ <member name="GTK_CSS_SECTION_RULESET" value="4"/>
+ <member name="GTK_CSS_SECTION_SELECTOR" value="5"/>
+ <member name="GTK_CSS_SECTION_DECLARATION" value="6"/>
+ <member name="GTK_CSS_SECTION_VALUE" value="7"/>
+ </enum>
<enum name="GtkDeleteType" type-name="GtkDeleteType" get-type="gtk_delete_type_get_type">
<member name="GTK_DELETE_CHARS" value="0"/>
<member name="GTK_DELETE_WORD_ENDS" value="1"/>
@@ -6179,6 +6260,12 @@
<parameter name="adjustment" type="GtkAdjustment*"/>
</parameters>
</method>
+ <method name="get_minimum_increment" symbol="gtk_adjustment_get_minimum_increment">
+ <return-type type="gdouble"/>
+ <parameters>
+ <parameter name="adjustment" type="GtkAdjustment*"/>
+ </parameters>
+ </method>
<method name="get_page_increment" symbol="gtk_adjustment_get_page_increment">
<return-type type="gdouble"/>
<parameters>
@@ -6791,6 +6878,13 @@
<parameter name="child" type="GtkWidget*"/>
</parameters>
</method>
+ <method name="remove_page" symbol="gtk_assistant_remove_page">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="assistant" type="GtkAssistant*"/>
+ <parameter name="page_num" type="gint"/>
+ </parameters>
+ </method>
<method name="set_current_page" symbol="gtk_assistant_set_current_page">
<return-type type="void"/>
<parameters>
@@ -10352,9 +10446,7 @@
<return-type type="void"/>
<parameters>
<parameter name="provider" type="GtkCssProvider*"/>
- <parameter name="path" type="char*"/>
- <parameter name="line" type="guint"/>
- <parameter name="position" type="guint"/>
+ <parameter name="section" type="GtkCssSection*"/>
<parameter name="error" type="GError*"/>
</parameters>
</signal>
@@ -11901,6 +11993,137 @@
</parameters>
</signal>
</object>
+ <object name="GtkFontChooser" parent="GtkBox" type-name="GtkFontChooser" get-type="gtk_font_chooser_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkOrientable"/>
+ </implements>
+ <method name="get_face" symbol="gtk_font_chooser_get_face">
+ <return-type type="PangoFontFace*"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ </parameters>
+ </method>
+ <method name="get_family" symbol="gtk_font_chooser_get_family">
+ <return-type type="PangoFontFamily*"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ </parameters>
+ </method>
+ <method name="get_font_name" symbol="gtk_font_chooser_get_font_name">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ </parameters>
+ </method>
+ <method name="get_preview_text" symbol="gtk_font_chooser_get_preview_text">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ </parameters>
+ </method>
+ <method name="get_show_preview_entry" symbol="gtk_font_chooser_get_show_preview_entry">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ </parameters>
+ </method>
+ <method name="get_size" symbol="gtk_font_chooser_get_size">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="gtk_font_chooser_new">
+ <return-type type="GtkWidget*"/>
+ </constructor>
+ <method name="set_filter_func" symbol="gtk_font_chooser_set_filter_func">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ <parameter name="filter" type="GtkFontFilterFunc"/>
+ <parameter name="data" type="gpointer"/>
+ <parameter name="destroy" type="GDestroyNotify"/>
+ </parameters>
+ </method>
+ <method name="set_font_name" symbol="gtk_font_chooser_set_font_name">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ <parameter name="fontname" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_preview_text" symbol="gtk_font_chooser_set_preview_text">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ <parameter name="text" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_show_preview_entry" symbol="gtk_font_chooser_set_show_preview_entry">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="fontchooser" type="GtkFontChooser*"/>
+ <parameter name="show_preview_entry" type="gboolean"/>
+ </parameters>
+ </method>
+ <property name="font-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="preview-text" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="show-preview-entry" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <signal name="font-activated" when="FIRST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="chooser" type="GtkFontChooser*"/>
+ <parameter name="fontname" type="char*"/>
+ </parameters>
+ </signal>
+ </object>
+ <object name="GtkFontChooserDialog" parent="GtkDialog" type-name="GtkFontChooserDialog" get-type="gtk_font_chooser_dialog_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ </implements>
+ <method name="get_font_chooser" symbol="gtk_font_chooser_dialog_get_font_chooser">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="fcd" type="GtkFontChooserDialog*"/>
+ </parameters>
+ </method>
+ <method name="get_font_name" symbol="gtk_font_chooser_dialog_get_font_name">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="fcd" type="GtkFontChooserDialog*"/>
+ </parameters>
+ </method>
+ <method name="get_preview_text" symbol="gtk_font_chooser_dialog_get_preview_text">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="fcd" type="GtkFontChooserDialog*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="gtk_font_chooser_dialog_new">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="title" type="gchar*"/>
+ <parameter name="window" type="GtkWindow*"/>
+ </parameters>
+ </constructor>
+ <method name="set_font_name" symbol="gtk_font_chooser_dialog_set_font_name">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="fcd" type="GtkFontChooserDialog*"/>
+ <parameter name="fontname" type="gchar*"/>
+ </parameters>
+ </method>
+ <method name="set_preview_text" symbol="gtk_font_chooser_dialog_set_preview_text">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="fcd" type="GtkFontChooserDialog*"/>
+ <parameter name="text" type="gchar*"/>
+ </parameters>
+ </method>
+ </object>
<object name="GtkFontSelection" parent="GtkBox" type-name="GtkFontSelection" get-type="gtk_font_selection_get_type">
<implements>
<interface name="AtkImplementor"/>
@@ -12150,6 +12373,14 @@
<parameter name="height" type="gint"/>
</parameters>
</method>
+ <method name="get_child_at" symbol="gtk_grid_get_child_at">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="grid" type="GtkGrid*"/>
+ <parameter name="left" type="gint"/>
+ <parameter name="top" type="gint"/>
+ </parameters>
+ </method>
<method name="get_column_homogeneous" symbol="gtk_grid_get_column_homogeneous">
<return-type type="gboolean"/>
<parameters>
@@ -12174,6 +12405,28 @@
<parameter name="grid" type="GtkGrid*"/>
</parameters>
</method>
+ <method name="insert_column" symbol="gtk_grid_insert_column">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="grid" type="GtkGrid*"/>
+ <parameter name="position" type="gint"/>
+ </parameters>
+ </method>
+ <method name="insert_next_to" symbol="gtk_grid_insert_next_to">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="grid" type="GtkGrid*"/>
+ <parameter name="sibling" type="GtkWidget*"/>
+ <parameter name="side" type="GtkPositionType"/>
+ </parameters>
+ </method>
+ <method name="insert_row" symbol="gtk_grid_insert_row">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="grid" type="GtkGrid*"/>
+ <parameter name="position" type="gint"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="gtk_grid_new">
<return-type type="GtkWidget*"/>
</constructor>
@@ -15026,6 +15279,14 @@
<parameter name="menu_shell" type="GtkMenuShell*"/>
</parameters>
</signal>
+ <signal name="insert" when="FIRST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="menu_shell" type="GtkMenuShell*"/>
+ <parameter name="child" type="GtkWidget*"/>
+ <parameter name="position" type="gint"/>
+ </parameters>
+ </signal>
<signal name="move-current" when="LAST">
<return-type type="void"/>
<parameters>
@@ -15052,14 +15313,6 @@
<parameter name="menu_shell" type="GtkMenuShell*"/>
</parameters>
</vfunc>
- <vfunc name="insert">
- <return-type type="void"/>
- <parameters>
- <parameter name="menu_shell" type="GtkMenuShell*"/>
- <parameter name="child" type="GtkWidget*"/>
- <parameter name="position" type="gint"/>
- </parameters>
- </vfunc>
<vfunc name="select_item">
<return-type type="void"/>
<parameters>
@@ -18542,6 +18795,7 @@
<property name="gtk-tooltip-browse-timeout" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-tooltip-timeout" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-touchscreen-mode" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="gtk-visible-focus" type="GtkPolicyType" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-xft-antialias" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-xft-dpi" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-xft-hinting" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -25374,6 +25628,20 @@
<parameter name="path_reversed" type="gchar**"/>
</parameters>
</method>
+ <method name="class_set_accessible_role" symbol="gtk_widget_class_set_accessible_role">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget_class" type="GtkWidgetClass*"/>
+ <parameter name="role" type="AtkRole"/>
+ </parameters>
+ </method>
+ <method name="class_set_accessible_type" symbol="gtk_widget_class_set_accessible_type">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget_class" type="GtkWidgetClass*"/>
+ <parameter name="type" type="GType"/>
+ </parameters>
+ </method>
<method name="compute_expand" symbol="gtk_widget_compute_expand">
<return-type type="gboolean"/>
<parameters>
@@ -25907,6 +26175,12 @@
<parameter name="widget" type="GtkWidget*"/>
</parameters>
</method>
+ <method name="has_visible_focus" symbol="gtk_widget_has_visible_focus">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="widget" type="GtkWidget*"/>
+ </parameters>
+ </method>
<method name="hide" symbol="gtk_widget_hide">
<return-type type="void"/>
<parameters>
@@ -27422,6 +27696,12 @@
<parameter name="window" type="GtkWindow*"/>
</parameters>
</method>
+ <method name="get_focus_visible" symbol="gtk_window_get_focus_visible">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="window" type="GtkWindow*"/>
+ </parameters>
+ </method>
<method name="get_gravity" symbol="gtk_window_get_gravity">
<return-type type="GdkGravity"/>
<parameters>
@@ -27793,6 +28073,13 @@
<parameter name="setting" type="gboolean"/>
</parameters>
</method>
+ <method name="set_focus_visible" symbol="gtk_window_set_focus_visible">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="window" type="GtkWindow*"/>
+ <parameter name="setting" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_geometry_hints" symbol="gtk_window_set_geometry_hints">
<return-type type="void"/>
<parameters>
@@ -28011,6 +28298,7 @@
<property name="deletable" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="destroy-with-parent" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="focus-on-map" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="focus-visible" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gravity" type="GdkGravity" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="has-resize-grip" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="has-toplevel-focus" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
@@ -30305,12 +30593,12 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="107"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="118"/>
<constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
<constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
<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="7"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="18"/>
<constant name="GTK_MINOR_VERSION" type="int" value="1"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
@@ -30462,6 +30750,7 @@
<constant name="GTK_STYLE_CLASS_CALENDAR" type="char*" value="calendar"/>
<constant name="GTK_STYLE_CLASS_CELL" type="char*" value="cell"/>
<constant name="GTK_STYLE_CLASS_CHECK" type="char*" value="check"/>
+ <constant name="GTK_STYLE_CLASS_COMBOBOX_ENTRY" type="char*" value="combobox-entry"/>
<constant name="GTK_STYLE_CLASS_DEFAULT" type="char*" value="default"/>
<constant name="GTK_STYLE_CLASS_DND" type="char*" value="dnd"/>
<constant name="GTK_STYLE_CLASS_DOCK" type="char*" value="dock"/>
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index ebef3e3..66cc544 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -254,6 +254,9 @@ gtk_file_chooser_list_filters transfer_ownership="1" type_arguments="unowned Fil
gtk_file_chooser_list_shortcut_folder_uris nullable="1" transfer_ownership="1" type_arguments="string"
gtk_file_chooser_list_shortcut_folders nullable="1" transfer_ownership="1" type_arguments="string"
GtkFixed.children type_arguments="Widget"
+gtk_font_chooser_set_filter_func.filter transfer_ownership="1"
+gtk_font_chooser_set_filter_func.data hidden="1"
+gtk_font_chooser_set_filter_func.destroy hidden="1"
gtk_frame_new.label nullable="1"
GtkHandleBox.child_detached hidden="1"
GtkHandleBox::child_detached hidden="1"
@@ -383,6 +386,7 @@ gtk_menu_set_screen.screen nullable="1"
GtkMenuShell.children type_arguments="MenuItem" weak="0"
GtkMenuShell::cancel has_emitter="1"
GtkMenuShell::deactivate has_emitter="1"
+GtkMenuShell::insert has_emitter="1"
gtk_menu_shell_append.child type_name="MenuItem" ctype="GtkWidget*"
gtk_menu_tool_button_new.icon_widget nullable="1"
gtk_menu_tool_button_new.label nullable="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]