summaryrefslogtreecommitdiff
path: root/vapi
diff options
authorGord Allott <gord.allott@canonical.com>2010-07-13 10:59:02 +0100
committerGord Allott <gord.allott@canonical.com>2010-07-13 10:59:02 +0100
commit6cecf49c66586415bda4a6ccc69b139fb8f1e75c (patch)
treef53c6fcff12a1dafedc3afa35af48cfccb06524a /vapi
parentf0776a92d7018e2dc5658a7db9ca2fe1e7661f82 (diff)
add the new clutk vapi
(bzr r368.4.10)
Diffstat (limited to 'vapi')
-rw-r--r--vapi/clutk-0.3.vapi60
1 files changed, 60 insertions, 0 deletions
diff --git a/vapi/clutk-0.3.vapi b/vapi/clutk-0.3.vapi
index d74f24711..06891ce1f 100644
--- a/vapi/clutk-0.3.vapi
+++ b/vapi/clutk-0.3.vapi
@@ -85,6 +85,20 @@ namespace Ctk {
public virtual signal void show_context_menu (uint event_time);
}
[CCode (cheader_filename = "clutk/clutk.h")]
+ public class CheckMenuItem : Ctk.MenuItem, Clutter.Scriptable, Ctk.Focusable, Clutter.Container {
+ [CCode (has_construct_function = false)]
+ public CheckMenuItem ();
+ public bool get_active ();
+ public bool get_inconsistent ();
+ public void set_active (bool is_active);
+ public void set_inconsistent (bool setting);
+ [CCode (has_construct_function = false)]
+ public CheckMenuItem.with_label (string label);
+ public bool active { get; set; }
+ public bool inconsistent { get; set; }
+ public virtual signal void toggled ();
+ }
+ [CCode (cheader_filename = "clutk/clutk.h")]
public class Effect : GLib.InitiallyUnowned {
public unowned Clutter.Animation animate (ulong mode, uint duration, ...);
public unowned Clutter.Actor get_actor ();
@@ -162,8 +176,14 @@ namespace Ctk {
public class IconView : Ctk.Actor, Clutter.Scriptable, Ctk.Focusable, Clutter.Container {
[CCode (type = "ClutterActor*", has_construct_function = false)]
public IconView ();
+ public uint get_n_cols ();
+ public uint get_n_rows ();
public int get_spacing ();
public void set_spacing (int spacing);
+ [NoAccessorMethod]
+ public bool auto_fade_children { get; set construct; }
+ public uint n_cols { get; }
+ public uint n_rows { get; }
public int spacing { get; set construct; }
}
[CCode (cheader_filename = "clutk/clutk.h")]
@@ -206,6 +226,16 @@ namespace Ctk {
public string stock_id { owned get; set; }
}
[CCode (cheader_filename = "clutk/clutk.h")]
+ public class ImageMenuItem : Ctk.MenuItem, Clutter.Scriptable, Ctk.Focusable, Clutter.Container {
+ [CCode (has_construct_function = false)]
+ public ImageMenuItem ();
+ public unowned Gdk.Pixbuf get_image ();
+ public void set_image (Gdk.Pixbuf pixbuf);
+ [CCode (has_construct_function = false)]
+ public ImageMenuItem.with_label (string label);
+ public Gdk.Pixbuf image { get; set; }
+ }
+ [CCode (cheader_filename = "clutk/clutk.h")]
public class Layer : GLib.Object {
[CCode (has_construct_function = false)]
public Layer (uint width, uint height, Ctk.LayerRepeatMode image_repeat, Ctk.LayerRepeatMode mask_repeat);
@@ -317,6 +347,34 @@ namespace Ctk {
public MenuSeperator ();
}
[Compact]
+ [CCode (cheader_filename = "clutk/clutk.h")]
+ public class ProjectedTextureVertex {
+ public Cogl.Color color;
+ public float q;
+ public float r;
+ public float s;
+ public float t;
+ public float w;
+ public float x;
+ public float y;
+ public float z;
+ }
+ [CCode (cheader_filename = "clutk/clutk.h")]
+ public class RadioMenuItem : Ctk.CheckMenuItem, Clutter.Scriptable, Ctk.Focusable, Clutter.Container {
+ [CCode (has_construct_function = false)]
+ public RadioMenuItem (GLib.SList group);
+ public unowned GLib.SList get_group ();
+ public void set_group (GLib.SList group);
+ [CCode (has_construct_function = false)]
+ public RadioMenuItem.with_label (GLib.SList group, string label);
+ public void* group { get; set; }
+ public virtual signal void group_changed ();
+ }
+ [Compact]
+ [CCode (cheader_filename = "clutk/clutk.h")]
+ public class RadioMenuItemClass {
+ }
+ [Compact]
[CCode (type_id = "CTK_TYPE_RENDER_TARGET", cheader_filename = "clutk/clutk.h")]
public class RenderTarget {
[CCode (has_construct_function = false)]
@@ -505,5 +563,7 @@ namespace Ctk {
[CCode (cheader_filename = "clutk/clutk.h")]
public static double pixel_to_em (int pixel_value);
[CCode (cheader_filename = "clutk/clutk.h")]
+ public static void render_projected_polygon (Ctk.ProjectedTextureVertex V, uint tex_id, int window_w, int window_h);
+ [CCode (cheader_filename = "clutk/clutk.h")]
public static void surface_blur (Cairo.Surface surface, uint radius);
}