diff options
author | Juerg Billeter <j@bitron.ch> | 2007-10-09 20:01:49 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2007-10-09 20:01:49 +0000 |
commit | b3940e541c65cf0f2bf8a38790108b64257c8272 (patch) | |
tree | bf6e854234cad7c4430a5d2672458f2ba74e93ba /vapi/libnotify.vapi | |
parent | 1296b89eb0e3f6ca85c1a4f49146910db5fe28b9 (diff) | |
download | vala-b3940e541c65cf0f2bf8a38790108b64257c8272.tar.gz |
Use --basedir in build system and rename all VAPI files to .vapi, requires
2007-10-09 Juerg Billeter <j@bitron.ch>
Use --basedir in build system and rename all VAPI files to .vapi,
requires r646 to build
svn path=/trunk/; revision=647
Diffstat (limited to 'vapi/libnotify.vapi')
-rw-r--r-- | vapi/libnotify.vapi | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/vapi/libnotify.vapi b/vapi/libnotify.vapi new file mode 100644 index 000000000..3cc4985e6 --- /dev/null +++ b/vapi/libnotify.vapi @@ -0,0 +1,51 @@ +/* libnotify.vapi generated by lt-vapigen, do not modify. */ + +[CCode (cprefix = "Notify", lower_case_cprefix = "notify_")] +namespace Notify { + [CCode (cprefix = "NOTIFY_URGENCY_", cheader_filename = "libnotify/notify.h")] + public enum Urgency { + LOW, + NORMAL, + CRITICAL, + } + [CCode (cheader_filename = "libnotify/notify.h")] + public class Notification : GLib.Object { + public void add_action (string action, string label, Notify.ActionCallback callback, pointer user_data, GLib.FreeFunc free_func); + public void attach_to_widget (Gtk.Widget attach); + public void clear_actions (); + public void clear_hints (); + public bool close () throws GLib.Error; + public static GLib.Type get_type (); + public Notification (string summary, string body, string icon, Gtk.Widget attach); + public void set_category (string category); + public void set_geometry_hints (Gdk.Screen screen, int x, int y); + public void set_hint_byte (string key, uchar value); + [NoArrayLength] + public void set_hint_byte_array (string key, uchar[] value, ulong len); + public void set_hint_double (string key, double value); + public void set_hint_int32 (string key, int value); + public void set_hint_string (string key, string value); + public void set_icon_from_pixbuf (Gdk.Pixbuf icon); + public void set_timeout (int timeout); + public void set_urgency (Notify.Urgency urgency); + public bool show () throws GLib.Error; + public bool update (string summary, string body, string icon); + [NoAccessorMethod] + public weak string summary { get; set construct; } + [NoAccessorMethod] + public weak string body { get; set construct; } + [NoAccessorMethod] + public weak string icon_name { get; set construct; } + [NoAccessorMethod] + public weak Gtk.Widget attach_widget { get; set construct; } + [NoAccessorMethod] + public weak Gtk.StatusIcon status_icon { get; set construct; } + public signal void closed (); + } + public static delegate void ActionCallback (Notify.Notification arg1, string arg2, pointer arg3); + public static bool init (string! app_name); + public static weak string get_app_name (); + public static weak GLib.List get_server_caps (); + public static bool get_server_info (out string ret_name, out string ret_vendor, out string ret_version, out string ret_spec_version); + public static bool is_initted (); +} |