Commit 8e7e415f authored by Rico Tzschichholz's avatar Rico Tzschichholz

gtk+-3.0: Update to 3.11.3+

parent b65e3dc8
......@@ -310,6 +310,7 @@ namespace Gtk {
public class AccelLabel : Gtk.Label, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public AccelLabel (string str);
public void get_accel (uint accelerator_key, Gdk.ModifierType accelerator_mods);
public unowned Gtk.Widget get_accel_widget ();
public uint get_accel_width ();
public bool refetch ();
......@@ -429,6 +430,18 @@ namespace Gtk {
public virtual signal void activate ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class ActionBar : Gtk.Container, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public ActionBar ();
public unowned Gtk.Widget get_center_widget ();
public void pack_end (Gtk.Widget child);
public void pack_start (Gtk.Widget child);
public void set_center_widget (Gtk.Widget? center_widget);
public Gtk.Widget center_widget { get; set construct; }
[NoAccessorMethod]
public int spacing { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
[Deprecated (since = "3.10")]
public class ActionGroup : GLib.Object, Gtk.Buildable {
[CCode (has_construct_function = false)]
......@@ -2360,6 +2373,7 @@ namespace Gtk {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public HeaderBar ();
public unowned Gtk.Widget get_custom_title ();
public unowned string get_decoration_layout ();
public bool get_has_subtitle ();
public bool get_show_close_button ();
public unowned string get_subtitle ();
......@@ -2367,11 +2381,15 @@ namespace Gtk {
public void pack_end (Gtk.Widget child);
public void pack_start (Gtk.Widget child);
public void set_custom_title (Gtk.Widget title_widget);
public void set_decoration_layout (string layout);
public void set_has_subtitle (bool setting);
public void set_show_close_button (bool setting);
public void set_subtitle (string? subtitle);
public void set_title (string title);
public Gtk.Widget custom_title { get; set construct; }
public string decoration_layout { get; set; }
[NoAccessorMethod]
public bool decoration_layout_set { get; set; }
public bool has_subtitle { get; set; }
public bool show_close_button { get; set; }
[NoAccessorMethod]
......@@ -2446,6 +2464,7 @@ namespace Gtk {
public unowned string get_display_name ();
public bool get_embedded_rect (out Gdk.Rectangle rectangle);
public unowned string get_filename ();
public bool is_symbolic ();
public Gdk.Pixbuf load_icon () throws GLib.Error;
public async Gdk.Pixbuf load_icon_async (GLib.Cancellable? cancellable = null) throws GLib.Error;
public Cairo.Surface load_surface (Gdk.Window for_window) throws GLib.Error;
......@@ -2848,7 +2867,7 @@ namespace Gtk {
public virtual signal void populate_popup (Gtk.Menu menu);
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Text {
public class LabelAccessible : Gtk.WidgetAccessible, Atk.Component, Atk.Text, Atk.Hypertext {
[CCode (has_construct_function = false)]
protected LabelAccessible ();
}
......@@ -3123,6 +3142,11 @@ namespace Gtk {
public Gtk.Menu popup { get; set; }
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class MenuButtonAccessible : Gtk.ToggleButtonAccessible, Atk.Component, Atk.Action, Atk.Image {
[CCode (has_construct_function = false)]
protected MenuButtonAccessible ();
}
[CCode (cheader_filename = "gtk/gtk.h")]
public class MenuItem : Gtk.Bin, Atk.Implementor, Gtk.Buildable, Gtk.Activatable, Gtk.Actionable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public MenuItem ();
......@@ -4276,6 +4300,8 @@ namespace Gtk {
[NoAccessorMethod]
public int gtk_cursor_theme_size { get; set; }
[NoAccessorMethod]
public string gtk_decoration_layout { owned get; set; }
[NoAccessorMethod]
public int gtk_dnd_drag_threshold { get; set; }
[NoAccessorMethod]
public int gtk_double_click_distance { get; set; }
......@@ -5720,6 +5746,8 @@ namespace Gtk {
[CCode (has_construct_function = false, sentinel = "-1")]
public TreePath.from_indices (...);
[CCode (has_construct_function = false)]
public TreePath.from_indicesv (int indices, size_t length);
[CCode (has_construct_function = false)]
public TreePath.from_string (string path);
public int get_depth ();
[CCode (cname = "gtk_tree_path_get_indices_with_depth")]
......
......@@ -4175,6 +4175,13 @@
<parameter name="first_index" type="gint"/>
</parameters>
</constructor>
<constructor name="new_from_indicesv" symbol="gtk_tree_path_new_from_indicesv">
<return-type type="GtkTreePath*"/>
<parameters>
<parameter name="indices" type="gint*"/>
<parameter name="length" type="gsize"/>
</parameters>
</constructor>
<constructor name="new_from_string" symbol="gtk_tree_path_new_from_string">
<return-type type="GtkTreePath*"/>
<parameters>
......@@ -5692,6 +5699,14 @@
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
</implements>
<method name="get_accel" symbol="gtk_accel_label_get_accel">
<return-type type="void"/>
<parameters>
<parameter name="accel_label" type="GtkAccelLabel*"/>
<parameter name="accelerator_key" type="guint*"/>
<parameter name="accelerator_mods" type="GdkModifierType*"/>
</parameters>
</method>
<method name="get_accel_widget" symbol="gtk_accel_label_get_accel_widget">
<return-type type="GtkWidget*"/>
<parameters>
......@@ -6210,6 +6225,44 @@
</parameters>
</vfunc>
</object>
<object name="GtkActionBar" parent="GtkContainer" type-name="GtkActionBar" get-type="gtk_action_bar_get_type">
<implements>
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
</implements>
<method name="get_center_widget" symbol="gtk_action_bar_get_center_widget">
<return-type type="GtkWidget*"/>
<parameters>
<parameter name="bar" type="GtkActionBar*"/>
</parameters>
</method>
<constructor name="new" symbol="gtk_action_bar_new">
<return-type type="GtkWidget*"/>
</constructor>
<method name="pack_end" symbol="gtk_action_bar_pack_end">
<return-type type="void"/>
<parameters>
<parameter name="bar" type="GtkActionBar*"/>
<parameter name="child" type="GtkWidget*"/>
</parameters>
</method>
<method name="pack_start" symbol="gtk_action_bar_pack_start">
<return-type type="void"/>
<parameters>
<parameter name="bar" type="GtkActionBar*"/>
<parameter name="child" type="GtkWidget*"/>
</parameters>
</method>
<method name="set_center_widget" symbol="gtk_action_bar_set_center_widget">
<return-type type="void"/>
<parameters>
<parameter name="bar" type="GtkActionBar*"/>
<parameter name="center_widget" type="GtkWidget*"/>
</parameters>
</method>
<property name="center-widget" type="GtkWidget*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="spacing" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
</object>
<object name="GtkActionGroup" parent="GObject" type-name="GtkActionGroup" get-type="gtk_action_group_get_type">
<implements>
<interface name="GtkBuildable"/>
......@@ -13643,6 +13696,12 @@
<parameter name="bar" type="GtkHeaderBar*"/>
</parameters>
</method>
<method name="get_decoration_layout" symbol="gtk_header_bar_get_decoration_layout">
<return-type type="gchar*"/>
<parameters>
<parameter name="bar" type="GtkHeaderBar*"/>
</parameters>
</method>
<method name="get_has_subtitle" symbol="gtk_header_bar_get_has_subtitle">
<return-type type="gboolean"/>
<parameters>
......@@ -13691,6 +13750,13 @@
<parameter name="title_widget" type="GtkWidget*"/>
</parameters>
</method>
<method name="set_decoration_layout" symbol="gtk_header_bar_set_decoration_layout">
<return-type type="void"/>
<parameters>
<parameter name="bar" type="GtkHeaderBar*"/>
<parameter name="layout" type="gchar*"/>
</parameters>
</method>
<method name="set_has_subtitle" symbol="gtk_header_bar_set_has_subtitle">
<return-type type="void"/>
<parameters>
......@@ -13720,6 +13786,8 @@
</parameters>
</method>
<property name="custom-title" type="GtkWidget*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="decoration-layout" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="decoration-layout-set" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="has-subtitle" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="show-close-button" 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"/>
......@@ -14059,6 +14127,12 @@
<parameter name="icon_info" type="GtkIconInfo*"/>
</parameters>
</method>
<method name="is_symbolic" symbol="gtk_icon_info_is_symbolic">
<return-type type="gboolean"/>
<parameters>
<parameter name="icon_info" type="GtkIconInfo*"/>
</parameters>
</method>
<method name="load_icon" symbol="gtk_icon_info_load_icon">
<return-type type="GdkPixbuf*"/>
<parameters>
......@@ -15740,6 +15814,7 @@
<implements>
<interface name="AtkComponent"/>
<interface name="AtkText"/>
<interface name="AtkHypertext"/>
</implements>
</object>
<object name="GtkLayout" parent="GtkContainer" type-name="GtkLayout" get-type="gtk_layout_get_type">
......@@ -16815,6 +16890,13 @@
<property name="menu-model" type="GMenuModel*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="popup" type="GtkMenu*" readable="1" writable="1" construct="0" construct-only="0"/>
</object>
<object name="GtkMenuButtonAccessible" parent="GtkToggleButtonAccessible" type-name="GtkMenuButtonAccessible" get-type="gtk_menu_button_accessible_get_type">
<implements>
<interface name="AtkComponent"/>
<interface name="AtkAction"/>
<interface name="AtkImage"/>
</implements>
</object>
<object name="GtkMenuItem" parent="GtkBin" type-name="GtkMenuItem" get-type="gtk_menu_item_get_type">
<implements>
<interface name="AtkImplementor"/>
......@@ -21035,6 +21117,7 @@
<property name="gtk-cursor-blink-timeout" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-cursor-theme-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-cursor-theme-size" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-decoration-layout" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-dnd-drag-threshold" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-double-click-distance" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="gtk-double-click-time" type="gint" readable="1" writable="1" construct="0" construct-only="0"/>
......@@ -33918,14 +34001,14 @@
</parameters>
</vfunc>
</interface>
<constant name="GTK_BINARY_AGE" type="int" value="1103"/>
<constant name="GTK_BINARY_AGE" type="int" value="1104"/>
<constant name="GTK_INPUT_ERROR" type="int" value="-1"/>
<constant name="GTK_INTERFACE_AGE" type="int" value="0"/>
<constant name="GTK_LEVEL_BAR_OFFSET_HIGH" type="char*" value="high"/>
<constant name="GTK_LEVEL_BAR_OFFSET_LOW" type="char*" value="low"/>
<constant name="GTK_MAJOR_VERSION" type="int" value="3"/>
<constant name="GTK_MAX_COMPOSE_LEN" type="int" value="7"/>
<constant name="GTK_MICRO_VERSION" type="int" value="3"/>
<constant name="GTK_MICRO_VERSION" type="int" value="4"/>
<constant name="GTK_MINOR_VERSION" type="int" value="11"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
......@@ -27,6 +27,7 @@ gtk_action_new.tooltip nullable="1"
gtk_action_new.stock_id nullable="1"
GtkAction deprecated_since="3.10" replacement="GLib.Action"
GtkAction::activate has_emitter="1"
gtk_action_bar_set_center_widget.center_widget nullable="1"
GtkActionEntry is_value_type="1"
GtkActionEntry.callback type_name="ActionCallback" ctype="GCallback" no_delegate_target="1" value_owned="0"
GtkActionGroup deprecated_since="3.10"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment