[vala] gtk+-3.0: Update to 3.15.1+89e12495
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Update to 3.15.1+89e12495
- Date: Fri, 31 Oct 2014 13:04:23 +0000 (UTC)
commit 540eacac450cb5e7e6d31114a107651c25adf90f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Oct 31 14:02:12 2014 +0100
gtk+-3.0: Update to 3.15.1+89e12495
vapi/gtk+-3.0.vapi | 53 ++++++++++++++-
vapi/packages/gtk+-3.0/gtk+-3.0.gi | 136 +++++++++++++++++++++++++++++++++++-
2 files changed, 185 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 18b6b4c..0d36884 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -2298,16 +2298,28 @@ namespace Gtk {
public class GLArea : Gtk.Widget, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false, type = "GtkWidget*")]
public GLArea ();
+ public void attach_buffers ();
+ public bool get_auto_render ();
public unowned Gdk.GLContext get_context ();
public bool get_has_alpha ();
public bool get_has_depth_buffer ();
+ public bool get_has_stencil_buffer ();
+ public Gdk.GLProfile get_profile ();
public void make_current ();
+ public void queue_render ();
+ public void set_auto_render (bool auto_render);
public void set_has_alpha (bool has_alpha);
public void set_has_depth_buffer (bool has_depth_buffer);
+ public void set_has_stencil_buffer (bool has_stencil_buffer);
+ public void set_profile (Gdk.GLProfile profile);
+ public bool auto_render { get; set; }
public Gdk.GLContext context { get; }
public bool has_alpha { get; set; }
public bool has_depth_buffer { get; set; }
+ public bool has_stencil_buffer { get; set; }
+ public Gdk.GLProfile profile { get; set construct; }
public virtual signal bool render (Gdk.GLContext context);
+ public virtual signal void resize (int width, int height);
}
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_gesture_get_type ()")]
public abstract class Gesture : Gtk.EventController {
@@ -3454,6 +3466,27 @@ namespace Gtk {
[NoAccessorMethod]
public int ypad { get; set; }
}
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class ModelButton : Gtk.Button, Atk.Implementor, Gtk.Buildable, Gtk.Actionable,
Gtk.Activatable {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public ModelButton ();
+ [NoAccessorMethod]
+ public bool active { get; set; }
+ [NoAccessorMethod]
+ public bool centered { get; set; }
+ [NoAccessorMethod]
+ public GLib.Icon icon { owned get; set; }
+ [NoAccessorMethod]
+ public bool iconic { get; set; }
+ [NoAccessorMethod]
+ public bool inverted { get; set; }
+ [NoAccessorMethod]
+ public string menu_name { owned get; set; }
+ [NoAccessorMethod]
+ public Gtk.ButtonRole role { get; set; }
+ [NoAccessorMethod]
+ public string text { owned get; set; }
+ }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_mount_operation_get_type ()")]
public class MountOperation : GLib.MountOperation {
[CCode (has_construct_function = false, type = "GMountOperation*")]
@@ -3755,6 +3788,12 @@ namespace Gtk {
[CCode (has_construct_function = false)]
protected PopoverAccessible ();
}
+ [CCode (cheader_filename = "gtk/gtk.h")]
+ public class PopoverMenu : Gtk.Popover, Atk.Implementor, Gtk.Buildable {
+ [CCode (has_construct_function = false, type = "GtkWidget*")]
+ public PopoverMenu ();
+ public void open_submenu (string name);
+ }
[CCode (cheader_filename = "gtk/gtk.h", type_id = "gtk_print_context_get_type ()")]
public class PrintContext : GLib.Object {
[CCode (has_construct_function = false)]
@@ -4715,22 +4754,28 @@ namespace Gtk {
public void add_named (Gtk.Widget child, string name);
public void add_titled (Gtk.Widget child, string name, string title);
public unowned Gtk.Widget get_child_by_name (string name);
+ public bool get_hhomogeneous ();
public bool get_homogeneous ();
public uint get_transition_duration ();
public bool get_transition_running ();
public Gtk.StackTransitionType get_transition_type ();
+ public bool get_vhomogeneous ();
public unowned Gtk.Widget get_visible_child ();
public unowned string get_visible_child_name ();
+ public void set_hhomogeneous (bool hhomogeneous);
public void set_homogeneous (bool homogeneous);
public void set_transition_duration (uint duration);
public void set_transition_type (Gtk.StackTransitionType transition);
+ public void set_vhomogeneous (bool vhomogeneous);
public void set_visible_child (Gtk.Widget child);
public void set_visible_child_full (string name, Gtk.StackTransitionType transition);
public void set_visible_child_name (string name);
- public bool homogeneous { get; set construct; }
+ public bool hhomogeneous { get; set construct; }
+ public bool homogeneous { get; set; }
public uint transition_duration { get; set construct; }
public bool transition_running { get; }
public Gtk.StackTransitionType transition_type { get; set construct; }
+ public bool vhomogeneous { get; set construct; }
public Gtk.Widget visible_child { get; set; }
public string visible_child_name { get; set; }
}
@@ -7651,6 +7696,12 @@ namespace Gtk {
CENTER,
EXPAND
}
+ [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTON_ROLE_")]
+ public enum ButtonRole {
+ NORMAL,
+ CHECK,
+ RADIO
+ }
[CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_BUTTONS_")]
public enum ButtonsType {
NONE,
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.gi b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
index 8e638bf..f67c286 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.gi
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.gi
@@ -4655,6 +4655,11 @@
<member name="GTK_BUTTONBOX_CENTER" value="5"/>
<member name="GTK_BUTTONBOX_EXPAND" value="6"/>
</enum>
+ <enum name="GtkButtonRole" type-name="GtkButtonRole" get-type="gtk_button_role_get_type">
+ <member name="GTK_BUTTON_ROLE_NORMAL" value="0"/>
+ <member name="GTK_BUTTON_ROLE_CHECK" value="1"/>
+ <member name="GTK_BUTTON_ROLE_RADIO" value="2"/>
+ </enum>
<enum name="GtkButtonsType" type-name="GtkButtonsType" get-type="gtk_buttons_type_get_type">
<member name="GTK_BUTTONS_NONE" value="0"/>
<member name="GTK_BUTTONS_OK" value="1"/>
@@ -13578,6 +13583,18 @@
<interface name="AtkImplementor"/>
<interface name="GtkBuildable"/>
</implements>
+ <method name="attach_buffers" symbol="gtk_gl_area_attach_buffers">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ </parameters>
+ </method>
+ <method name="get_auto_render" symbol="gtk_gl_area_get_auto_render">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ </parameters>
+ </method>
<method name="get_context" symbol="gtk_gl_area_get_context">
<return-type type="GdkGLContext*"/>
<parameters>
@@ -13596,6 +13613,18 @@
<parameter name="area" type="GtkGLArea*"/>
</parameters>
</method>
+ <method name="get_has_stencil_buffer" symbol="gtk_gl_area_get_has_stencil_buffer">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ </parameters>
+ </method>
+ <method name="get_profile" symbol="gtk_gl_area_get_profile">
+ <return-type type="GdkGLProfile"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ </parameters>
+ </method>
<method name="make_current" symbol="gtk_gl_area_make_current">
<return-type type="void"/>
<parameters>
@@ -13605,6 +13634,19 @@
<constructor name="new" symbol="gtk_gl_area_new">
<return-type type="GtkWidget*"/>
</constructor>
+ <method name="queue_render" symbol="gtk_gl_area_queue_render">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ </parameters>
+ </method>
+ <method name="set_auto_render" symbol="gtk_gl_area_set_auto_render">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ <parameter name="auto_render" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_has_alpha" symbol="gtk_gl_area_set_has_alpha">
<return-type type="void"/>
<parameters>
@@ -13619,9 +13661,26 @@
<parameter name="has_depth_buffer" type="gboolean"/>
</parameters>
</method>
+ <method name="set_has_stencil_buffer" symbol="gtk_gl_area_set_has_stencil_buffer">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ <parameter name="has_stencil_buffer" type="gboolean"/>
+ </parameters>
+ </method>
+ <method name="set_profile" symbol="gtk_gl_area_set_profile">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ <parameter name="profile" type="GdkGLProfile"/>
+ </parameters>
+ </method>
+ <property name="auto-render" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
<property name="context" type="GdkGLContext*" readable="1" writable="0" construct="0"
construct-only="0"/>
<property name="has-alpha" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
<property name="has-depth-buffer" type="gboolean" readable="1" writable="1"
construct="0" construct-only="0"/>
+ <property name="has-stencil-buffer" type="gboolean" readable="1" writable="1"
construct="0" construct-only="0"/>
+ <property name="profile" type="GdkGLProfile" readable="1" writable="1" construct="1"
construct-only="0"/>
<signal name="render" when="LAST">
<return-type type="gboolean"/>
<parameters>
@@ -13629,6 +13688,14 @@
<parameter name="context" type="GdkGLContext*"/>
</parameters>
</signal>
+ <signal name="resize" when="LAST">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="area" type="GtkGLArea*"/>
+ <parameter name="width" type="gint"/>
+ <parameter name="height" type="gint"/>
+ </parameters>
+ </signal>
</object>
<object name="GtkGesture" parent="GtkEventController" type-name="GtkGesture"
get-type="gtk_gesture_get_type">
<method name="get_bounding_box" symbol="gtk_gesture_get_bounding_box">
@@ -18357,6 +18424,25 @@
<property name="yalign" type="gfloat" readable="1" writable="1" construct="0"
construct-only="0"/>
<property name="ypad" type="gint" readable="1" writable="1" construct="0"
construct-only="0"/>
</object>
+ <object name="GtkModelButton" parent="GtkButton" type-name="GtkModelButton"
get-type="gtk_model_button_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ <interface name="GtkActionable"/>
+ <interface name="GtkActivatable"/>
+ </implements>
+ <constructor name="new" symbol="gtk_model_button_new">
+ <return-type type="GtkWidget*"/>
+ </constructor>
+ <property name="active" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="centered" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="icon" type="GIcon*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="iconic" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="inverted" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="menu-name" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="role" type="GtkButtonRole" readable="1" writable="1" construct="0"
construct-only="0"/>
+ <property name="text" type="char*" readable="1" writable="1" construct="0"
construct-only="0"/>
+ </object>
<object name="GtkMountOperation" parent="GMountOperation" type-name="GtkMountOperation"
get-type="gtk_mount_operation_get_type">
<method name="get_parent" symbol="gtk_mount_operation_get_parent">
<return-type type="GtkWindow*"/>
@@ -19623,6 +19709,22 @@
<interface name="AtkComponent"/>
</implements>
</object>
+ <object name="GtkPopoverMenu" parent="GtkPopover" type-name="GtkPopoverMenu"
get-type="gtk_popover_menu_get_type">
+ <implements>
+ <interface name="AtkImplementor"/>
+ <interface name="GtkBuildable"/>
+ </implements>
+ <constructor name="new" symbol="gtk_popover_menu_new">
+ <return-type type="GtkWidget*"/>
+ </constructor>
+ <method name="open_submenu" symbol="gtk_popover_menu_open_submenu">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="popover" type="GtkPopoverMenu*"/>
+ <parameter name="name" type="gchar*"/>
+ </parameters>
+ </method>
+ </object>
<object name="GtkPrintContext" parent="GObject" type-name="GtkPrintContext"
get-type="gtk_print_context_get_type">
<method name="create_pango_context" symbol="gtk_print_context_create_pango_context">
<return-type type="PangoContext*"/>
@@ -22658,6 +22760,12 @@
<parameter name="name" type="gchar*"/>
</parameters>
</method>
+ <method name="get_hhomogeneous" symbol="gtk_stack_get_hhomogeneous">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="stack" type="GtkStack*"/>
+ </parameters>
+ </method>
<method name="get_homogeneous" symbol="gtk_stack_get_homogeneous">
<return-type type="gboolean"/>
<parameters>
@@ -22682,6 +22790,12 @@
<parameter name="stack" type="GtkStack*"/>
</parameters>
</method>
+ <method name="get_vhomogeneous" symbol="gtk_stack_get_vhomogeneous">
+ <return-type type="gboolean"/>
+ <parameters>
+ <parameter name="stack" type="GtkStack*"/>
+ </parameters>
+ </method>
<method name="get_visible_child" symbol="gtk_stack_get_visible_child">
<return-type type="GtkWidget*"/>
<parameters>
@@ -22697,6 +22811,13 @@
<constructor name="new" symbol="gtk_stack_new">
<return-type type="GtkWidget*"/>
</constructor>
+ <method name="set_hhomogeneous" symbol="gtk_stack_set_hhomogeneous">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="stack" type="GtkStack*"/>
+ <parameter name="hhomogeneous" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_homogeneous" symbol="gtk_stack_set_homogeneous">
<return-type type="void"/>
<parameters>
@@ -22718,6 +22839,13 @@
<parameter name="transition" type="GtkStackTransitionType"/>
</parameters>
</method>
+ <method name="set_vhomogeneous" symbol="gtk_stack_set_vhomogeneous">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="stack" type="GtkStack*"/>
+ <parameter name="vhomogeneous" type="gboolean"/>
+ </parameters>
+ </method>
<method name="set_visible_child" symbol="gtk_stack_set_visible_child">
<return-type type="void"/>
<parameters>
@@ -22740,10 +22868,12 @@
<parameter name="name" type="gchar*"/>
</parameters>
</method>
- <property name="homogeneous" type="gboolean" readable="1" writable="1" construct="1"
construct-only="0"/>
+ <property name="hhomogeneous" type="gboolean" readable="1" writable="1" construct="1"
construct-only="0"/>
+ <property name="homogeneous" type="gboolean" readable="1" writable="1" construct="0"
construct-only="0"/>
<property name="transition-duration" type="guint" readable="1" writable="1"
construct="1" construct-only="0"/>
<property name="transition-running" type="gboolean" readable="1" writable="0"
construct="0" construct-only="0"/>
<property name="transition-type" type="GtkStackTransitionType" readable="1"
writable="1" construct="1" construct-only="0"/>
+ <property name="vhomogeneous" type="gboolean" readable="1" writable="1" construct="1"
construct-only="0"/>
<property name="visible-child" type="GtkWidget*" readable="1" writable="1"
construct="0" construct-only="0"/>
<property name="visible-child-name" type="char*" readable="1" writable="1"
construct="0" construct-only="0"/>
</object>
@@ -35202,14 +35332,14 @@
</parameters>
</vfunc>
</interface>
- <constant name="GTK_BINARY_AGE" type="int" value="1500"/>
+ <constant name="GTK_BINARY_AGE" type="int" value="1501"/>
<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="0"/>
+ <constant name="GTK_MICRO_VERSION" type="int" value="1"/>
<constant name="GTK_MINOR_VERSION" type="int" value="15"/>
<constant name="GTK_PAPER_NAME_A3" type="char*" value="iso_a3"/>
<constant name="GTK_PAPER_NAME_A4" type="char*" value="iso_a4"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]