2014-06-27 15:36:05 -07:00
class Elm_Systray (Eo.Base)
2014-03-26 06:20:50 -07:00
{
eo_prefix: elm_obj_systray;
data: null;
properties {
id {
set {
/*@ Set the id of the Status Notifier Item. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the id of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
2014-06-26 05:24:20 -07:00
const(char)* id;
2014-03-26 06:20:50 -07:00
}
}
category {
set {
/*@ Set the category of the Status Notifier Item. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the category of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
Elm_Systray_Category cat; /*@ Category */
}
}
icon_theme_path {
set {
/*@ Set the path to the theme where the icons can be found. Set this value to "" to use the default path. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the path to the icon's theme currently in use. */
2014-03-26 06:20:50 -07:00
}
values {
2014-06-26 05:24:20 -07:00
const(char)* icon_theme_path;
2014-03-26 06:20:50 -07:00
}
}
menu {
set {
/*@ Set the object path of the D-Bus Menu that is to be show when the Status Notifier Item is activated by the user. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the object path of the D-Bus Menu currently in use. */
2014-03-26 06:20:50 -07:00
}
values {
2014-06-26 05:24:20 -07:00
const(Eo)* menu;
2014-03-26 06:20:50 -07:00
}
}
att_icon_name {
set {
/*@ Set the name of the attention icon to be used by the Status Notifier Item. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the name of the attention icon used by the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
2014-06-26 05:24:20 -07:00
const(char)* att_icon_name;
2014-03-26 06:20:50 -07:00
}
}
status {
set {
/*@ Set the status of the Status Notifier Item. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the status of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
Elm_Systray_Status st; /*@ Status */
}
}
icon_name {
set {
/*@ Set the name of the icon to be used by the Status Notifier Item. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the name of the icon used by the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
2014-06-26 05:24:20 -07:00
const(char)* icon_name;
2014-03-26 06:20:50 -07:00
}
}
title {
set {
/*@ Set the title of the Status Notifier Item. */
}
get {
2014-11-19 02:51:57 -08:00
/*@ Get the title of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
2014-06-26 05:24:20 -07:00
const(char)* title;
2014-03-26 06:20:50 -07:00
}
}
}
methods {
register {
2014-08-31 08:44:10 -07:00
/*@ Register this Status Notifier Item in the System Tray Watcher. This function should only be called after the event #ELM_EVENT_SYSTRAY_READY is emitted. */
2014-08-11 07:46:11 -07:00
return: bool;
2014-03-26 06:20:50 -07:00
}
}
}