[vala] Regenerate gtk+-3.0 vapi
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Regenerate gtk+-3.0 vapi
- Date: Tue, 5 Jul 2011 10:05:15 +0000 (UTC)
commit a8ebed2782a5114f8c59ca1720b066fd24cee210
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Jul 5 12:04:18 2011 +0200
Regenerate gtk+-3.0 vapi
Drop -DGTK_DISABLE_DEPRECATED to avoid losing a bunch of old symbols
(mostly the H/V variants of boxes, scrollbars and so on).
vapi/gtk+-3.0.vapi | 125 ++++++++-
vapi/packages/gtk+-3.0/gtk+-3.0.defines | 1 -
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 429 ++++++++++++++++++++++++++++++-
3 files changed, 528 insertions(+), 27 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 60c34cc..0c94326 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -563,6 +563,8 @@ namespace Gtk {
public void add_window (Gtk.Window window);
public unowned GLib.List<weak Gtk.Window> get_windows ();
public void remove_window (Gtk.Window window);
+ public virtual signal void window_added (Gtk.Window window);
+ public virtual signal void window_removed (Gtk.Window window);
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Arrow : Gtk.Misc, Atk.Implementor, Gtk.Buildable {
@@ -661,6 +663,7 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public BindingSet (string set_name);
public bool activate (uint keyval, Gdk.ModifierType modifiers, GLib.Object object);
+ public void add_path (Gtk.PathType path_type, string path_pattern, Gtk.PathPriorityType priority);
public static unowned Gtk.BindingSet by_class (void* object_class);
public static unowned Gtk.BindingSet find (string set_name);
}
@@ -762,8 +765,10 @@ namespace Gtk {
public class ButtonBox : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public ButtonBox (Gtk.Orientation orientation);
+ public bool get_child_non_homogeneous (Gtk.Widget child);
public bool get_child_secondary (Gtk.Widget child);
public Gtk.ButtonBoxStyle get_layout ();
+ public void set_child_non_homogeneous (Gtk.Widget child, bool non_homogeneous);
public void set_child_secondary (Gtk.Widget child, bool is_secondary);
public void set_layout (Gtk.ButtonBoxStyle layout_style);
[NoAccessorMethod]
@@ -926,7 +931,6 @@ namespace Gtk {
public virtual void get_preferred_width_for_height (Gtk.Widget widget, int height, out int minimum_width, out int natural_width);
public virtual Gtk.SizeRequestMode get_request_mode ();
public bool get_sensitive ();
- [NoWrapper]
public abstract void get_size (Gtk.Widget widget, Gdk.Rectangle? cell_area, out int x_offset, out int y_offset, out int width, out int height);
public Gtk.StateFlags get_state (Gtk.Widget widget, Gtk.CellRendererState cell_state);
public bool get_visible ();
@@ -1190,6 +1194,7 @@ namespace Gtk {
public bool get_draw_sensitive ();
public bool get_fit_model ();
public unowned Gtk.TreeModel get_model ();
+ public bool get_size_of_row (Gtk.TreePath path, out Gtk.Requisition requisition);
public void set_background_color (Gdk.Color color);
public void set_background_rgba (Gdk.RGBA rgba);
public void set_displayed_row (Gtk.TreePath path);
@@ -1315,7 +1320,7 @@ namespace Gtk {
public virtual signal void color_set ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class ColorSelection : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class ColorSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public ColorSelection ();
public uint16 get_current_alpha ();
@@ -1381,7 +1386,7 @@ namespace Gtk {
public int get_wrap_width ();
public void popup_for_device (Gdk.Device device);
public void set_active (int index_);
- public void set_active_id (string active_id);
+ public bool set_active_id (string active_id);
public void set_active_iter (Gtk.TreeIter iter);
public void set_add_tearoffs (bool add_tearoffs);
public void set_button_sensitivity (Gtk.SensitivityType sensitivity);
@@ -1457,6 +1462,7 @@ namespace Gtk {
public void child_get (Gtk.Widget child, ...);
public void child_get_property (Gtk.Widget child, string property_name, GLib.Value value);
public void child_get_valist (Gtk.Widget child, string first_property_name, void* var_args);
+ public void child_notify (Gtk.Widget child, string child_property);
public void child_set (Gtk.Widget child, ...);
public void child_set_property (Gtk.Widget child, string property_name, GLib.Value value);
public void child_set_valist (Gtk.Widget child, string first_property_name, void* var_args);
@@ -1517,6 +1523,8 @@ namespace Gtk {
public bool load_from_data (string data, ssize_t length) throws GLib.Error;
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);
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Dialog : Gtk.Window, Atk.Implementor, Gtk.Buildable {
@@ -1575,6 +1583,7 @@ namespace Gtk {
public void get_layout_offsets (out int x, out int y);
public int get_max_length ();
public bool get_overwrite_mode ();
+ public unowned string get_placeholder_text ();
public double get_progress_fraction ();
public double get_progress_pulse_step ();
public unowned string get_text ();
@@ -1607,6 +1616,7 @@ namespace Gtk {
public void set_invisible_char (unichar ch);
public void set_max_length (int max);
public void set_overwrite_mode (bool overwrite);
+ public void set_placeholder_text (string text);
public void set_progress_fraction (double fraction);
public void set_progress_pulse_step (double fraction);
public void set_text (string text);
@@ -1620,6 +1630,7 @@ namespace Gtk {
public Gtk.EntryBuffer buffer { get; set construct; }
[NoAccessorMethod]
public bool caps_lock_warning { get; set; }
+ public Gtk.EntryCompletion completion { get; set; }
[NoAccessorMethod]
public int cursor_position { get; }
[NoAccessorMethod]
@@ -1633,6 +1644,7 @@ namespace Gtk {
public bool invisible_char_set { get; set; }
public int max_length { get; set; }
public bool overwrite_mode { get; set; }
+ public string placeholder_text { get; set; }
[NoAccessorMethod]
public bool primary_icon_activatable { get; set; }
[NoAccessorMethod]
@@ -1783,6 +1795,7 @@ namespace Gtk {
public unowned string get_label ();
public bool get_label_fill ();
public unowned Gtk.Widget get_label_widget ();
+ public bool get_resize_toplevel ();
public int get_spacing ();
public bool get_use_markup ();
public bool get_use_underline ();
@@ -1790,6 +1803,7 @@ namespace Gtk {
public void set_label (string label);
public void set_label_fill (bool label_fill);
public void set_label_widget (Gtk.Widget label_widget);
+ public void set_resize_toplevel (bool resize_toplevel);
public void set_spacing (int spacing);
public void set_use_markup (bool use_markup);
public void set_use_underline (bool use_underline);
@@ -1799,13 +1813,14 @@ namespace Gtk {
public string label { get; set construct; }
public bool label_fill { get; set construct; }
public Gtk.Widget label_widget { get; set; }
+ public bool resize_toplevel { get; set; }
public int spacing { get; set; }
public bool use_markup { get; set construct; }
public bool use_underline { get; set construct; }
public virtual signal void activate ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class FileChooserButton : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser {
+ public class FileChooserButton : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public FileChooserButton (string title, Gtk.FileChooserAction action);
public bool get_focus_on_click ();
@@ -1828,7 +1843,7 @@ namespace Gtk {
public FileChooserDialog (string? title, Gtk.Window? parent, Gtk.FileChooserAction action, ...);
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class FileChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser, Gtk.FileChooserEmbed {
+ public class FileChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.FileChooser, Gtk.FileChooserEmbed {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public FileChooserWidget (Gtk.FileChooserAction action);
}
@@ -1897,7 +1912,7 @@ namespace Gtk {
public virtual signal void font_set ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class FontSelection : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class FontSelection : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public FontSelection ();
public unowned Pango.FontFace get_face ();
@@ -1958,6 +1973,7 @@ namespace Gtk {
[CCode (has_construct_function = false)]
public Gradient.radial (double x0, double y0, double radius0, double x1, double y1, double radius1);
public bool resolve (Gtk.StyleProperties props, out unowned Cairo.Pattern resolved_gradient);
+ public unowned string to_string ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Grid : Gtk.Container, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
@@ -2103,6 +2119,7 @@ namespace Gtk {
public Gdk.Pixbuf load_icon () throws GLib.Error;
public Gdk.Pixbuf load_symbolic (Gdk.RGBA fg, Gdk.RGBA? success_color = null, Gdk.RGBA? warning_color = null, Gdk.RGBA? error_color = null, out bool was_symbolic = null) throws GLib.Error;
public Gdk.Pixbuf load_symbolic_for_context (Gtk.StyleContext context, out bool was_symbolic = null) throws GLib.Error;
+ public unowned Gdk.Pixbuf load_symbolic_for_style (Gtk.Style style, Gtk.StateType state, bool was_symbolic) throws GLib.Error;
public void set_raw_coordinates (bool raw_coordinates);
}
[Compact]
@@ -2338,7 +2355,7 @@ namespace Gtk {
public bool use_stock { get; set construct; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class InfoBar : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class InfoBar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public InfoBar ();
public void add_action_widget (Gtk.Widget child, int response_id);
@@ -2509,6 +2526,40 @@ namespace Gtk {
public void swap (Gtk.TreeIter a, Gtk.TreeIter b);
}
[CCode (cheader_filename = "gtk/gtk.h")]
+ public class LockButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Activatable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public LockButton (GLib.Permission permission);
+ public unowned GLib.Permission get_permission ();
+ [NoWrapper]
+ public virtual void reserved0 ();
+ [NoWrapper]
+ public virtual void reserved1 ();
+ [NoWrapper]
+ public virtual void reserved2 ();
+ [NoWrapper]
+ public virtual void reserved3 ();
+ [NoWrapper]
+ public virtual void reserved4 ();
+ [NoWrapper]
+ public virtual void reserved5 ();
+ [NoWrapper]
+ public virtual void reserved6 ();
+ [NoWrapper]
+ public virtual void reserved7 ();
+ public void set_permission (GLib.Permission permission);
+ public GLib.Permission permission { get; set; }
+ [NoAccessorMethod]
+ public string text_lock { owned get; set construct; }
+ [NoAccessorMethod]
+ public string text_unlock { owned get; set construct; }
+ [NoAccessorMethod]
+ public string tooltip_lock { owned get; set construct; }
+ [NoAccessorMethod]
+ public string tooltip_not_authorized { owned get; set construct; }
+ [NoAccessorMethod]
+ public string tooltip_unlock { owned get; set construct; }
+ }
+ [CCode (cheader_filename = "gtk/gtk.h")]
public class Menu : Gtk.MenuShell, Atk.Implementor, Gtk.Buildable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public Menu ();
@@ -2792,6 +2843,13 @@ namespace Gtk {
public unowned Gdk.Pixbuf get_pixbuf ();
public unowned Cairo.Surface get_surface ();
}
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class Overlay : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public Overlay ();
+ public void add_overlay (Gtk.Widget widget);
+ public virtual signal bool get_child_position (Gtk.Widget widget, Gdk.Rectangle allocation);
+ }
[Compact]
[CCode (cheader_filename = "gtk/gtk.h")]
public class PageRange {
@@ -3295,7 +3353,7 @@ namespace Gtk {
public bool show_numbers { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class RecentChooserWidget : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
+ public class RecentChooserWidget : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable, Gtk.RecentChooser {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public RecentChooserWidget ();
[CCode (type = "GtkWidget*", has_construct_function = false)]
@@ -3821,7 +3879,7 @@ namespace Gtk {
public virtual signal bool size_changed (int size);
}
[CCode (cheader_filename = "gtk/gtk.h")]
- public class Statusbar : Gtk.HBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ public class Statusbar : Gtk.Box, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public Statusbar ();
public uint get_context_id (string context_description);
@@ -4024,6 +4082,7 @@ namespace Gtk {
public bool resolve (Gtk.StyleProperties props, Gdk.RGBA resolved_color);
[CCode (has_construct_function = false)]
public SymbolicColor.shade (Gtk.SymbolicColor color, double factor);
+ public unowned string to_string ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Table : Gtk.Container, Atk.Implementor, Gtk.Buildable {
@@ -4110,7 +4169,7 @@ namespace Gtk {
public uint inside_selection;
public uint is_text;
[CCode (array_length = false)]
- public weak uint[] padding;
+ public weak Gdk.RGBA[] rgba;
public int rise;
public uint strikethrough;
public uint underline;
@@ -4132,6 +4191,7 @@ namespace Gtk {
[CCode (array_length = false)]
public weak uint[] padding;
public Gdk.Color pg_bg_color;
+ public Gdk.RGBA pg_bg_rgba;
public int pixels_above_lines;
public int pixels_below_lines;
public int pixels_inside_wrap;
@@ -4286,6 +4346,8 @@ namespace Gtk {
[NoAccessorMethod]
public Gdk.Color background_gdk { get; set; }
[NoAccessorMethod]
+ public Gdk.RGBA background_rgba { get; set; }
+ [NoAccessorMethod]
public bool background_set { get; set; }
[NoAccessorMethod]
public Gtk.TextDirection direction { get; set; }
@@ -4306,6 +4368,8 @@ namespace Gtk {
[NoAccessorMethod]
public Gdk.Color foreground_gdk { get; set; }
[NoAccessorMethod]
+ public Gdk.RGBA foreground_rgba { get; set; }
+ [NoAccessorMethod]
public bool foreground_set { get; set; }
[NoAccessorMethod]
public int indent { get; set; }
@@ -4334,6 +4398,8 @@ namespace Gtk {
[NoAccessorMethod]
public Gdk.Color paragraph_background_gdk { get; set; }
[NoAccessorMethod]
+ public Gdk.RGBA paragraph_background_rgba { get; set; }
+ [NoAccessorMethod]
public bool paragraph_background_set { get; set; }
[NoAccessorMethod]
public int pixels_above_lines { get; set; }
@@ -4431,6 +4497,7 @@ namespace Gtk {
public bool get_cursor_visible ();
public unowned Gtk.TextAttributes get_default_attributes ();
public bool get_editable ();
+ public unowned Gtk.Adjustment get_hadjustment ();
public int get_indent ();
public void get_iter_at_location (out Gtk.TextIter iter, int x, int y);
public void get_iter_at_position (out Gtk.TextIter iter, out int trailing, int x, int y);
@@ -4445,6 +4512,7 @@ namespace Gtk {
public int get_pixels_inside_wrap ();
public int get_right_margin ();
public unowned Pango.TabArray get_tabs ();
+ public unowned Gtk.Adjustment get_vadjustment ();
public void get_visible_rect (out Gdk.Rectangle visible_rect);
public unowned Gdk.Window get_window (Gtk.TextWindowType win);
public Gtk.TextWindowType get_window_type (Gdk.Window window);
@@ -4560,6 +4628,8 @@ namespace Gtk {
[NoWrapper]
public virtual void render_handle (Cairo.Context cr, double x, double y, double width, double height);
[NoWrapper]
+ public virtual void render_icon (Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
+ [NoWrapper]
public virtual unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.IconSource source, Gtk.IconSize size);
[NoWrapper]
public virtual void render_layout (Cairo.Context cr, double x, double y, Pango.Layout layout);
@@ -4719,8 +4789,10 @@ namespace Gtk {
public bool get_exclusive (Gtk.ToolItemGroup group);
public bool get_expand (Gtk.ToolItemGroup group);
public int get_group_position (Gtk.ToolItemGroup group);
+ public unowned Gtk.Adjustment get_hadjustment ();
public Gtk.IconSize get_icon_size ();
public Gtk.ToolbarStyle get_style ();
+ public unowned Gtk.Adjustment get_vadjustment ();
public void set_drag_source (Gtk.ToolPaletteDragTargets targets);
public void set_exclusive (Gtk.ToolItemGroup group, bool exclusive);
public void set_expand (Gtk.ToolItemGroup group, bool expand);
@@ -4882,6 +4954,7 @@ namespace Gtk {
public void unselect_iter (Gtk.TreeIter iter);
public void unselect_path (Gtk.TreePath path);
public void unselect_range (Gtk.TreePath start_path, Gtk.TreePath end_path);
+ public Gtk.SelectionMode mode { get; set; }
public virtual signal void changed ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
@@ -4947,6 +5020,7 @@ namespace Gtk {
public unowned Gtk.TreeViewColumn get_expander_column ();
public bool get_fixed_height_mode ();
public Gtk.TreeViewGridLines get_grid_lines ();
+ public unowned Gtk.Adjustment get_hadjustment ();
public bool get_headers_clickable ();
public bool get_headers_visible ();
public bool get_hover_expand ();
@@ -4966,6 +5040,7 @@ namespace Gtk {
public bool get_show_expanders ();
public int get_tooltip_column ();
public bool get_tooltip_context (out int x, out int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out unowned Gtk.TreePath path, out Gtk.TreeIter iter);
+ public unowned Gtk.Adjustment get_vadjustment ();
public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
public void get_visible_rect (out Gdk.Rectangle visible_rect);
public int insert_column (Gtk.TreeViewColumn column, int position);
@@ -4990,6 +5065,7 @@ namespace Gtk {
public void set_expander_column (Gtk.TreeViewColumn column);
public void set_fixed_height_mode (bool enable);
public void set_grid_lines (Gtk.TreeViewGridLines grid_lines);
+ public void set_hadjustment (Gtk.Adjustment adjustment);
public void set_headers_clickable (bool setting);
public void set_headers_visible (bool headers_visible);
public void set_hover_expand (bool expand);
@@ -5008,6 +5084,7 @@ namespace Gtk {
public void set_tooltip_cell (Gtk.Tooltip tooltip, Gtk.TreePath path, Gtk.TreeViewColumn column, Gtk.CellRenderer cell);
public void set_tooltip_column (int column);
public void set_tooltip_row (Gtk.Tooltip tooltip, Gtk.TreePath path);
+ public void set_vadjustment (Gtk.Adjustment adjustment);
public void unset_rows_drag_dest ();
public void unset_rows_drag_source ();
[CCode (type = "GtkWidget*", has_construct_function = false)]
@@ -5075,6 +5152,7 @@ namespace Gtk {
public bool get_visible ();
public unowned Gtk.Widget get_widget ();
public int get_width ();
+ public int get_x_offset ();
public void queue_resize ();
public void set_alignment (float xalign);
public void set_attributes (Gtk.CellRenderer cell_renderer, ...);
@@ -5116,6 +5194,7 @@ namespace Gtk {
public bool visible { get; set; }
public Gtk.Widget widget { get; set; }
public int width { get; }
+ public int x_offset { get; }
[HasEmitter]
public virtual signal void clicked ();
}
@@ -5237,6 +5316,7 @@ namespace Gtk {
public bool get_app_paintable ();
public bool get_can_default ();
public bool get_can_focus ();
+ public void get_child_requisition (out Gtk.Requisition requisition);
public bool get_child_visible ();
public unowned Gtk.Clipboard get_clipboard (Gdk.Atom selection);
public unowned string get_composite_name ();
@@ -5536,11 +5616,13 @@ namespace Gtk {
public int width;
}
[Compact]
- [CCode (copy_function = "gtk_widget_path_copy", type_id = "GTK_TYPE_WIDGET_PATH", cheader_filename = "gtk/gtk.h")]
+ [CCode (ref_function = "gtk_widget_path_ref", unref_function = "gtk_widget_path_unref", type_id = "GTK_TYPE_WIDGET_PATH", cheader_filename = "gtk/gtk.h")]
public class WidgetPath {
[CCode (has_construct_function = false)]
public WidgetPath ();
+ public int append_for_widget (Gtk.Widget widget);
public int append_type (GLib.Type type);
+ public int append_with_siblings (Gtk.WidgetPath siblings, uint sibling_index);
public unowned Gtk.WidgetPath copy ();
public GLib.Type get_object_type ();
public bool has_parent (GLib.Type type);
@@ -5551,6 +5633,8 @@ namespace Gtk {
public void iter_clear_regions (int pos);
public unowned string iter_get_name (int pos);
public GLib.Type iter_get_object_type (int pos);
+ public uint iter_get_sibling_index (int pos);
+ public unowned Gtk.WidgetPath iter_get_siblings (int pos);
public bool iter_has_class (int pos, string name);
public bool iter_has_name (int pos, string name);
public bool iter_has_qclass (int pos, GLib.Quark qname);
@@ -5565,6 +5649,7 @@ namespace Gtk {
public void iter_set_object_type (int pos, GLib.Type type);
public int length ();
public void prepend_type (GLib.Type type);
+ public unowned string to_string ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class Window : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
@@ -6362,7 +6447,12 @@ namespace Gtk {
}
[CCode (cprefix = "GTK_CSS_PROVIDER_ERROR_", cheader_filename = "gtk/gtk.h")]
public enum CssProviderError {
- FAILED
+ FAILED,
+ SYNTAX,
+ IMPORT,
+ NAME,
+ DEPRECATED,
+ UNKNOWN_VALUE
}
[CCode (cprefix = "GTK_DEBUG_", cheader_filename = "gtk/gtk.h")]
[Flags]
@@ -6888,7 +6978,8 @@ namespace Gtk {
[CCode (cprefix = "GTK_SIZE_REQUEST_", cheader_filename = "gtk/gtk.h")]
public enum SizeRequestMode {
HEIGHT_FOR_WIDTH,
- WIDTH_FOR_HEIGHT
+ WIDTH_FOR_HEIGHT,
+ CONSTANT_SIZE
}
[CCode (cprefix = "GTK_SORT_COLUMN_", cname = "gint", cheader_filename = "gtk/gtk.h")]
public enum SortColumn {
@@ -7628,6 +7719,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_HORIZONTAL;
[CCode (cheader_filename = "gtk/gtk.h")]
+ public const string STYLE_CLASS_IMAGE;
+ [CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_INFO;
[CCode (cheader_filename = "gtk/gtk.h")]
public const string STYLE_CLASS_INLINE_TOOLBAR;
@@ -7798,6 +7891,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_set_icon_default (Gdk.DragContext context);
[CCode (cheader_filename = "gtk/gtk.h")]
+ public static void drag_set_icon_gicon (Gdk.DragContext context, GLib.Icon icon, int hot_x, int hot_y);
+ [CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_set_icon_name (Gdk.DragContext context, string icon_name, int hot_x, int hot_y);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_set_icon_pixbuf (Gdk.DragContext context, Gdk.Pixbuf pixbuf, int hot_x, int hot_y);
@@ -7818,6 +7913,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_source_set (Gtk.Widget widget, Gdk.ModifierType start_button_mask, Gtk.TargetEntry[] targets, Gdk.DragAction actions);
[CCode (cheader_filename = "gtk/gtk.h")]
+ public static void drag_source_set_icon_gicon (Gtk.Widget widget, GLib.Icon icon);
+ [CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_source_set_icon_name (Gtk.Widget widget, string icon_name);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void drag_source_set_icon_pixbuf (Gtk.Widget widget, Gdk.Pixbuf pixbuf);
@@ -8012,6 +8109,8 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static void render_handle (Gtk.StyleContext context, Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "gtk/gtk.h")]
+ public static void render_icon (Gtk.StyleContext context, Cairo.Context cr, Gdk.Pixbuf pixbuf, double x, double y);
+ [CCode (cheader_filename = "gtk/gtk.h")]
public static unowned Gdk.Pixbuf render_icon_pixbuf (Gtk.StyleContext context, Gtk.IconSource source, Gtk.IconSize size);
[CCode (cheader_filename = "gtk/gtk.h")]
public static void render_layout (Gtk.StyleContext context, Cairo.Context cr, double x, double y, Pango.Layout layout);
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.defines b/vapi/packages/gtk+-3.0/gtk+-3.0.defines
index 2c0a547..2043b78 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.defines
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.defines
@@ -1,3 +1,2 @@
-DGTK_COMPILATION
--DGTK_DISABLE_DEPRECATED
-DGSEAL_ENABLE
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index b1d77f5..670c8dd 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -256,6 +256,15 @@
<parameter name="context" type="GdkDragContext*"/>
</parameters>
</function>
+ <function name="drag_set_icon_gicon" symbol="gtk_drag_set_icon_gicon">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context" type="GdkDragContext*"/>
+ <parameter name="icon" type="GIcon*"/>
+ <parameter name="hot_x" type="gint"/>
+ <parameter name="hot_y" type="gint"/>
+ </parameters>
+ </function>
<function name="drag_set_icon_name" symbol="gtk_drag_set_icon_name">
<return-type type="void"/>
<parameters>
@@ -333,6 +342,13 @@
<parameter name="actions" type="GdkDragAction"/>
</parameters>
</function>
+ <function name="drag_source_set_icon_gicon" symbol="gtk_drag_source_set_icon_gicon">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="icon" type="GIcon*"/>
+ </parameters>
+ </function>
<function name="drag_source_set_icon_name" symbol="gtk_drag_source_set_icon_name">
<return-type type="void"/>
<parameters>
@@ -1127,6 +1143,16 @@
<parameter name="height" type="gdouble"/>
</parameters>
</function>
+ <function name="render_icon" symbol="gtk_render_icon">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="context" type="GtkStyleContext*"/>
+ <parameter name="cr" type="cairo_t*"/>
+ <parameter name="pixbuf" type="GdkPixbuf*"/>
+ <parameter name="x" type="gdouble"/>
+ <parameter name="y" type="gdouble"/>
+ </parameters>
+ </function>
<function name="render_icon_pixbuf" symbol="gtk_render_icon_pixbuf">
<return-type type="GdkPixbuf*"/>
<parameters>
@@ -2006,6 +2032,15 @@
<parameter name="object" type="GObject*"/>
</parameters>
</method>
+ <method name="add_path" symbol="gtk_binding_set_add_path">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="binding_set" type="GtkBindingSet*"/>
+ <parameter name="path_type" type="GtkPathType"/>
+ <parameter name="path_pattern" type="gchar*"/>
+ <parameter name="priority" type="GtkPathPriorityType"/>
+ </parameters>
+ </method>
<method name="by_class" symbol="gtk_binding_set_by_class">
<return-type type="GtkBindingSet*"/>
<parameters>
@@ -2200,7 +2235,7 @@
<field name="draw_bg" type="guint"/>
<field name="inside_selection" type="guint"/>
<field name="is_text" type="guint"/>
- <field name="padding" type="guint[]"/>
+ <field name="rgba" type="GdkRGBA*[]"/>
</struct>
<struct name="GtkTextBTree">
</struct>
@@ -2288,6 +2323,12 @@
<parameter name="resolved_gradient" type="cairo_pattern_t**"/>
</parameters>
</method>
+ <method name="to_string" symbol="gtk_gradient_to_string">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="gradient" type="GtkGradient*"/>
+ </parameters>
+ </method>
<method name="unref" symbol="gtk_gradient_unref">
<return-type type="void"/>
<parameters>
@@ -2375,6 +2416,16 @@
<parameter name="error" type="GError**"/>
</parameters>
</method>
+ <method name="load_symbolic_for_style" symbol="gtk_icon_info_load_symbolic_for_style">
+ <return-type type="GdkPixbuf*"/>
+ <parameters>
+ <parameter name="icon_info" type="GtkIconInfo*"/>
+ <parameter name="style" type="GtkStyle*"/>
+ <parameter name="state" type="GtkStateType"/>
+ <parameter name="was_symbolic" type="gboolean*"/>
+ <parameter name="error" type="GError**"/>
+ </parameters>
+ </method>
<constructor name="new_for_pixbuf" symbol="gtk_icon_info_new_for_pixbuf">
<return-type type="GtkIconInfo*"/>
<parameters>
@@ -3113,6 +3164,12 @@
<parameter name="resolved_color" type="GdkRGBA*"/>
</parameters>
</method>
+ <method name="to_string" symbol="gtk_symbolic_color_to_string">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="color" type="GtkSymbolicColor*"/>
+ </parameters>
+ </method>
<method name="unref" symbol="gtk_symbolic_color_unref">
<return-type type="void"/>
<parameters>
@@ -3277,6 +3334,7 @@
<field name="invisible" type="guint"/>
<field name="bg_full_height" type="guint"/>
<field name="editable" type="guint"/>
+ <field name="pg_bg_rgba" type="GdkRGBA*"/>
<field name="padding" type="guint[]"/>
</boxed>
<boxed name="GtkTextIter" type-name="GtkTextIter" get-type="gtk_text_iter_get_type">
@@ -4097,6 +4155,13 @@
</method>
</boxed>
<boxed name="GtkWidgetPath" type-name="GtkWidgetPath" get-type="gtk_widget_path_get_type">
+ <method name="append_for_widget" symbol="gtk_widget_path_append_for_widget">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="path" type="GtkWidgetPath*"/>
+ <parameter name="widget" type="GtkWidget*"/>
+ </parameters>
+ </method>
<method name="append_type" symbol="gtk_widget_path_append_type">
<return-type type="gint"/>
<parameters>
@@ -4104,6 +4169,14 @@
<parameter name="type" type="GType"/>
</parameters>
</method>
+ <method name="append_with_siblings" symbol="gtk_widget_path_append_with_siblings">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="path" type="GtkWidgetPath*"/>
+ <parameter name="siblings" type="GtkWidgetPath*"/>
+ <parameter name="sibling_index" type="guint"/>
+ </parameters>
+ </method>
<method name="copy" symbol="gtk_widget_path_copy">
<return-type type="GtkWidgetPath*"/>
<parameters>
@@ -4181,6 +4254,20 @@
<parameter name="pos" type="gint"/>
</parameters>
</method>
+ <method name="iter_get_sibling_index" symbol="gtk_widget_path_iter_get_sibling_index">
+ <return-type type="guint"/>
+ <parameters>
+ <parameter name="path" type="GtkWidgetPath*"/>
+ <parameter name="pos" type="gint"/>
+ </parameters>
+ </method>
+ <method name="iter_get_siblings" symbol="gtk_widget_path_iter_get_siblings">
+ <return-type type="GtkWidgetPath*"/>
+ <parameters>
+ <parameter name="path" type="GtkWidgetPath*"/>
+ <parameter name="pos" type="gint"/>
+ </parameters>
+ </method>
<method name="iter_has_class" symbol="gtk_widget_path_iter_has_class">
<return-type type="gboolean"/>
<parameters>
@@ -4293,6 +4380,24 @@
<parameter name="type" type="GType"/>
</parameters>
</method>
+ <method name="ref" symbol="gtk_widget_path_ref">
+ <return-type type="GtkWidgetPath*"/>
+ <parameters>
+ <parameter name="path" type="GtkWidgetPath*"/>
+ </parameters>
+ </method>
+ <method name="to_string" symbol="gtk_widget_path_to_string">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="path" type="GtkWidgetPath*"/>
+ </parameters>
+ </method>
+ <method name="unref" symbol="gtk_widget_path_unref">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="path" type="GtkWidgetPath*"/>
+ </parameters>
+ </method>
</boxed>
<enum name="GtkAlign" type-name="GtkAlign" get-type="gtk_align_get_type">
<member name="GTK_ALIGN_FILL" value="0"/>
@@ -4369,6 +4474,11 @@
</enum>
<enum name="GtkCssProviderError" type-name="GtkCssProviderError" get-type="gtk_css_provider_error_get_type">
<member name="GTK_CSS_PROVIDER_ERROR_FAILED" value="0"/>
+ <member name="GTK_CSS_PROVIDER_ERROR_SYNTAX" value="1"/>
+ <member name="GTK_CSS_PROVIDER_ERROR_IMPORT" value="2"/>
+ <member name="GTK_CSS_PROVIDER_ERROR_NAME" value="3"/>
+ <member name="GTK_CSS_PROVIDER_ERROR_DEPRECATED" value="4"/>
+ <member name="GTK_CSS_PROVIDER_ERROR_UNKNOWN_VALUE" value="5"/>
</enum>
<enum name="GtkDeleteType" type-name="GtkDeleteType" get-type="gtk_delete_type_get_type">
<member name="GTK_DELETE_CHARS" value="0"/>
@@ -4755,6 +4865,7 @@
<enum name="GtkSizeRequestMode" type-name="GtkSizeRequestMode" get-type="gtk_size_request_mode_get_type">
<member name="GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH" value="0"/>
<member name="GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT" value="1"/>
+ <member name="GTK_SIZE_REQUEST_CONSTANT_SIZE" value="2"/>
</enum>
<enum name="GtkSortType" type-name="GtkSortType" get-type="gtk_sort_type_get_type">
<member name="GTK_SORT_ASCENDING" value="0"/>
@@ -6496,6 +6607,20 @@
<parameter name="window" type="GtkWindow*"/>
</parameters>
</method>
+ <signal name="window-added" when="FIRST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="application" type="GtkApplication*"/>
+ <parameter name="window" type="GtkWindow*"/>
+ </parameters>
+ </signal>
+ <signal name="window-removed" when="FIRST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="application" type="GtkApplication*"/>
+ <parameter name="window" type="GtkWindow*"/>
+ </parameters>
+ </signal>
</object>
<object name="GtkArrow" parent="GtkMisc" type-name="GtkArrow" get-type="gtk_arrow_get_type">
<implements>
@@ -6990,6 +7115,12 @@
<parameter name="button" type="GtkButton*"/>
</parameters>
</method>
+ <method name="enter" symbol="gtk_button_enter">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="button" type="GtkButton*"/>
+ </parameters>
+ </method>
<method name="get_alignment" symbol="gtk_button_get_alignment">
<return-type type="void"/>
<parameters>
@@ -7046,6 +7177,12 @@
<parameter name="button" type="GtkButton*"/>
</parameters>
</method>
+ <method name="leave" symbol="gtk_button_leave">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="button" type="GtkButton*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="gtk_button_new">
<return-type type="GtkWidget*"/>
</constructor>
@@ -7067,6 +7204,18 @@
<parameter name="label" type="gchar*"/>
</parameters>
</constructor>
+ <method name="pressed" symbol="gtk_button_pressed">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="button" type="GtkButton*"/>
+ </parameters>
+ </method>
+ <method name="released" symbol="gtk_button_released">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="button" type="GtkButton*"/>
+ </parameters>
+ </method>
<method name="set_alignment" symbol="gtk_button_set_alignment">
<return-type type="void"/>
<parameters>
@@ -7176,6 +7325,13 @@
<interface name="GtkBuildable"/>
<interface name="GtkOrientable"/>
</implements>
+ <method name="get_child_non_homogeneous" symbol="gtk_button_box_get_child_non_homogeneous">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="widget" type="GtkButtonBox*"/>
+ <parameter name="child" type="GtkWidget*"/>
+ </parameters>
+ </method>
<method name="get_child_secondary" symbol="gtk_button_box_get_child_secondary">
<return-type type="gboolean"/>
<parameters>
@@ -7195,6 +7351,14 @@
<parameter name="orientation" type="GtkOrientation"/>
</parameters>
</constructor>
+ <method name="set_child_non_homogeneous" symbol="gtk_button_box_set_child_non_homogeneous">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget" type="GtkButtonBox*"/>
+ <parameter name="child" type="GtkWidget*"/>
+ <parameter name="non_homogeneous" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_child_secondary" symbol="gtk_button_box_set_child_secondary">
<return-type type="void"/>
<parameters>
@@ -8237,6 +8401,18 @@
<parameter name="cell" type="GtkCellRenderer*"/>
</parameters>
</method>
+ <method name="get_size" symbol="gtk_cell_renderer_get_size">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="cell" type="GtkCellRenderer*"/>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="cell_area" type="GdkRectangle*"/>
+ <parameter name="x_offset" type="gint*"/>
+ <parameter name="y_offset" type="gint*"/>
+ <parameter name="width" type="gint*"/>
+ <parameter name="height" type="gint*"/>
+ </parameters>
+ </method>
<method name="get_state" symbol="gtk_cell_renderer_get_state">
<return-type type="GtkStateFlags"/>
<parameters>
@@ -8697,6 +8873,14 @@
<parameter name="cell_view" type="GtkCellView*"/>
</parameters>
</method>
+ <method name="get_size_of_row" symbol="gtk_cell_view_get_size_of_row">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="cell_view" type="GtkCellView*"/>
+ <parameter name="path" type="GtkTreePath*"/>
+ <parameter name="requisition" type="GtkRequisition*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="gtk_cell_view_new">
<return-type type="GtkWidget*"/>
</constructor>
@@ -9204,7 +9388,7 @@
</parameters>
</signal>
</object>
- <object name="GtkColorSelection" parent="GtkVBox" type-name="GtkColorSelection" get-type="gtk_color_selection_get_type">
+ <object name="GtkColorSelection" parent="GtkBox" type-name="GtkColorSelection" get-type="gtk_color_selection_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
@@ -9549,7 +9733,7 @@
</parameters>
</method>
<method name="set_active_id" symbol="gtk_combo_box_set_active_id">
- <return-type type="void"/>
+ <return-type type="gboolean"/>
<parameters>
<parameter name="combo_box" type="GtkComboBox*"/>
<parameter name="active_id" type="gchar*"/>
@@ -9823,6 +10007,14 @@
<parameter name="var_args" type="va_list"/>
</parameters>
</method>
+ <method name="child_notify" symbol="gtk_container_child_notify">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="container" type="GtkContainer*"/>
+ <parameter name="child" type="GtkWidget*"/>
+ <parameter name="child_property" type="gchar*"/>
+ </parameters>
+ </method>
<method name="child_set" symbol="gtk_container_child_set">
<return-type type="void"/>
<parameters>
@@ -10150,6 +10342,22 @@
<constructor name="new" symbol="gtk_css_provider_new">
<return-type type="GtkCssProvider*"/>
</constructor>
+ <method name="to_string" symbol="gtk_css_provider_to_string">
+ <return-type type="char*"/>
+ <parameters>
+ <parameter name="provider" type="GtkCssProvider*"/>
+ </parameters>
+ </method>
+ <signal name="parsing-error" when="LAST">
+ <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="error" type="GError*"/>
+ </parameters>
+ </signal>
</object>
<object name="GtkDialog" parent="GtkWindow" type-name="GtkDialog" get-type="gtk_dialog_get_type">
<implements>
@@ -10450,6 +10658,12 @@
<parameter name="entry" type="GtkEntry*"/>
</parameters>
</method>
+ <method name="get_placeholder_text" symbol="gtk_entry_get_placeholder_text">
+ <return-type type="gchar*"/>
+ <parameters>
+ <parameter name="entry" type="GtkEntry*"/>
+ </parameters>
+ </method>
<method name="get_progress_fraction" symbol="gtk_entry_get_progress_fraction">
<return-type type="gdouble"/>
<parameters>
@@ -10671,6 +10885,13 @@
<parameter name="overwrite" type="gboolean"/>
</parameters>
</method>
+ <method name="set_placeholder_text" symbol="gtk_entry_set_placeholder_text">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="entry" type="GtkEntry*"/>
+ <parameter name="text" type="gchar*"/>
+ </parameters>
+ </method>
<method name="set_progress_fraction" symbol="gtk_entry_set_progress_fraction">
<return-type type="void"/>
<parameters>
@@ -10722,6 +10943,7 @@
<property name="activates-default" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="buffer" type="GtkEntryBuffer*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="caps-lock-warning" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="completion" type="GtkEntryCompletion*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="cursor-position" type="gint" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="editable" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="has-frame" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -10731,6 +10953,7 @@
<property name="invisible-char-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="max-length" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="overwrite-mode" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="placeholder-text" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="primary-icon-activatable" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="primary-icon-gicon" type="GIcon*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="primary-icon-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -11273,6 +11496,12 @@
<parameter name="expander" type="GtkExpander*"/>
</parameters>
</method>
+ <method name="get_resize_toplevel" symbol="gtk_expander_get_resize_toplevel">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="expander" type="GtkExpander*"/>
+ </parameters>
+ </method>
<method name="get_spacing" symbol="gtk_expander_get_spacing">
<return-type type="gint"/>
<parameters>
@@ -11331,6 +11560,13 @@
<parameter name="label_widget" type="GtkWidget*"/>
</parameters>
</method>
+ <method name="set_resize_toplevel" symbol="gtk_expander_set_resize_toplevel">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="expander" type="GtkExpander*"/>
+ <parameter name="resize_toplevel" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_spacing" symbol="gtk_expander_set_spacing">
<return-type type="void"/>
<parameters>
@@ -11356,6 +11592,7 @@
<property name="label" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="label-fill" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="label-widget" type="GtkWidget*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="resize-toplevel" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="spacing" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="use-markup" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="use-underline" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
@@ -11366,7 +11603,7 @@
</parameters>
</signal>
</object>
- <object name="GtkFileChooserButton" parent="GtkHBox" type-name="GtkFileChooserButton" get-type="gtk_file_chooser_button_get_type">
+ <object name="GtkFileChooserButton" parent="GtkBox" type-name="GtkFileChooserButton" get-type="gtk_file_chooser_button_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
@@ -11452,7 +11689,7 @@
</parameters>
</constructor>
</object>
- <object name="GtkFileChooserWidget" parent="GtkVBox" type-name="GtkFileChooserWidget" get-type="gtk_file_chooser_widget_get_type">
+ <object name="GtkFileChooserWidget" parent="GtkBox" type-name="GtkFileChooserWidget" get-type="gtk_file_chooser_widget_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
@@ -11664,7 +11901,7 @@
</parameters>
</signal>
</object>
- <object name="GtkFontSelection" parent="GtkVBox" type-name="GtkFontSelection" get-type="gtk_font_selection_get_type">
+ <object name="GtkFontSelection" parent="GtkBox" type-name="GtkFontSelection" get-type="gtk_font_selection_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
@@ -13397,7 +13634,7 @@
<property name="image" type="GtkWidget*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="use-stock" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
</object>
- <object name="GtkInfoBar" parent="GtkHBox" type-name="GtkInfoBar" get-type="gtk_info_bar_get_type">
+ <object name="GtkInfoBar" parent="GtkBox" type-name="GtkInfoBar" get-type="gtk_info_bar_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
@@ -14184,6 +14421,62 @@
</parameters>
</method>
</object>
+ <object name="GtkLockButton" parent="GtkButton" type-name="GtkLockButton" get-type="gtk_lock_button_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkActivatable"/>
+ </implements>
+ <method name="get_permission" symbol="gtk_lock_button_get_permission">
+ <return-type type="GPermission*"/>
+ <parameters>
+ <parameter name="button" type="GtkLockButton*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="gtk_lock_button_new">
+ <return-type type="GtkWidget*"/>
+ <parameters>
+ <parameter name="permission" type="GPermission*"/>
+ </parameters>
+ </constructor>
+ <method name="set_permission" symbol="gtk_lock_button_set_permission">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="button" type="GtkLockButton*"/>
+ <parameter name="permission" type="GPermission*"/>
+ </parameters>
+ </method>
+ <property name="permission" type="GPermission*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="text-lock" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="text-unlock" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="tooltip-lock" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="tooltip-not-authorized" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <property name="tooltip-unlock" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
+ <vfunc name="reserved0">
+ <return-type type="void"/>
+ </vfunc>
+ <vfunc name="reserved1">
+ <return-type type="void"/>
+ </vfunc>
+ <vfunc name="reserved2">
+ <return-type type="void"/>
+ </vfunc>
+ <vfunc name="reserved3">
+ <return-type type="void"/>
+ </vfunc>
+ <vfunc name="reserved4">
+ <return-type type="void"/>
+ </vfunc>
+ <vfunc name="reserved5">
+ <return-type type="void"/>
+ </vfunc>
+ <vfunc name="reserved6">
+ <return-type type="void"/>
+ </vfunc>
+ <vfunc name="reserved7">
+ <return-type type="void"/>
+ </vfunc>
+ </object>
<object name="GtkMenu" parent="GtkMenuShell" type-name="GtkMenu" get-type="gtk_menu_get_type">
<implements>
<interface name="AtkImplementor"/>
@@ -15507,6 +15800,30 @@
<return-type type="GtkWidget*"/>
</constructor>
</object>
+ <object name="GtkOverlay" parent="GtkBin" type-name="GtkOverlay" get-type="gtk_overlay_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ </implements>
+ <method name="add_overlay" symbol="gtk_overlay_add_overlay">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="overlay" type="GtkOverlay*"/>
+ <parameter name="widget" type="GtkWidget*"/>
+ </parameters>
+ </method>
+ <constructor name="new" symbol="gtk_overlay_new">
+ <return-type type="GtkWidget*"/>
+ </constructor>
+ <signal name="get-child-position" when="LAST">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="overlay" type="GtkOverlay*"/>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="allocation" type="GdkRectangle*"/>
+ </parameters>
+ </signal>
+ </object>
<object name="GtkPageSetup" parent="GObject" type-name="GtkPageSetup" get-type="gtk_page_setup_get_type">
<method name="copy" symbol="gtk_page_setup_copy">
<return-type type="GtkPageSetup*"/>
@@ -17495,7 +17812,7 @@
<return-type type="void"/>
</vfunc>
</object>
- <object name="GtkRecentChooserWidget" parent="GtkVBox" type-name="GtkRecentChooserWidget" get-type="gtk_recent_chooser_widget_get_type">
+ <object name="GtkRecentChooserWidget" parent="GtkBox" type-name="GtkRecentChooserWidget" get-type="gtk_recent_chooser_widget_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
@@ -18857,7 +19174,7 @@
</parameters>
</signal>
</object>
- <object name="GtkStatusbar" parent="GtkHBox" type-name="GtkStatusbar" get-type="gtk_statusbar_get_type">
+ <object name="GtkStatusbar" parent="GtkBox" type-name="GtkStatusbar" get-type="gtk_statusbar_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
@@ -20823,6 +21140,7 @@
<property name="background-full-height" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="background-full-height-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="background-gdk" type="GdkColor*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="background-rgba" type="GdkRGBA*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="background-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="direction" type="GtkTextDirection" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="editable" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -20833,6 +21151,7 @@
<property name="font-desc" type="PangoFontDescription*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="foreground" type="char*" readable="0" writable="1" construct="0" construct-only="0"/>
<property name="foreground-gdk" type="GdkColor*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="foreground-rgba" type="GdkRGBA*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="foreground-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="indent" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="indent-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -20847,6 +21166,7 @@
<property name="name" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
<property name="paragraph-background" type="char*" readable="0" writable="1" construct="0" construct-only="0"/>
<property name="paragraph-background-gdk" type="GdkColor*" readable="1" writable="1" construct="0" construct-only="0"/>
+ <property name="paragraph-background-rgba" type="GdkRGBA*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="paragraph-background-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="pixels-above-lines" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="pixels-above-lines-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
@@ -21063,6 +21383,12 @@
<parameter name="text_view" type="GtkTextView*"/>
</parameters>
</method>
+ <method name="get_hadjustment" symbol="gtk_text_view_get_hadjustment">
+ <return-type type="GtkAdjustment*"/>
+ <parameters>
+ <parameter name="text_view" type="GtkTextView*"/>
+ </parameters>
+ </method>
<method name="get_indent" symbol="gtk_text_view_get_indent">
<return-type type="gint"/>
<parameters>
@@ -21162,6 +21488,12 @@
<parameter name="text_view" type="GtkTextView*"/>
</parameters>
</method>
+ <method name="get_vadjustment" symbol="gtk_text_view_get_vadjustment">
+ <return-type type="GtkAdjustment*"/>
+ <parameters>
+ <parameter name="text_view" type="GtkTextView*"/>
+ </parameters>
+ </method>
<method name="get_visible_rect" symbol="gtk_text_view_get_visible_rect">
<return-type type="void"/>
<parameters>
@@ -21796,6 +22128,16 @@
<parameter name="height" type="gdouble"/>
</parameters>
</vfunc>
+ <vfunc name="render_icon">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="engine" type="GtkThemingEngine*"/>
+ <parameter name="cr" type="cairo_t*"/>
+ <parameter name="pixbuf" type="GdkPixbuf*"/>
+ <parameter name="x" type="gdouble"/>
+ <parameter name="y" type="gdouble"/>
+ </parameters>
+ </vfunc>
<vfunc name="render_icon_pixbuf">
<return-type type="GdkPixbuf*"/>
<parameters>
@@ -22517,6 +22859,12 @@
<parameter name="group" type="GtkToolItemGroup*"/>
</parameters>
</method>
+ <method name="get_hadjustment" symbol="gtk_tool_palette_get_hadjustment">
+ <return-type type="GtkAdjustment*"/>
+ <parameters>
+ <parameter name="palette" type="GtkToolPalette*"/>
+ </parameters>
+ </method>
<method name="get_icon_size" symbol="gtk_tool_palette_get_icon_size">
<return-type type="GtkIconSize"/>
<parameters>
@@ -22529,6 +22877,12 @@
<parameter name="palette" type="GtkToolPalette*"/>
</parameters>
</method>
+ <method name="get_vadjustment" symbol="gtk_tool_palette_get_vadjustment">
+ <return-type type="GtkAdjustment*"/>
+ <parameters>
+ <parameter name="palette" type="GtkToolPalette*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="gtk_tool_palette_new">
<return-type type="GtkWidget*"/>
</constructor>
@@ -23123,6 +23477,7 @@
<parameter name="end_path" type="GtkTreePath*"/>
</parameters>
</method>
+ <property name="mode" type="GtkSelectionMode" readable="1" writable="1" construct="0" construct-only="0"/>
<signal name="changed" when="FIRST">
<return-type type="void"/>
<parameters>
@@ -23557,6 +23912,12 @@
<parameter name="tree_view" type="GtkTreeView*"/>
</parameters>
</method>
+ <method name="get_hadjustment" symbol="gtk_tree_view_get_hadjustment">
+ <return-type type="GtkAdjustment*"/>
+ <parameters>
+ <parameter name="tree_view" type="GtkTreeView*"/>
+ </parameters>
+ </method>
<method name="get_headers_clickable" symbol="gtk_tree_view_get_headers_clickable">
<return-type type="gboolean"/>
<parameters>
@@ -23683,6 +24044,12 @@
<parameter name="iter" type="GtkTreeIter*"/>
</parameters>
</method>
+ <method name="get_vadjustment" symbol="gtk_tree_view_get_vadjustment">
+ <return-type type="GtkAdjustment*"/>
+ <parameters>
+ <parameter name="tree_view" type="GtkTreeView*"/>
+ </parameters>
+ </method>
<method name="get_visible_range" symbol="gtk_tree_view_get_visible_range">
<return-type type="gboolean"/>
<parameters>
@@ -23891,6 +24258,13 @@
<parameter name="grid_lines" type="GtkTreeViewGridLines"/>
</parameters>
</method>
+ <method name="set_hadjustment" symbol="gtk_tree_view_set_hadjustment">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="tree_view" type="GtkTreeView*"/>
+ <parameter name="adjustment" type="GtkAdjustment*"/>
+ </parameters>
+ </method>
<method name="set_headers_clickable" symbol="gtk_tree_view_set_headers_clickable">
<return-type type="void"/>
<parameters>
@@ -24027,6 +24401,13 @@
<parameter name="path" type="GtkTreePath*"/>
</parameters>
</method>
+ <method name="set_vadjustment" symbol="gtk_tree_view_set_vadjustment">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="tree_view" type="GtkTreeView*"/>
+ <parameter name="adjustment" type="GtkAdjustment*"/>
+ </parameters>
+ </method>
<method name="unset_rows_drag_dest" symbol="gtk_tree_view_unset_rows_drag_dest">
<return-type type="void"/>
<parameters>
@@ -24353,6 +24734,12 @@
<parameter name="tree_column" type="GtkTreeViewColumn*"/>
</parameters>
</method>
+ <method name="get_x_offset" symbol="gtk_tree_view_column_get_x_offset">
+ <return-type type="gint"/>
+ <parameters>
+ <parameter name="tree_column" type="GtkTreeViewColumn*"/>
+ </parameters>
+ </method>
<constructor name="new" symbol="gtk_tree_view_column_new">
<return-type type="GtkTreeViewColumn*"/>
</constructor>
@@ -24538,6 +24925,7 @@
<property name="visible" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="widget" type="GtkWidget*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="width" type="gint" readable="1" writable="0" construct="0" construct-only="0"/>
+ <property name="x-offset" type="gint" readable="1" writable="0" construct="0" construct-only="0"/>
<signal name="clicked" when="LAST">
<return-type type="void"/>
<parameters>
@@ -25108,6 +25496,13 @@
<parameter name="widget" type="GtkWidget*"/>
</parameters>
</method>
+ <method name="get_child_requisition" symbol="gtk_widget_get_child_requisition">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="requisition" type="GtkRequisition*"/>
+ </parameters>
+ </method>
<method name="get_child_visible" symbol="gtk_widget_get_child_visible">
<return-type type="gboolean"/>
<parameters>
@@ -26200,6 +26595,13 @@
<parameter name="allocation" type="GtkAllocation*"/>
</parameters>
</method>
+ <method name="size_request" symbol="gtk_widget_size_request">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="widget" type="GtkWidget*"/>
+ <parameter name="requisition" type="GtkRequisition*"/>
+ </parameters>
+ </method>
<method name="style_attach" symbol="gtk_widget_style_attach">
<return-type type="void"/>
<parameters>
@@ -29903,13 +30305,13 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="5"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="107"/>
<constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
- <constant name="GTK_INTERFACE_AGE" type="int" value="5"/>
+ <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="5"/>
- <constant name="GTK_MINOR_VERSION" type="int" value="0"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="7"/>
+ <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"/>
<constant name="GTK_PAPER_NAME_A5" type="char*" value="iso_a5"/>
@@ -30071,6 +30473,7 @@
<constant name="GTK_STYLE_CLASS_HEADER" type="char*" value="header"/>
<constant name="GTK_STYLE_CLASS_HIGHLIGHT" type="char*" value="highlight"/>
<constant name="GTK_STYLE_CLASS_HORIZONTAL" type="char*" value="horizontal"/>
+ <constant name="GTK_STYLE_CLASS_IMAGE" type="char*" value="image"/>
<constant name="GTK_STYLE_CLASS_INFO" type="char*" value="info"/>
<constant name="GTK_STYLE_CLASS_INLINE_TOOLBAR" type="char*" value="inline-toolbar"/>
<constant name="GTK_STYLE_CLASS_MARK" type="char*" value="mark"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]