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

101 lines
2.8 KiB
Plaintext

class Elm.Systray (Eo.Base)
{
eo_prefix: elm_obj_systray;
data: null;
methods {
@property id {
set {
/*@ Set the id of the Status Notifier Item. */
}
get {
/*@ Get the id of the Status Notifier Item. */
}
values {
const(char)* id @nullable;
}
}
@property category {
set {
/*@ Set the category of the Status Notifier Item. */
}
get {
/*@ Get the category of the Status Notifier Item. */
}
values {
Elm_Systray_Category cat; /*@ Category */
}
}
@property 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 {
/*@ Get the path to the icon's theme currently in use. */
}
values {
const(char)* icon_theme_path @nullable;
}
}
@property 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 {
/*@ Get the object path of the D-Bus Menu currently in use. */
}
values {
const(Eo)* menu @nullable;
}
}
@property att_icon_name {
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. */
}
values {
const(char)* att_icon_name @nullable;
}
}
@property status {
set {
/*@ Set the status of the Status Notifier Item. */
}
get {
/*@ Get the status of the Status Notifier Item. */
}
values {
Elm_Systray_Status st; /*@ Status */
}
}
@property icon_name {
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. */
}
values {
const(char)* icon_name @nullable;
}
}
@property title {
set {
/*@ Set the title of the Status Notifier Item. */
}
get {
/*@ Get the title of the Status Notifier Item. */
}
values {
const(char)* title @nullable;
}
}
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;
}
}
}