[vala] libpanelapplet-2.0: Add PanelAppletOrient and some missing methods
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] libpanelapplet-2.0: Add PanelAppletOrient and some missing methods
- Date: Tue, 15 Sep 2009 19:39:29 +0000 (UTC)
commit e8c08073d6046e6835dccb38d3fd461ad5c8aab2
Author: Evan Nemerson <evan polussystems com>
Date: Sun Aug 2 15:21:42 2009 -0700
libpanelapplet-2.0: Add PanelAppletOrient and some missing methods
Fixes bug 590544.
vapi/libpanelapplet-2.0.vapi | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/vapi/libpanelapplet-2.0.vapi b/vapi/libpanelapplet-2.0.vapi
index e80b6f9..c8a0407 100644
--- a/vapi/libpanelapplet-2.0.vapi
+++ b/vapi/libpanelapplet-2.0.vapi
@@ -25,12 +25,20 @@ namespace Panel {
public class Applet : Gtk.EventBox {
[CCode (has_construct_function = false)]
public Applet ();
+ public AppletFlags get_flags ();
+ public bool get_locked_down ();
+ public AppletOrient get_orient ();
public string get_preferences_key ();
+ public uint get_size ();
+ public void request_focus (uint32 timestamp);
public void set_flags (AppletFlags flags);
public static int factory_main (string iid, GLib.Type applet_type, AppletFactoryCallback callback);
public void set_background_widget (Gtk.Widget widget);
public void setup_menu (string xml, [CCode (array_length = false)] BonoboUI.Verb[] verb_list, void* data);
public signal void change_background (AppletBackgroundType type, Gdk.Color? color, Gdk.Pixmap? pixmap);
+ public signal void change_orient (uint orient);
+ public signal void change_size (int size);
+ public signal void move_focus_out_of_applet (Gtk.DirectionType direction);
}
[CCode (cprefix = "PANEL_")]
@@ -48,6 +56,14 @@ namespace Panel {
HAS_HANDLE
}
+ [CCode (cprefix = "PANEL_APPLET_ORIENT_")]
+ public enum AppletOrient {
+ UP,
+ DOWN,
+ LEFT,
+ RIGHT
+ }
+
public delegate bool AppletFactoryCallback (Applet applet, string iid);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]