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

65 lines
2.0 KiB
Plaintext
Raw Normal View History

class Elm_App_Client (Eo.Base)
2014-03-18 07:40:24 -07:00
{
legacy_prefix: null;
2014-03-18 07:40:24 -07:00
eo_prefix: elm_app_client;
2015-05-07 09:32:53 -07:00
methods {
@property views {
2014-03-18 07:40:24 -07:00
get {
/*@ Return a iterator with all views of application. */
}
values {
ret: free(own(iterator<Elm_App_Client_View *> *), eina_iterator_free); /*@ The iterator with all views, must be freed after use */
2014-03-18 07:40:24 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property package {
2014-03-18 07:40:24 -07:00
get {
/*@ Return the application package. */
}
values {
ret: const(char)*; /*@ application package */
2014-03-18 07:40:24 -07:00
}
}
2014-09-01 07:57:56 -07:00
constructor {
/*@ Class constructor of elm_app_client. */
legacy: null;
params {
@in package: const(char)*; /*@ Package of application */
}
}
2014-03-18 07:40:24 -07:00
view_all_close {
/*@ Close all views of application. */
}
terminate {
/*@ Terminate application. */
}
view_open {
/*@ Open an application view. */
2014-03-18 07:40:24 -07:00
params {
@in args: Eina_Value * @optional; /*@ an array of */
@in view_open_cb: Elm_App_Client_Open_View_Cb @optional; /*@ callback to be called when view open */
@in data: const(void)* @optional; /*@ calback user data */
2014-03-18 07:40:24 -07:00
}
2015-05-11 07:25:29 -07:00
return: Elm_App_Client_Pending *; /*@ handler to cancel the view opening if it takes to long */
2014-03-18 07:40:24 -07:00
}
view_open_cancel {
/*@ Cancel a pending elm_app_client_view_open(). */
params {
@in pending: Elm_App_Client_Pending *; /*@ the view open handler */
2014-03-18 07:40:24 -07:00
}
}
}
implements {
Eo.Base.destructor;
2014-03-18 07:40:24 -07:00
}
2014-09-01 07:57:56 -07:00
constructors {
.constructor;
}
2014-03-18 07:40:24 -07:00
events {
view,created; /*@ Called when a view of this application is created. */
view,deleted; /*@ Called when a view of this application is deleted. */
view_list,loaded; /*@ Called when list of view is loaded. */
application,terminated; /*@ Called when application is terminated. */
}
}