efl/legacy/elementary/src/lib/elm_systray.eo

101 lines
2.8 KiB
Plaintext
Raw Normal View History

class Elm.Systray (Eo.Base)
2014-03-26 06:20:50 -07:00
{
eo_prefix: elm_obj_systray;
data: null;
2015-05-07 09:32:53 -07:00
methods {
@property id {
2014-03-26 06:20:50 -07:00
set {
/*@ Set the id of the Status Notifier Item. */
}
get {
/*@ Get the id of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
const(char)* id @nullable;
2014-03-26 06:20:50 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property category {
2014-03-26 06:20:50 -07:00
set {
/*@ Set the category of the Status Notifier Item. */
}
get {
/*@ Get the category of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
Elm_Systray_Category cat; /*@ Category */
}
}
2015-05-07 09:32:53 -07:00
@property icon_theme_path {
2014-03-26 06:20:50 -07:00
set {
/*@ Set the path to the theme where the icons can be found. Set this value to "" to use the default path. */
}
get {
/*@ Get the path to the icon's theme currently in use. */
2014-03-26 06:20:50 -07:00
}
values {
const(char)* icon_theme_path @nullable;
2014-03-26 06:20:50 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property menu {
2014-03-26 06:20:50 -07:00
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 {
/*@ Get the object path of the D-Bus Menu currently in use. */
2014-03-26 06:20:50 -07:00
}
values {
const(Eo)* menu @nullable;
2014-03-26 06:20:50 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property att_icon_name {
2014-03-26 06:20:50 -07:00
set {
/*@ Set the name of the attention icon to be used by the Status Notifier Item. */
}
get {
/*@ Get the name of the attention icon used by the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
const(char)* att_icon_name @nullable;
2014-03-26 06:20:50 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property status {
2014-03-26 06:20:50 -07:00
set {
/*@ Set the status of the Status Notifier Item. */
}
get {
/*@ Get the status of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
Elm_Systray_Status st; /*@ Status */
}
}
2015-05-07 09:32:53 -07:00
@property icon_name {
2014-03-26 06:20:50 -07:00
set {
/*@ Set the name of the icon to be used by the Status Notifier Item. */
}
get {
/*@ Get the name of the icon used by the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
const(char)* icon_name @nullable;
2014-03-26 06:20:50 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property title {
2014-03-26 06:20:50 -07:00
set {
/*@ Set the title of the Status Notifier Item. */
}
get {
/*@ Get the title of the Status Notifier Item. */
2014-03-26 06:20:50 -07:00
}
values {
const(char)* title @nullable;
2014-03-26 06:20:50 -07:00
}
}
register {
/*@ 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. */
return: bool;
2014-03-26 06:20:50 -07:00
}
}
}