2016-02-17 03:49:28 -08:00
|
|
|
import eldbus_types;
|
|
|
|
|
2016-05-12 03:17:29 -07:00
|
|
|
class Eldbus.Model.Method (Eldbus.Model.Arguments) {
|
2016-04-20 03:45:09 -07:00
|
|
|
[[Eldbus model method class]]
|
2015-01-09 08:20:14 -08:00
|
|
|
methods {
|
2017-10-25 18:05:41 -07:00
|
|
|
@property proxy {
|
2015-01-09 08:20:14 -08:00
|
|
|
[[Custom Eldbus_Model_Method constructor.
|
|
|
|
|
2017-10-25 18:05:41 -07:00
|
|
|
@since 1.21]]
|
|
|
|
set {}
|
|
|
|
values {
|
|
|
|
proxy: ptr(Eldbus.Proxy); [[Eldbus proxy]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property method {
|
|
|
|
[[Object]]
|
|
|
|
set {}
|
|
|
|
values {
|
|
|
|
@cref method: Eldbus.Introspection.Method; [[The introspected interface]]
|
2015-01-09 08:20:14 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
call {
|
|
|
|
[[Calls the method. The properties must have been set.
|
|
|
|
|
|
|
|
The event EMODEL_EVENT_PROPERTIES_CHANGED is raised for output arguments (properties).
|
|
|
|
|
|
|
|
The event ELDBUS_MODEL_METHOD_EVENT_METHOD_CALLED is raised for a successful call. Otherwise
|
|
|
|
|
|
|
|
@since 1.16]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2017-10-25 18:05:41 -07:00
|
|
|
Efl.Object.finalize;
|
2015-01-09 08:20:14 -08:00
|
|
|
}
|
|
|
|
constructors {
|
2017-10-25 18:05:41 -07:00
|
|
|
.proxy;
|
|
|
|
.method;
|
2015-01-09 08:20:14 -08:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
successful,call; [[Event dispatched for a successful method call.]]
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|