public void clear_hints ();
public bool close () throws GLib.Error;
public int get_closed_reason ();
+ public void set_app_name (string app_name);
public void set_category (string category);
public void set_hint (string key, GLib.Variant value);
public void set_hint_byte (string key, uchar value);
public void set_hint_string (string key, string value);
public void set_hint_uint32 (string key, uint value);
public void set_icon_from_pixbuf (Gdk.Pixbuf icon);
- public void set_image_from_pixbuf (Gdk.Pixbuf image);
+ public void set_image_from_pixbuf (Gdk.Pixbuf pixbuf);
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 string app_name { owned get; set; }
+ [NoAccessorMethod]
public string body { owned get; set construct; }
public int closed_reason { get; }
[NoAccessorMethod]
[CCode (cheader_filename = "libnotify/notify.h")]
public static bool is_initted ();
[CCode (cheader_filename = "libnotify/notify.h")]
+ public static void set_app_name (string app_name);
+ [CCode (cheader_filename = "libnotify/notify.h")]
public static void uninit ();
}
<function name="is_initted" symbol="notify_is_initted">
<return-type type="gboolean"/>
</function>
+ <function name="set_app_name" symbol="notify_set_app_name">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="app_name" type="char*"/>
+ </parameters>
+ </function>
<function name="uninit" symbol="notify_uninit">
<return-type type="void"/>
</function>
<parameter name="icon" type="char*"/>
</parameters>
</constructor>
+ <method name="set_app_name" symbol="notify_notification_set_app_name">
+ <return-type type="void"/>
+ <parameters>
+ <parameter name="notification" type="NotifyNotification*"/>
+ <parameter name="app_name" type="char*"/>
+ </parameters>
+ </method>
<method name="set_category" symbol="notify_notification_set_category">
<return-type type="void"/>
<parameters>
<return-type type="void"/>
<parameters>
<parameter name="notification" type="NotifyNotification*"/>
- <parameter name="image" type="GdkPixbuf*"/>
+ <parameter name="pixbuf" type="GdkPixbuf*"/>
</parameters>
</method>
<method name="set_timeout" symbol="notify_notification_set_timeout">
<parameter name="icon" type="char*"/>
</parameters>
</method>
+ <property name="app-name" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
<property name="body" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<property name="closed-reason" type="gint" readable="1" writable="0" construct="0" construct-only="0"/>
<property name="icon-name" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
<constant name="NOTIFY_EXPIRES_DEFAULT" type="int" value="-1"/>
<constant name="NOTIFY_EXPIRES_NEVER" type="int" value="0"/>
<constant name="NOTIFY_VERSION_MAJOR" type="int" value="0"/>
- <constant name="NOTIFY_VERSION_MICRO" type="int" value="0"/>
+ <constant name="NOTIFY_VERSION_MICRO" type="int" value="6"/>
<constant name="NOTIFY_VERSION_MINOR" type="int" value="7"/>
</namespace>
</api>