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

124 lines
3.4 KiB
Plaintext
Raw Normal View History

class Elm_App_Client_View (Eo.Base)
2014-03-18 08:37:44 -07:00
{
legacy_prefix: null;
2014-03-18 08:37:44 -07:00
eo_prefix: elm_app_client_view;
2015-05-07 09:32:53 -07:00
methods {
@property state {
2014-03-18 08:37:44 -07:00
get {
/*@ Get state of view */
}
values {
state: Elm_App_View_State; /*@ state of view */
2014-03-18 08:37:44 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property new_events {
2014-03-18 08:37:44 -07:00
get {
/*@ Get new events of view */
}
values {
events: int; /*@ number of events of view */
2014-03-18 08:37:44 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property window {
2014-03-18 08:37:44 -07:00
get {
/*@ Get window of view */
}
values {
window: int; /*@ window of view */
2014-03-18 08:37:44 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property icon_pixels {
2014-03-18 08:37:44 -07:00
get {
/*@ Get icon pixels of view, view could have a icon in raw format not saved in disk. */
}
values {
w: uint; /*@ icon width */
h: uint; /*@ icon height */
has_alpha: bool; /*@ if icon have alpha channel */
pixels: const(ubyte)*; /*@ uchar array, with all bytes of icon */
2014-03-18 08:37:44 -07:00
}
}
path_set {
params {
path: const(char) *;
}
}
2015-05-07 09:32:53 -07:00
@property path {
2014-03-18 08:37:44 -07:00
get {
/*@ Get DBus path of view */
}
values {
ret: Eina_Stringshare *; /*@ DBus path of view */
2014-03-18 08:37:44 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property package {
2014-03-18 08:37:44 -07:00
get {
/*@ Get application package */
}
values {
ret: const(char)*; /*@ Package of application */
2014-03-18 08:37:44 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property icon {
2014-03-18 08:37:44 -07:00
get {
/*@ Get icon path of view */
}
values {
ret: const(char)*; /*@ icon path of view */
2014-03-18 08:37:44 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property progress {
2014-03-18 08:37:44 -07:00
get {
/*@ Get progress of view, should be -1 if there nothing in progress or something between 0-100 */
}
values {
progress: ushort; /*@ progress of view */
2014-03-18 08:37:44 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property title {
2014-03-18 08:37:44 -07:00
get {
/*@ Get title of view */
}
values {
ret: const(char)*; /*@ title of view */
2014-03-18 08:37:44 -07:00
}
}
pause {
/*@ Pause view */
params {
@in cb: Elm_App_Client_View_Cb @optional; /*@ callback to be called when view was paused */
@in data: const(void)* @optional; /*@ callback user data */
2014-03-18 08:37:44 -07:00
}
}
resume {
/*@ Resume view */
params {
@in cb: Elm_App_Client_View_Cb @optional; /*@ callback to be called when view was resumed */
@in data: const(void)* @optional; /*@ callback user data */
2014-03-18 08:37:44 -07:00
}
}
close {
/*@ Close view */
params {
@in cb: Elm_App_Client_View_Cb @optional; /*@ callback to be called when view was closed */
@in data: const(void)* @optional; /*@ callback user data */
2014-03-18 08:37:44 -07:00
}
}
}
implements {
Eo.Base.destructor;
Eo.Base.finalize;
2014-09-01 07:57:56 -07:00
}
2014-03-18 08:37:44 -07:00
events {
state,changed; /*@ State of view changed. */
title,changed; /*@ Title of view changed. */
icon,changed; /*@ Icon of view changed. */
icon,pixels,changed; /*@ Icons pixels of view changed. */
new_events,changed; /*@ New events of view changed. */
progress,changed; /*@ Progress of view changed. */
window,changed; /*@ Window of view changed. */
property,changed; /*@ One of view properties changed. */
}
}