eolian: remove pointers from complex and class types

Complex types (i.e. list, array, hash, accessor etc.) now do not require
pointers with them anymore (the pointer is implied) and the same goes for
class handles. Eolian now explicitly disallows creating pointers to these
as well. This is the first part of the work to remove pointers from Eolian
completely, with the goal of simplifying the DSL (higher level) and therefore
making it easier for bindings (as well as easier API usage).

@feature
This commit is contained in:
Daniel Kolesa 2016-05-23 15:41:28 +01:00
parent 0c6b0efaee
commit e984e5a11a
127 changed files with 665 additions and 686 deletions

View File

@ -391,7 +391,7 @@ eo_bind_func_generate(const Eolian_Class *class, const Eolian_Function *funcid,
Eina_Iterator* promise_values;
has_promise = EINA_TRUE;
promise_param_name = eina_stringshare_add(pname);
promise_values = eolian_type_subtypes_get(eolian_type_base_type_get(ptypet));
promise_values = eolian_type_subtypes_get(ptypet);
Eolian_Type* subtype;
if(eina_iterator_next(promise_values, (void**)&subtype))
promise_value_type = eolian_type_c_type_get(subtype);

View File

@ -13,7 +13,7 @@ struct Ecore.Exe.Event_Data.Line
*/
struct Ecore.Exe.Event_Data
{
exe: Eo.Base *; [[The handle to the process. FIXME: should actually be Ecore.Exe, workaround cyclic]]
exe: Eo.Base; [[The handle to the process. FIXME: should actually be Ecore.Exe, workaround cyclic]]
data: void *; [[the raw binary data from the child process that was received]]
size: int; [[the size of this data in bytes]]
lines: Ecore.Exe.Event_Data.Line *; [[an array of line data if line buffered, the last one has it's line member set to $NULL]]

View File

@ -35,7 +35,7 @@ class Efl.Loop (Eo.Base)
params {
@in data: const(void)* @optional; [[The data to be given when the promise is done.]]
}
return: promise<void*>*; [[The promise that will be triggered.]]
return: promise<void*>; [[The promise that will be triggered.]]
}
timeout {
[[Will trigger this promise when the specified timeout occur.]]
@ -43,7 +43,7 @@ class Efl.Loop (Eo.Base)
@in time: double; [[The time from now in second that the main loop will wait before triggering it.]]
@in data: const(void)* @optional; [[The data to be given when the promise is done.]]
}
return: promise<void*>*; [[The promise that will be triggered.]]
return: promise<void*>; [[The promise that will be triggered.]]
}
}

View File

@ -5,7 +5,7 @@ class Efl.Loop_User (Eo.Base)
only allowing parent that provide such interface or NULL.]]
methods {
loop_get {
return: Efl.Loop *;
return: Efl.Loop;
}
}
implements {

View File

@ -98,7 +98,7 @@ class Ecore.Audio.In (Ecore.Audio)
]]
}
values {
output: Ecore.Audio *; [[The output]] /* FIXME-cyclic Should be Ecore.Audio.Out */
output: Ecore.Audio; [[The output]] /* FIXME-cyclic Should be Ecore.Audio.Out */
}
}
@property remaining {

View File

@ -12,7 +12,7 @@ class Ecore.Audio.Out (Ecore.Audio)
]]
return: bool; [[true if the input was attached, false otherwise]]
params {
@in input: Ecore.Audio.In *; [[The input to attach to the output]]
@in input: Ecore.Audio.In; [[The input to attach to the output]]
}
}
input_detach {
@ -22,7 +22,7 @@ class Ecore.Audio.Out (Ecore.Audio)
]]
return: bool; [[true if the input was detached, false otherwise]]
params {
@in input: Ecore.Audio.In *; [[The input to detach to the output]]
@in input: Ecore.Audio.In; [[The input to detach to the output]]
}
}
inputs_get {
@ -30,7 +30,7 @@ class Ecore.Audio.Out (Ecore.Audio)
@since 1.8
]]
return: list<Ecore.Audio.In*> *; [[A list of the inputs that are attached to the output]]
return: list<Ecore.Audio.In>; [[A list of the inputs that are attached to the output]]
}
}
implements {

View File

@ -19,7 +19,7 @@ class Ecore.Con.Eet.Base (Eo.Base) {
get {
}
values {
data: Efl.Network.Server *;
data: Efl.Network.Server;
}
}
@property data_callback {

View File

@ -8,7 +8,7 @@ class Efl.Network.Client (Efl.Network) {
get {
}
values {
svr: Efl.Network.Server *; [[The server the client is connected to.]]
svr: Efl.Network.Server; [[The server the client is connected to.]]
}
}
}

View File

@ -59,7 +59,7 @@ class Efl.Network.Server (Efl.Network) {
}
values {
// FIXME: Efl.Network.Client is needed, but that introduces a cycle
clients: const(list<const(Efl.Network) *>) *; [[The list of clients on this server.]]
clients: const(list<const(Efl.Network)>); [[The list of clients on this server.]]
}
}
@property connection_type {

View File

@ -24,7 +24,7 @@ abstract Ector.Renderer (Eo.Base)
[[Get the surface associated to this renderer. Can not be set.]]
}
values {
s: Ector.Surface *; [[Associated surface]]
s: Ector.Surface; [[Associated surface]]
}
}
@property transformation {
@ -85,7 +85,7 @@ abstract Ector.Renderer (Eo.Base)
get {
}
values {
r: Ector.Renderer *;
r: Ector.Renderer;
}
}
@property quality {
@ -114,7 +114,7 @@ abstract Ector.Renderer (Eo.Base)
return: bool @warn_unused;
params {
@in op: Efl.Gfx.Render_Op;
@in clips: array<Eina.Rectangle *> *; [[array of @Eina.Rectangle clip]]
@in clips: array<Eina.Rectangle *>; [[array of @Eina.Rectangle clip]]
@in mul_col: uint;
}
}

View File

@ -7,7 +7,7 @@ mixin Ector.Renderer.Buffer (Ector.Renderer, Efl.Gfx.Fill)
set { [[Sets the source buffer for this renderer, adds a ref]] }
get { [[Return the current source, no ref change]] }
values {
buf: Ector.Buffer*;
buf: Ector.Buffer;
}
}
}

View File

@ -10,7 +10,7 @@ mixin Ector.Renderer.Shape (Efl.Gfx.Shape)
get {
}
values {
r: const(Ector.Renderer) *;
r: const(Ector.Renderer);
}
}
@property stroke_fill {
@ -19,7 +19,7 @@ mixin Ector.Renderer.Shape (Efl.Gfx.Shape)
get {
}
values {
r: const(Ector.Renderer) *;
r: const(Ector.Renderer);
}
}
@property stroke_marker {
@ -28,7 +28,7 @@ mixin Ector.Renderer.Shape (Efl.Gfx.Shape)
get {
}
values {
r: const(Ector.Renderer) *;
r: const(Ector.Renderer);
}
}
}

View File

@ -16,9 +16,9 @@ mixin Ector.Surface (Ector.Buffer)
}
renderer_factory_new @virtual_pure {
[[Create a new renderer factory for the given type]]
return: Eo.Base *; /* FIXME: Should be a more restricted type, only here for cyclic. */
return: Eo.Base; /* FIXME: Should be a more restricted type, only here for cyclic. */
params {
@in type: const(Eo.Class) * @nonull; /* FIXME: Should probably be a more restricted type */
@in type: const(Eo.Class) @nonull; /* FIXME: Should probably be a more restricted type */
}
}
}

View File

@ -23,7 +23,7 @@ class Ector.GL.Surface (Ector.GL.Buffer, Ector.Surface)
return: bool;
params {
@in op: Efl.Gfx.Render_Op;
@in clips: array<Eina.Rectangle *> *; [[array of @Eina.Rectangle clip]]
@in clips: array<Eina.Rectangle *>; [[array of @Eina.Rectangle clip]]
}
}
}

View File

@ -5,7 +5,7 @@ class Ector.Renderer.Software.Buffer (Ector.Renderer.Software, Ector.Renderer.Bu
set {}
get {}
values {
buf: Ector.Buffer *;
buf: Ector.Buffer;
}
}
}

View File

@ -356,7 +356,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container)
access_part_iterate {
[[Iterate over all accessibility-enabled part names.]]
legacy: null;
return: free(own(iterator<const(char)*> *), eina_iterator_free);
return: free(own(iterator<const(char)*>), eina_iterator_free);
}
@property load_error {
get {
@ -898,7 +898,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container)
Note: Almost all swallow rules apply: you should not move, resize,
hide, show, set the color or clipper of such part. It's a bit
more restrictive as one must never delete this object!]]
return: Evas.Object *; [[The externally created object, or $null if there is none or
return: Evas.Object; [[The externally created object, or $null if there is none or
part is not an external.]]
params {
@in part: const(char)*; [[The part name]]
@ -909,7 +909,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container)
The content string must not be $null. Its actual value depends on the
code providing the EXTERNAL.]]
return: Evas.Object *;
return: Evas.Object;
params {
@in part: const(char)*; [[The name of the part holding the EXTERNAL]]
@out content: const(char); [[A string identifying which content from the EXTERNAL to get]]
@ -964,8 +964,8 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container)
This function return a list of Evas_Textblock_Rectangle anchor
rectangles.]]
return: const(list<const(Evas.Textblock_Rectangle)*>)*; [[The list of anchor rects (const Evas_Textblock_Rectangle
*), do not modify! Geometry is relative to entry part.]]
return: const(list<const(Evas.Textblock_Rectangle)*>); [[The list of anchor rects (const Evas_Textblock_Rectangle
*), do not modify! Geometry is relative to entry part.]]
params {
@in part: const(char)*; [[The part name]]
@in anchor: const(char)*; [[The anchor name]]
@ -1110,7 +1110,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container)
Note: If the type of Edje part is GROUP, SWALLOW or EXTERNAL,
returned handle by this function will indicate nothing or transparent
rectangle for events. Use $.part_swallow_get() in that case.]]
return: const(Evas.Object)*; [[A pointer to the Evas object implementing the given part,
return: const(Evas.Object); [[A pointer to the Evas object implementing the given part,
or $null on failure (e.g. the given part doesn't exist)]]
params {
@in part: const(char)*; [[The Edje part's name]]
@ -1838,7 +1838,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container)
[[Return a list of char anchor names.
This function returns a list of char anchor names.]]
return: const(list<const(char)*>)*; [[The list of anchors (const char *), do not modify!]]
return: const(list<const(char)*>); [[The list of anchors (const char *), do not modify!]]
params {
@in part: const(char)*; [[The part name]]
}
@ -1958,7 +1958,7 @@ class Edje.Object (Evas.Smart.Clipped, Efl.File, Efl.Container)
[[Return a list of char item names.
This function returns a list of char item names.]]
return: const(list<const(char)*>)*; [[The list of items (const char *), do not modify!]]
return: const(list<const(char)*>); [[The list of items (const char *), do not modify!]]
params {
@in part: const(char)*; [[The part name]]
}

View File

@ -14,14 +14,14 @@ interface Efl.Container (Efl.Gfx)
part: const(char)*; [[the part in which to swallow the object]]
}
values {
content: Efl.Gfx*; [[the object to swallow.]]
content: Efl.Gfx; [[the object to swallow.]]
}
}
@property content_part_name {
[[The name of the part under which an object is swallowed.]]
get {}
keys {
content: Efl.Gfx*;
content: Efl.Gfx;
}
values {
name: const(char)*;
@ -32,18 +32,18 @@ interface Efl.Container (Efl.Gfx)
params {
@in name: const(char)* @nullable;
}
return: Efl.Gfx*;
return: Efl.Gfx;
}
content_remove {
[[Unswallow an object from this container.]]
params {
@in content: Efl.Gfx*;
@in content: Efl.Gfx;
}
return: bool; [[$false if $content was not a child or can not be removed.]]
}
content_iterate {
[[Begin iterating over this object's contents.]]
return: free(own(iterator<Efl.Gfx *> *), eina_iterator_free) @warn_unused;
return: free(own(iterator<Efl.Gfx>), eina_iterator_free) @warn_unused;
}
content_count {
[[Returns the number of UI elements packed in this container.]]
@ -51,7 +51,7 @@ interface Efl.Container (Efl.Gfx)
}
}
events {
content,added: Efl.Gfx*; [[Sent after a new item was added.]]
content,removed: Efl.Gfx*; [[Sent after an item was removed, before unref.]]
content,added: Efl.Gfx; [[Sent after a new item was added.]]
content,removed: Efl.Gfx; [[Sent after an item was removed, before unref.]]
}
}

View File

@ -85,7 +85,7 @@ interface Efl.Gfx.Filter
name: const(char)*; [[Buffer name as used in the program.]]
}
values {
source: Efl.Gfx*; [[Object to use as a source of pixels.]]
source: Efl.Gfx; [[Object to use as a source of pixels.]]
}
}
@property filter_data {

View File

@ -195,7 +195,7 @@ mixin Efl.Gfx.Shape
@since 1.14
]]
params {
@in dup_from: const(Eo.Base)*; [[Shape object from where data will be copied.]]
@in dup_from: const(Eo.Base); [[Shape object from where data will be copied.]]
}
}
bounds_get {
@ -397,15 +397,15 @@ mixin Efl.Gfx.Shape
interpolate {
return: bool;
params {
@in from: const(Eo.Base)*;
@in to: const(Eo.Base)*;
@in from: const(Eo.Base);
@in to: const(Eo.Base);
@in pos_map: double;
}
}
equal_commands {
return: bool;
params {
@in with: const(Eo.Base)*;
@in with: const(Eo.Base);
}
}
}

View File

@ -37,7 +37,7 @@ interface Efl.Gfx.Stack {
objects on layers below the one $obj is placed at.
See also @.layer.get(), @.layer.set() and @.below.get()]]
return: Efl.Gfx.Stack * @warn_unused; [[the #Efl_Gfx_Stack directly below $obj, if any,
return: Efl.Gfx.Stack @warn_unused; [[the #Efl_Gfx_Stack directly below $obj, if any,
or $null, if none]]
}
}
@ -49,7 +49,7 @@ interface Efl.Gfx.Stack {
objects on layers above the one $obj is placed at.
See also @.layer.get(), @.layer.set() and @.below.get()]]
return: Efl.Gfx.Stack * @warn_unused; [[the #Efl_Gfx_Stack directly below $obj, if any,
return: Efl.Gfx.Stack @warn_unused; [[the #Efl_Gfx_Stack directly below $obj, if any,
or $null, if none]]
}
}
@ -75,7 +75,7 @@ interface Efl.Gfx.Stack {
See also @.layer.get(), @.layer.set() and @.stack_below()]]
params {
@in below: Efl.Gfx.Stack * @nonull; [[the object below which to stack]]
@in below: Efl.Gfx.Stack @nonull; [[the object below which to stack]]
}
}
raise {
@ -109,7 +109,7 @@ interface Efl.Gfx.Stack {
See also @.layer.get(), @.layer.set() and @.stack_below()]]
params {
@in above: Efl.Gfx.Stack * @nonull; [[the object above which to stack]]
@in above: Efl.Gfx.Stack @nonull; [[the object above which to stack]]
}
}
lower {

View File

@ -1,6 +1,6 @@
struct Efl.Model.Property_Event {
changed_properties: array<const(char) *> *; [[List of changed properties]]
invalidated_properties: array<const(char) *> *; [[Removed properties identified by name]]
changed_properties: array<const(char) *>; [[List of changed properties]]
invalidated_properties: array<const(char) *>; [[Removed properties identified by name]]
}
interface Efl.Model ()
@ -22,7 +22,7 @@ interface Efl.Model ()
]]
}
values {
properties: const(array<const(char)*>)*; [[array of current properties]]
properties: const(array<const(char)*>); [[array of current properties]]
}
}
property_set {
@ -46,7 +46,7 @@ interface Efl.Model ()
params {
@in property: const(char)*; [[Property name]]
@in value: const(generic_value)*; [[New value]]
@inout promise: promise<generic_value>*; [[Promise returning the recorded value or error]]
@inout promise: promise<generic_value>; [[Promise returning the recorded value or error]]
}
}
property_get {
@ -62,7 +62,7 @@ interface Efl.Model ()
]]
params {
@in property: const(char)*; [[Property name]]
@inout value: promise<generic_value>*; [[Promise of the value that was got]]
@inout value: promise<generic_value>; [[Promise of the value that was got]]
}
}
children_slice_get {
@ -96,7 +96,7 @@ interface Efl.Model ()
count are 0 slice is ignored.]]
@in count: uint; [[Range size. If count and start are 0 slice is
ignored.]]
@inout promise: promise<accessor<list<Eo.Base*>*>*>*; [[Promise of the children]]
@inout promise: promise<accessor<list<Eo.Base> > >; [[Promise of the children]]
}
}
children_count_get {
@ -113,7 +113,7 @@ interface Efl.Model ()
@since 1.14
]]
params {
@inout promise: promise<uint>*;
@inout promise: promise<uint>;
}
}
child_add {
@ -126,7 +126,7 @@ interface Efl.Model ()
@since 1.14
]]
return: Eo.Base *;
return: Eo.Base;
}
child_del {
[[Remove a child.
@ -139,7 +139,7 @@ interface Efl.Model ()
@since 1.14
]]
params {
@in child: Eo.Base*; [[Child to be removed]]
@in child: Eo.Base; [[Child to be removed]]
}
}
}

View File

@ -19,7 +19,7 @@ interface Efl.Pack (Efl.Container)
unpack {
[[Removes an existing item from the container, without deleting it.]]
params {
subobj: own(Efl.Gfx *);
subobj: own(Efl.Gfx);
}
return: bool; [[$false if $subobj wasn't a child or can't be removed]]
}
@ -34,7 +34,7 @@ interface Efl.Pack (Efl.Container)
failed, the object will be unrefed.
]]
params {
subobj: own(Efl.Gfx *);
subobj: own(Efl.Gfx);
}
return: bool; [[$false if $subobj could not be packed.]]
}

View File

@ -7,7 +7,7 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
methods {
pack_grid {
params {
subobj: own(Efl.Gfx *);
subobj: own(Efl.Gfx);
col: int;
row: int;
colspan: int @optional; [[0 means 1, -1 means @.grid_columns]]
@ -17,7 +17,7 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
}
grid_contents_get {
[[Returns all objects at a given position in this grid.]]
return: free(own(iterator<Efl.Gfx *> *), eina_iterator_free);
return: free(own(iterator<Efl.Gfx>), eina_iterator_free);
params {
@in col: int;
@in row: int;
@ -26,7 +26,7 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
}
grid_content_get {
[[Returns a child at a given position, see @.grid_contents_get.]]
return: Efl.Gfx*;
return: Efl.Gfx;
params {
@in col: int;
@in row: int;
@ -36,7 +36,7 @@ interface Efl.Pack.Grid (Efl.Pack.Linear)
[[position and span of the $subobj in this container, may be modified to move the $subobj]]
get { return: bool; [[returns false if item is not a child]] }
keys {
subobj: Efl.Gfx*;
subobj: Efl.Gfx;
}
values {
col: int;

View File

@ -15,9 +15,9 @@ interface Efl.Pack.Layout ()
get {}
values {
/* FIXME: engine is an Eo.Class */
engine: const(Eo.Base)*; [[Must be an $Efl.Pack.Layout subclass.]]
data: const(void)*; [[Any data to pass along to $Efl.Pack.Layout.layout_do.
Owned by the caller. Depends on the layout engine.]]
engine: const(Eo.Base); [[Must be an $Efl.Pack.Layout subclass.]]
data: const(void)*; [[Any data to pass along to $Efl.Pack.Layout.layout_do.
Owned by the caller. Depends on the layout engine.]]
}
}
layout_request {
@ -36,7 +36,7 @@ interface Efl.Pack.Layout ()
layout_do @class @protected {
[[Lay out (resize and move) children objects of $pack.]]
params {
pack: Efl.Gfx*; [[The container to lay out.]]
pack: Efl.Gfx; [[The container to lay out.]]
data: const(void)* @optional; [[Extra data passed by the caller.]]
}
}

View File

@ -12,7 +12,7 @@ interface Efl.Pack.Linear (Efl.Pack)
This is the same as @.pack_at($subobj, 0).
]]
params {
@in subobj: own(Efl.Gfx *); [[Item to pack.]]
@in subobj: own(Efl.Gfx); [[Item to pack.]]
}
return: bool; [[$false if $subobj could not be packed]]
}
@ -22,15 +22,15 @@ interface Efl.Pack.Linear (Efl.Pack)
This is the same as @.pack_at($subobj, -1).
]]
params {
@in subobj: own(Efl.Gfx *); [[Item to pack.]]
@in subobj: own(Efl.Gfx); [[Item to pack.]]
}
return: bool; [[$false if $subobj could not be packed]]
}
pack_before {
[[Prepend item before other sub object.]]
params {
@in subobj: own(Efl.Gfx *); [[Item to pack.]]
@in existing: const(Efl.Gfx)*; [[Item to refer to.]]
@in subobj: own(Efl.Gfx); [[Item to pack.]]
@in existing: const(Efl.Gfx); [[Item to refer to.]]
}
return: bool; [[$false if $existing could not be found or $subobj
could not be packed]]
@ -38,8 +38,8 @@ interface Efl.Pack.Linear (Efl.Pack)
pack_after {
[[Append item after other sub object.]]
params {
@in subobj: own(Efl.Gfx *); [[Item to pack.]]
@in existing: const(Efl.Gfx)*; [[Item to refer to.]]
@in subobj: own(Efl.Gfx); [[Item to pack.]]
@in existing: const(Efl.Gfx); [[Item to refer to.]]
}
return: bool; [[$false if $existing could not be found or $subobj
could not be packed]]
@ -51,7 +51,7 @@ interface Efl.Pack.Linear (Efl.Pack)
Out of range indices will trigger an append.
]]
params {
@in subobj: own(Efl.Gfx *); [[Item to pack.]]
@in subobj: own(Efl.Gfx); [[Item to pack.]]
@in index: int; [[A position.]]
}
return: bool; [[$false if $subobj could not be packed]]
@ -65,12 +65,12 @@ interface Efl.Pack.Linear (Efl.Pack)
params {
index: int;
}
return: Efl.Gfx *; [[The object contained at the given $index.]]
return: Efl.Gfx; [[The object contained at the given $index.]]
}
pack_index_get {
[[Get the index of a child in this container.]]
params {
subobj: const(Efl.Gfx)*; [[An object contained in this pack.]]
subobj: const(Efl.Gfx); [[An object contained in this pack.]]
}
return: int(-1); [[-1 in case of failure, or the index of this item.]]
}
@ -82,7 +82,7 @@ interface Efl.Pack.Linear (Efl.Pack)
params {
index: int;
}
return: Efl.Gfx*; [[The child item if it could be removed.]]
return: Efl.Gfx; [[The child item if it could be removed.]]
}
@property pack_direction {
[[Primary up/left/right/down orientation. Default is right.]]

View File

@ -25,7 +25,7 @@ interface Efl.Vpath
params {
path: const(char)*; [[ The input virtual file path to fetch ]]
}
return: own(Efl.Vpath.File *); [[ An object representing the file ]]
return: own(Efl.Vpath.File); [[ An object representing the file ]]
}
}
}

View File

@ -8,7 +8,7 @@ class Efl.Vpath.Core (Eo.Base, Efl.Vpath)
methods {
get @class {
[[ This gets the global EFL Core Vpath class - only 1 - singleton ]]
return: Efl.Vpath.Core *; [[ Get the singleton core vpath ]]
return: Efl.Vpath.Core; [[ Get the singleton core vpath ]]
}
meta_set {
[[ A Meta key is a mapping from a virtual path to a real one ]]

View File

@ -11,19 +11,19 @@ class Efl.Vpath.Manager (Eo.Base)
params {
path: const(char)*; [[ The input virtual file path to fetch ]]
}
return: own(Efl.Vpath.File *); [[ An object representing the file ]]
return: own(Efl.Vpath.File); [[ An object representing the file ]]
}
register @class {
[[Register a vpath with the manager ]]
params {
priority: int; [[ Search order - higher values tried first ]]
vpath: Efl.Vpath * @nonull; [[ A Vpath implementation object ]]
vpath: Efl.Vpath @nonull; [[ A Vpath implementation object ]]
}
}
unregister @class {
[[ Unregister a vpath from the manager ]]
params {
vpath: Efl.Vpath * @nonull; [[ A Vpath implementation object ]]
vpath: Efl.Vpath @nonull; [[ A Vpath implementation object ]]
}
}
}

View File

@ -11,7 +11,7 @@ class Eldbus.Model.Arguments (Eo.Base, Efl.Model) {
params {
@in proxy: Eldbus.Proxy*; [[Eldbus proxy]]
@in name: const(char)*; [[Name]]
@in arguments: const(list<Eldbus.Introspection.Argument *>)*; [[The introspected arguments]]
@in arguments: const(list<Eldbus.Introspection.Argument *>); [[The introspected arguments]]
}
}
@property name {

View File

@ -24,24 +24,24 @@ enum Eldbus.Introspection.Property_Access
struct Eldbus.Introspection.Node
{
name: Eina.Stringshare *; [[optional]]
nodes: list<void *> *;
interfaces: list<void *> *;
nodes: list<void *>;
interfaces: list<void *>;
}
struct Eldbus.Introspection.Interface
{
name: Eina.Stringshare *;
methods: list<void *> *;
signals: list<void *> *;
properties: list<void *> *;
annotations: list<void *> *;
methods: list<void *>;
signals: list<void *>;
properties: list<void *>;
annotations: list<void *>;
}
struct Eldbus.Introspection.Method
{
name: Eina.Stringshare *;
arguments: list<void *> *;
annotations: list<void *> *;
arguments: list<void *>;
annotations: list<void *>;
}
struct Eldbus.Introspection.Property
@ -49,7 +49,7 @@ struct Eldbus.Introspection.Property
name: Eina.Stringshare *;
type: Eina.Stringshare *;
access: Eldbus.Introspection.Property_Access;
annotations: list<void *> *;
annotations: list<void *>;
}
struct Eldbus.Introspection.Annotation
@ -68,6 +68,6 @@ struct Eldbus.Introspection.Argument
struct Eldbus.Introspection.Signal
{
name: Eina.Stringshare *;
arguments: list<Eldbus.Introspection.Argument *> *;
annotations: list<Eldbus.Introspection.Annotation *> *;
arguments: list<Eldbus.Introspection.Argument *>;
annotations: list<Eldbus.Introspection.Annotation *>;
}

View File

@ -10,8 +10,8 @@ class Efl.Ui.Layout_Internal.Box (Eo.Base, Efl.Pack.Linear)
@property real_part @protected {
set {}
values {
layout: Eo.Base*;
pack: Eo.Base*;
layout: Eo.Base;
pack: Eo.Base;
part: const(char)*;
}
}

View File

@ -10,8 +10,8 @@ class Efl.Ui.Layout_Internal.Table (Eo.Base, Efl.Pack.Grid)
@property real_part @protected {
set {}
values {
layout: Eo.Base*;
pack: Eo.Base*;
layout: Eo.Base;
pack: Eo.Base;
part: const(char)*;
}
}

View File

@ -11,7 +11,7 @@ class Elm.App.Client (Eo.Base)
[[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.]]
ret: free(own(iterator<Elm.App.Client.View>), eina_iterator_free); [[The iterator with all views, must be freed after use.]]
}
}
@property package {

View File

@ -21,7 +21,7 @@ class Elm.App.Server (Eo.Base)
[[Return a iterator with all views of application]]
}
values {
ret: free(own(iterator<Elm.App.Server.View *> *), eina_iterator_free); [[Iterator with all views of application, you must free iterator after use]]
ret: free(own(iterator<Elm.App.Server.View>), eina_iterator_free); [[Iterator with all views of application, you must free iterator after use]]
}
}
@property path {
@ -76,7 +76,7 @@ class Elm.App.Server (Eo.Base)
requested by create_view_cb.
]]
params {
@in view: Elm.App.Server.View *; [[elm_app_server_view]]
@in view: Elm.App.Server.View; [[elm_app_server_view]]
}
}
title_set {

View File

@ -44,7 +44,7 @@ class Elm.App.Server.View (Eo.Base)
set {
}
values {
win: Evas.Object *;
win: Evas.Object;
}
}
@property id {

View File

@ -139,7 +139,7 @@ class Elm.Box (Elm.Widget)
You must free this list with eina_list_free() once you are done with it.
]]
return: free(own(list<Evas.Object*>*), eina_list_free) @warn_unused;
return: free(own(list<Evas.Object>), eina_list_free) @warn_unused;
}
}
pack_end {
@ -160,7 +160,7 @@ class Elm.Box (Elm.Widget)
]]
params {
@in subobj: Evas.Object *; [[The object to add to the box]]
@in subobj: Evas.Object; [[The object to add to the box]]
}
}
unpack_all {
@ -188,7 +188,7 @@ class Elm.Box (Elm.Widget)
]]
params {
@in subobj: Evas.Object *; [[The object to unpack]]
@in subobj: Evas.Object; [[The object to unpack]]
}
}
pack_after {
@ -209,8 +209,8 @@ class Elm.Box (Elm.Widget)
]]
params {
@in subobj: Evas.Object *; [[The object to add to the box]]
@in after: Evas.Object *; [[The object after which to add it]]
@in subobj: Evas.Object; [[The object to add to the box]]
@in after: Evas.Object; [[The object after which to add it]]
}
}
pack_start {
@ -232,7 +232,7 @@ class Elm.Box (Elm.Widget)
]]
params {
@in subobj: Evas.Object *; [[The object to add to the box]]
@in subobj: Evas.Object; [[The object to add to the box]]
}
}
recalculate {
@ -265,8 +265,8 @@ class Elm.Box (Elm.Widget)
]]
params {
@in subobj: Evas.Object *; [[The object to add to the box]]
@in before: Evas.Object *; [[The object before which to add it]]
@in subobj: Evas.Object; [[The object to add to the box]]
@in before: Evas.Object; [[The object before which to add it]]
}
}
clear {

View File

@ -252,7 +252,7 @@ class Elm.Calendar (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
@.marks_clear.
]]
return: const(list<Elm.Calendar.Mark*>)*; [[List with all calendar marks]]
return: const(list<Elm.Calendar.Mark*>); [[List with all calendar marks]]
}
}
selected_time_set {

View File

@ -77,7 +77,7 @@ class Elm.Colorselector (Elm.Layout, Elm.Interface.Atspi_Widget_Action,
@since 1.9
]]
return: const(list<Elm.Widget.Item*>)*;[[The list of color palette items.]]
return: const(list<Elm.Widget.Item>);[[The list of color palette items.]]
}
}
@property palette_selected_item {
@ -86,14 +86,14 @@ class Elm.Colorselector (Elm.Layout, Elm.Interface.Atspi_Widget_Action,
@since 1.9]]
return: Elm.Widget.Item *;[[The selected item, or $null if none
return: Elm.Widget.Item;[[The selected item, or $null if none
selected.]]
}
}
palette_color_add {
[[Add a new color item to palette.]]
return: Elm.Widget.Item *;[[A new color palette Item.]]
return: Elm.Widget.Item;[[A new color palette Item.]]
params {
@in r: int; [[r-value of color]]
@in g: int; [[g-value of color]]

View File

@ -63,7 +63,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati
]]
}
values {
parent: Evas.Object *; [[The parent to use.]]
parent: Evas.Object; [[The parent to use.]]
}
}
@property direction_priority {
@ -116,7 +116,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati
@since 1.11
]]
return: const(list<Elm.Widget.Item*>)*; [[The list of items or
return: const(list<Elm.Widget.Item>); [[The list of items or
$null on errors.]]
}
@ -131,7 +131,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati
@since 1.11
]]
return: Elm.Widget.Item *; [[The first item or $null, if it has no items (and on
return: Elm.Widget.Item; [[The first item or $null, if it has no items (and on
errors).]]
}
@ -146,7 +146,7 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati
@since 1.1
]]
return: Elm.Widget.Item *; [[The last item or $null, if it has no items (and on
return: Elm.Widget.Item; [[The last item or $null, if it has no items (and on
errors).]]
}
@ -171,11 +171,11 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati
See also \@ref elm_object_content_set.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null, on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null, on errors.]]
params {
@in label: const(char)*; [[The Label of the new item]]
@in icon: Evas.Object * @optional; [[Icon to be set on new item]]
@in icon: Evas.Object @optional; [[Icon to be set on new item]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected]]
@in data: const(void)* @optional; [[Data passed to $func]]
}
@ -190,11 +190,11 @@ class Elm.Ctxpopup (Elm.Layout, Elm.Interface.Atspi_Widget_Action, Efl.Orientati
@since 1.11
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null, on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null, on errors.]]
params {
@in label: const(char)*; [[The Label of the new item]]
@in icon: Evas.Object * @optional; [[Icon to be set on new item]]
@in icon: Evas.Object @optional; [[Icon to be set on new item]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected]]
@in data: const(void)* @optional; [[Data passed to $func]]
}

View File

@ -14,7 +14,7 @@ class Elm.Ctxpopup.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item before the object in its parent's list. If there is no previous item for $ it or there's an error, $null is returned.]]
item: Elm.Widget.Item; [[The item before the object in its parent's list. If there is no previous item for $ it or there's an error, $null is returned.]]
}
}
@property next {
@ -28,7 +28,7 @@ class Elm.Ctxpopup.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item after the object in its parent's list. If there is no previous item for $ it or there's an error, $null is returned.]]
item: Elm.Widget.Item; [[The item after the object in its parent's list. If there is no previous item for $ it or there's an error, $null is returned.]]
}
}
init {

View File

@ -122,7 +122,7 @@ class Elm.Dayselector (Elm.Layout)
@since 1.8
]]
return: own(list<own(Eina_Stringshare *)> *) @warn_unused; [[A list of seven strings to be used as weekday names.]]
return: own(list<own(Eina_Stringshare *)>) @warn_unused; [[A list of seven strings to be used as weekday names.]]
}
day_selected_set {
[[Set the state of given Dayselector_Day.

View File

@ -96,7 +96,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
See also @.item_append,
@.items.get.
]]
return: Elm.Widget.Item *; [[The first item, or $null if none.]]
return: Elm.Widget.Item; [[The first item, or $null if none.]]
}
}
@property items {
@ -107,7 +107,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
\@ref elm_object_item_del,
@.clear.
]]
return: const(list<Elm.Widget.Item*>)*; [[A $list of diskselector items, or $ull on failure.]]
return: const(list<Elm.Widget.Item>); [[A $list of diskselector items, or $ull on failure.]]
}
}
@property last_item {
@ -120,7 +120,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
See also @.item_append,
@.items.get.
]]
return: Elm.Widget.Item *; [[The last item, or $null if none.]]
return: Elm.Widget.Item; [[The last item, or $null if none.]]
}
}
@property selected_item {
@ -137,7 +137,7 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
apply on the selected item. More details on
@.side_text_max_length.set.
]]
return: Elm.Widget.Item *; [[The selected diskselector item.]]
return: Elm.Widget.Item; [[The selected diskselector item.]]
}
}
item_append {
@ -176,10 +176,10 @@ class Elm.Diskselector (Elm.Widget, Elm.Interface_Scrollable,
* elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
* @endcode
*/
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in label: const(char)*; [[The label of the diskselector item.]]
@in icon: Evas.Object * @optional; [[The icon object to use at left side of the item. An
@in icon: Evas.Object @optional; [[The icon object to use at left side of the item. An
icon can be any Evas object, but usually it is an icon created
with elm_icon_add(). ]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is selected.]]

View File

@ -18,7 +18,7 @@ class Elm.Diskselector.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item before $item, or $null if none or on failure.]]
item: Elm.Widget.Item; [[The item before $item, or $null if none or on failure.]]
}
}
@property next {
@ -36,7 +36,7 @@ class Elm.Diskselector.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item after $item, or $null if none or on failure.]]
item: Elm.Widget.Item; [[The item after $item, or $null if none or on failure.]]
}
}
@property selected {

View File

@ -381,7 +381,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface,
]]
}
values {
parent: Evas.Object * @nullable; [[The object to use as parent for the hover.]]
parent: Evas.Object @nullable; [[The object to use as parent for the hover.]]
}
}
@property prediction_allow {
@ -574,7 +574,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface,
change the internal textblock object). This applies to all cursors
returned from textblock calls, and all the other derivative values.
]]
return: Evas.Object *;
return: Evas.Object;
}
}
@property cursor_geometry {

View File

@ -22,7 +22,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
items list is changed. It should be fetched again with another
call to this function when changes happen.
]]
return: const(list<Elm.Widget.Item*>)*;
return: const(list<Elm.Widget.Item>);
}
}
@property first_item {
@ -33,7 +33,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
See also @.item_append,
@.last_item.get.
]]
return: Elm.Widget.Item *; [[The first item or $null, if it has no items (and on
return: Elm.Widget.Item; [[The first item or $null, if it has no items (and on
errors).]]
}
@ -46,7 +46,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
See also @.item_prepend,
@.first_item.get.
]]
return: Elm.Widget.Item *; [[The last item or $null, if it has no items (and on
return: Elm.Widget.Item; [[The last item or $null, if it has no items (and on
errors).]]
}
@ -54,7 +54,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
@property selected_item {
get {
[[Get the currently selected item in a flip selector widget.]]
return: Elm.Widget.Item *; [[The selected item or $null, if the widget has no items
return: Elm.Widget.Item; [[The selected item or $null, if the widget has no items
(and on errors).]]
}
@ -74,7 +74,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
determined by the widget's theme. Strings larger than
that value are going to be truncated.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in label: const(char)*; [[The (text) label of the new item.]]
@in func: Evas_Smart_Cb @optional; [[Convenience callback function to take place when
@ -105,7 +105,7 @@ class Elm.Flipselector (Elm.Layout, Efl.Ui.Spin,
determined by the widget's theme. Strings larger than
that value are going to be truncated.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in label: const(char)*; [[The (text) label of the new item.]]
@in func: Evas_Smart_Cb @optional; [[Convenience callback function to take place when

View File

@ -34,7 +34,7 @@ class Elm.Flipselector.Item(Elm.Widget.Item)
See also @.next_get.
]]
return: Elm.Widget.Item *; [[The item before the $item, in its parent's list. If there is no previous item for $item or there's an error, $null is returned.]]
return: Elm.Widget.Item; [[The item before the $item, in its parent's list. If there is no previous item for $item or there's an error, $null is returned.]]
}
next_get @const {
[[Get the item after $item in a flip selector widget's
@ -42,7 +42,7 @@ class Elm.Flipselector.Item(Elm.Widget.Item)
See also @.prev_get.
]]
return: Elm.Widget.Item *; [[The item after the $item, in its parent's list. If there is no next item for $item or there's an error, $null is returned.]]
return: Elm.Widget.Item; [[The item after the $item, in its parent's list. If there is no next item for $item or there's an error, $null is returned.]]
}
}
implements {

View File

@ -283,7 +283,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
in the list is selected, which might not be very useful. For
that case, see @.selected_items.get.
]]
return: Elm.Widget.Item *; [[The selected item's handle or $null
return: Elm.Widget.Item; [[The selected item's handle or $null
if none is selected at the moment
(and on errors).]]
}
@ -298,7 +298,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
in the list are only valid so long as those items are not
deleted or the gengrid is not deleted.
]]
return: free(own(list<Elm_Gen_Item *> *), eina_list_free) @warn_unused; [[
return: free(own(list<Elm_Gen_Item *>), eina_list_free) @warn_unused; [[
The list of realized items or $null if none are realized.
]]
}
@ -310,7 +310,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
This returns the first item in the $obj's internal list of
items.
]]
return: Elm.Widget.Item *; [[
return: Elm.Widget.Item; [[
The first item's handle or $null, if there are no
items in $obj (and on errors)
]]
@ -326,7 +326,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
by deletion). The list contains Gengrid item pointers as
data, naturally.
]]
return: const(list<Elm.Widget.Item *>)*; [[
return: const(list<Elm.Widget.Item>); [[
The list of selected items or $null, if none is
selected at the moment (and on errors).
]]
@ -339,7 +339,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
This returns the last item in the $obj's internal list of
items.
]]
return: Elm.Widget.Item *; [[The last item's handle or $null
return: Elm.Widget.Item; [[The last item's handle or $null
if there are no items in $obj
(and on errors).]]
}
@ -371,11 +371,11 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
This inserts an item before another in the gengrid.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
params {
@in itc: const(Elm.Gengrid.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@in relative: Elm.Widget.Item *; [[The item to place this new one before.]]
@in relative: Elm.Widget.Item; [[The item to place this new one before.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called
when the item is selected.]]
@in func_data: const(void)* @optional; [[Data to be passed to $func.]]
@ -397,11 +397,11 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
This inserts an item after another in the gengrid.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null on error.]]
return: Elm.Widget.Item; [[A handle to the item added or $null on error.]]
params {
@in itc: const(Elm.Gengrid.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@in relative: Elm.Widget.Item *; [[The item to place this new one after.]]
@in relative: Elm.Widget.Item; [[The item to place this new one after.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called
when the item is selected.]]
@in func_data: const(void)* @optional; [[Data to be passed to $func.]]
@ -432,7 +432,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
there), then posret may indicate -1 or 1 based if the coordinate
is above or below all items respectively in the gengrid.
]]
return: Elm.Widget.Item *; [[The item at the coordinates or $null if none.]]
return: Elm.Widget.Item; [[The item at the coordinates or $null if none.]]
params {
@in x: Evas.Coord; [[The input x coordinate.]]
@in y: Evas.Coord; [[The input y coordinate.]]
@ -445,7 +445,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
This adds an item to the beginning of the gengrid.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
params {
@in itc: const(Elm.Gengrid.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@ -459,7 +459,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
This adds an item to the end of the gengrid.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
params {
@in itc: const(Elm.Gengrid.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@ -484,7 +484,7 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
comparison function. The two arguments passed to the function
$func are gengrid item handles to compare.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
params {
@in itc: const(Elm.Gengrid.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@ -508,11 +508,11 @@ class Elm.Gengrid (Elm.Layout, Elm.Interface_Scrollable,
@since 1.11
]]
return: Elm.Widget.Item *; [[Pointer to the gengrid item which matches
return: Elm.Widget.Item; [[Pointer to the gengrid item which matches
search_string in case of success,
otherwise $null.]]
params {
@in item_to_search_from: Elm.Widget.Item * @optional; [[
@in item_to_search_from: Elm.Widget.Item @optional; [[
Pointer to item to start search from. If $null, search will
be started from the first item of the gengrid.
]]

View File

@ -37,7 +37,7 @@ class Elm.Gengrid.Item(Elm.Widget.Item)
gengrid.]]
}
values {
item: Elm.Widget.Item *; [[The item before $item, or $NULL if there's none (and on errors)]]
item: Elm.Widget.Item; [[The item before $item, or $NULL if there's none (and on errors)]]
}
}
@property next {
@ -49,7 +49,7 @@ class Elm.Gengrid.Item(Elm.Widget.Item)
gengrid.]]
}
values {
item: Elm.Widget.Item *; [[The item after $item, or $NULL if there's none (and on errors)]]
item: Elm.Widget.Item; [[The item after $item, or $NULL if there's none (and on errors)]]
}
}
@property selected {
@ -201,7 +201,7 @@ class Elm.Gengrid.Item(Elm.Widget.Item)
floating "orphans" that can be re-used elsewhere if the user wants
to.]]
params {
@out l: own(list<own(Evas.Object *)> *); [[The contents list to return.]]
@out l: own(list<own(Evas.Object)>); [[The contents list to return.]]
}
}
}

View File

@ -264,8 +264,8 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
This function returns the item that was activated with a mode,
by the function @.decorate_mode.set.
]]
return: Elm.Widget.Item *; [[The active item for that current mode.
Or $null if no item is activated with any mode.]]
return: Elm.Widget.Item; [[The active item for that current mode.
Or $null if no item is activated with any mode.]]
}
}
@property selected_item {
@ -279,7 +279,7 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
If no item is selected, $null is returned.
]]
return: Elm.Widget.Item *; [[The selected item, or $null if none is selected.]]
return: Elm.Widget.Item; [[The selected item, or $null if none is selected.]]
}
}
@property first_item {
@ -291,7 +291,7 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
If filter is set on genlist, it returns
the first filtered item in the list.
]]
return: Elm.Widget.Item *; [[The first item or $null.]]
return: Elm.Widget.Item; [[The first item or $null.]]
}
}
@property realized_items {
@ -304,7 +304,7 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
item pointers in the list are only valid so long as those
items are not deleted or the genlist is not deleted.
]]
return: free(own(list<Elm_Gen_Item *> *), eina_list_free) @warn_unused;
return: free(own(list<Elm_Gen_Item *>), eina_list_free) @warn_unused;
}
}
@property selected_items {
@ -322,7 +322,7 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
Note: If not in multi-select mode, consider using function
@.selected_item.get instead.
]]
return: const(list<Elm.Widget.Item *>)*;
return: const(list<Elm.Widget.Item>);
}
}
@property last_item {
@ -334,7 +334,7 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
If filter is set to genlist, it returns
last filtered item in the list.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
}
}
item_insert_before {
@ -343,12 +343,12 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
This inserts an item before another in the list. It will be in
the same tree level or group as the item it is inserted before.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in itc: const(Elm.Genlist.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@in parent: Elm.Widget.Item * @nullable; [[The parent item, or $null if none.]]
@in before_it: Elm.Widget.Item *; [[The item to place this new one before.]]
@in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
@in before_it: Elm.Widget.Item; [[The item to place this new one before.]]
@in type: Elm.Genlist.Item.Type; [[Item type.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when the item is selected.]]
@in func_data: const(void)* @optional; [[Data passed to $func above.]]
@ -371,12 +371,12 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
This inserts an item after another in the list. It will be in the
same tree level or group as the item it is inserted after.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in itc: const(Elm.Genlist.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@in parent: Elm.Widget.Item * @nullable; [[The parent item, or $null if none.]]
@in after_it: Elm.Widget.Item *; [[The item to place this new one after.]]
@in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
@in after_it: Elm.Widget.Item; [[The item to place this new one after.]]
@in type: Elm.Genlist.Item.Type; [[Item type.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when the item is selected.]]
@in func_data: const(void)* @optional; [[Data passed to $func above.]]
@ -395,7 +395,7 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
1 based if the coordinate is above or below all items
respectively in the genlist.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in x: Evas.Coord; [[The input x coordinate.]]
@in y: Evas.Coord; [[The input y coordinate.]]
@ -424,7 +424,7 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
Return NULL if filter is not set. Application must take care
of the case while calling the API. Must be freed after use.
]]
return: free(own(iterator<Elm_Gen_Item *> *), eina_iterator_free); [[Iterator on genlist]]
return: free(own(iterator<Elm_Gen_Item *>), eina_iterator_free); [[Iterator on genlist]]
}
filtered_items_count @const {
[[Return how many items have passed the filter currently.
@ -449,11 +449,11 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
This adds an item to the beginning of the list or beginning of
the children of the parent if given.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in itc: const(Elm.Genlist.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@in parent: Elm.Widget.Item * @nullable; [[The parent item, or $null if none.]]
@in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
@in type: Elm.Genlist.Item.Type; [[Item type.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when the item is selected.]]
@in func_data: const(void)* @optional; [[Data passed to $func above.]]
@ -471,11 +471,11 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
This adds the given item to the end of the list or the end of
the children list if the $parent is given.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in itc: const(Elm.Genlist.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@in parent: Elm.Widget.Item * @nullable; [[The parent item, or $null if none.]]
@in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
@in type: Elm.Genlist.Item.Type; [[Item type.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when the item is selected.]]
@in func_data: const(void)* @optional; [[Data passed to $func above.]]
@ -488,11 +488,11 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
comparison function. The two arguments passed to the function
$func are genlist item handles to compare.
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in itc: const(Elm.Genlist.Item.Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item data.]]
@in parent: Elm.Widget.Item * @nullable; [[The parent item, or $null if none.]]
@in parent: Elm.Widget.Item @nullable; [[The parent item, or $null if none.]]
@in type: Elm.Genlist.Item.Type; [[Item type.]]
@in comp: Eina_Compare_Cb; [[The function called for the sort.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when the item is selected.]]
@ -511,9 +511,9 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac
@since 1.11
]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
params {
@in item_to_search_from: Elm.Widget.Item * @optional; [[
@in item_to_search_from: Elm.Widget.Item @optional; [[
Pointer to item to start search from. If $null, search
will be started from the first item of the genlist.
]]

View File

@ -55,7 +55,7 @@ class Elm.Genlist.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item before $item, or $null if there's none (and on errors).]]
item: Elm.Widget.Item; [[The item before $item, or $null if there's none (and on errors).]]
}
}
@property next {
@ -71,7 +71,7 @@ class Elm.Genlist.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item after $item, or $null if there's none (and on errors).]]
item: Elm.Widget.Item; [[The item after $item, or $null if there's none (and on errors).]]
}
}
@property parent {
@ -84,7 +84,7 @@ class Elm.Genlist.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The parent of the item or $null if it has no parent.]]
item: Elm.Widget.Item; [[The parent of the item or $null if it has no parent.]]
}
}
@property subitems {
@ -98,7 +98,7 @@ class Elm.Genlist.Item(Elm.Widget.Item)
]]
}
values {
subitems: const (list<Elm.Widget.Item *>) *; [[The list of subitems, $null on error.]]
subitems: const(list<Elm.Widget.Item>); [[The list of subitems, $null on error.]]
}
}
@property selected {
@ -326,7 +326,7 @@ class Elm.Genlist.Item(Elm.Widget.Item)
elsewhere if the user wants to.
]]
params {
@out l: own(list<own(Evas.Object *)> *); [[The contents list to return.]]
@out l: own(list<own(Evas.Object)>); [[The contents list to return.]]
}
}
update {

View File

@ -121,7 +121,7 @@ class Elm.Gesture_Layer (Elm.Widget)
]]
return: bool; [[$true on success, $false otherwise.]]
params {
@in target: Evas.Object *; [[The object to attach.]]
@in target: Evas.Object; [[The object to attach.]]
}
}
cb_del {

View File

@ -25,7 +25,7 @@ class Elm.Grid (Elm.Widget)
It's possible to remove objects from the grid when walking this
list, but these removals won't be reflected on it.
]]
return: free(own(list<Evas.Object *> *), eina_list_free) @warn_unused;
return: free(own(list<Evas.Object>), eina_list_free) @warn_unused;
}
}
clear {
@ -37,13 +37,13 @@ class Elm.Grid (Elm.Widget)
unpack {
[[Unpack a child from a grid object]]
params {
@in subobj: Evas.Object *; [[The child to unpack]]
@in subobj: Evas.Object; [[The child to unpack]]
}
}
pack {
[[Pack child at given position and size]]
params {
@in subobj: Evas.Object *; [[The child to pack.]]
@in subobj: Evas.Object; [[The child to pack.]]
@in x: Evas.Coord; [[The virtual x coord at which to pack it.]]
@in y: Evas.Coord; [[The virtual y coord at which to pack it.]]
@in w: Evas.Coord; [[The virtual width at which to pack it.]]

View File

@ -25,7 +25,7 @@ class Elm.Hover (Elm.Layout, Evas.Clickable_Interface, Elm.Interface.Atspi_Widge
[[Get the target object for the hover.]]
}
values {
target: Evas.Object *; [[The target object.]]
target: Evas.Object; [[The target object.]]
}
}
best_content_location_get @const {

View File

@ -30,7 +30,7 @@ class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface,
get {
}
values {
parent: Evas.Object * @nullable; [[The parent to use]]
parent: Evas.Object @nullable; [[The parent to use]]
}
}
@property expanded {
@ -42,7 +42,7 @@ class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface,
@property items {
get {
[[Get the list of items within the given hoversel.]]
return: const(list<Elm.Widget.Item *>)*;
return: const(list<Elm.Widget.Item>);
}
}
@property auto_update {
@ -78,7 +78,7 @@ class Elm.Hoversel (Elm.Button, Evas.Selectable_Interface,
/* FIXME-doc
For more information on what $icon_file and $icon_type are, see the
@ref Icon "icon documentation". */
return: Elm.Widget.Item *; [[A handle to the added item.]]
return: Elm.Widget.Item; [[A handle to the added item.]]
params {
@in label: const(char)* @optional; [[The text label to use for the item (NULL if not desired)]]
@in icon_file: const(char)* @optional; [[An image file path on disk to use for the icon or standard icon name (NULL if not desired)]]

View File

@ -98,7 +98,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
$item will be the pointer returned back on $"changed",
"delay,changed" and $"selected" smart events.]]
return: Elm.Widget.Item *; [[A handle to the item added or $NULL, on errors]]
return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]]
params {
@in letter: const(char)*; [[Letter under which the item should be indexed]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is selected.]]
@ -124,9 +124,9 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
Note: If $relative is $NULL this function will behave as
elm_index_item_append().]]
return: Elm.Widget.Item *; [[A handle to the item added or $NULL, on errors]]
return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]]
params {
@in after: Elm.Widget.Item *; [[The index item to insert after.]]
@in after: Elm.Widget.Item; [[The index item to insert after.]]
@in letter: const(char)*; [[Letter under which the item should be indexed]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@in data: const(void)* @optional; [[The item data to set for the index's item]]
@ -135,7 +135,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
item_find {
[[Find a given index widget's item, using item data.]]
return: Elm.Widget.Item *; [[The index item handle, if found, or $NULL otherwise]]
return: Elm.Widget.Item; [[The index item handle, if found, or $NULL otherwise]]
params {
@in data: const(void)*; [[The item data pointed to by the desired index item]]
}
@ -153,9 +153,9 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
Note: If $relative is $NULL this function will behave as
elm_index_item_prepend().]]
return: Elm.Widget.Item *; [[A handle to the item added or $NULL, on errors]]
return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]]
params {
@in before: Elm.Widget.Item *; [[The index item to insert after.]]
@in before: Elm.Widget.Item; [[The index item to insert after.]]
@in letter: const(char)*; [[Letter under which the item should be indexed]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@in data: const(void)* @optional; [[The item data to set for the index's item]]
@ -171,7 +171,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
$item will be the pointer returned back on $"changed",
"delay,changed" and $"selected" smart events.]]
return: Elm.Widget.Item *; [[A handle to the item added or $NULL, on errors]]
return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]]
params {
@in letter: const(char)*; [[Letter under which the item should be indexed]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is selected.]]
@ -181,7 +181,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
selected_item_get @const {
[[Returns the last selected item, for a given index widget.]]
return: Elm.Widget.Item *; [[The last item selected on $obj (or $NULL, on errors).]]
return: Elm.Widget.Item; [[The last item selected on $obj (or $NULL, on errors).]]
params {
@in level: int; [[$0 or $1, the currently implemented levels.]]
}
@ -196,7 +196,7 @@ class Elm.Index (Elm.Layout, Efl.Orientation,
$item will be the pointer returned back on $"changed",
"delay,changed" and $"selected" smart events.]]
return: Elm.Widget.Item *; [[A handle to the item added or $NULL, on errors]]
return: Elm.Widget.Item; [[A handle to the item added or $NULL, on errors]]
params {
@in letter: const(char)*; [[Letter under which the item should be indexed]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]

View File

@ -205,7 +205,7 @@ struct Elm.Atspi.Event.State_Changed.Data
struct Elm.Atspi.Event.Children_Changed.Data
{
is_added: bool;
child: Eo.Base *;
child: Eo.Base;
}
struct Elm.Atspi.Attribute
@ -217,10 +217,10 @@ struct Elm.Atspi.Attribute
struct Elm.Atspi.Relation
{
type: Elm.Atspi.Relation_Type;
objects: list<Eo.Base *> *;
objects: list<Eo.Base>;
}
type Elm.Atspi.Relation_Set: list<Elm.Atspi.Relation *> *;
type Elm.Atspi.Relation_Set: list<Elm.Atspi.Relation *>;
mixin Elm.Interface.Atspi_Accessible ()
{
@ -268,7 +268,7 @@ mixin Elm.Interface.Atspi_Accessible ()
[[Gets widget's accessible children.]]
}
values {
children: free(own(list<Elm.Interface.Atspi_Accessible *> *), eina_list_free);
children: free(own(list<Elm.Interface.Atspi_Accessible>), eina_list_free);
}
}
@property role_name @protected {
@ -284,7 +284,7 @@ mixin Elm.Interface.Atspi_Accessible ()
[[Gets key-value pairs indentifying widget extra attributes. Must be free by a user.]]
}
values {
attributes: free(own(list<own(Elm.Atspi.Attribute *)> *), elm_atspi_attributes_list_free);
attributes: free(own(list<own(Elm.Atspi.Attribute *)>), elm_atspi_attributes_list_free);
}
}
@property index_in_parent @protected {
@ -314,7 +314,7 @@ mixin Elm.Interface.Atspi_Accessible ()
[[Sets widget accessible parent.]]
}
values {
parent: Elm.Interface.Atspi_Accessible *;
parent: Elm.Interface.Atspi_Accessible;
}
}
@property state_set @protected {
@ -341,7 +341,7 @@ mixin Elm.Interface.Atspi_Accessible ()
}
event_emit @class @protected {
params {
@in accessible: Elm.Interface.Atspi_Accessible *; [[Accessibility object.]]
@in accessible: Elm.Interface.Atspi_Accessible; [[Accessibility object.]]
@in event: const(Eo.Event.Description)*; [[Accessibility event type.]]
@in event_info: void*; [[Accessibility event details.]]
}
@ -400,7 +400,7 @@ mixin Elm.Interface.Atspi_Accessible ()
return: bool;
params {
@in type: Elm.Atspi.Relation_Type;
@in relation_object: const(Elm.Interface.Atspi_Accessible)*;
@in relation_object: const(Elm.Interface.Atspi_Accessible);
}
}
relationship_remove {
@ -411,7 +411,7 @@ mixin Elm.Interface.Atspi_Accessible ()
]]
params {
@in type: Elm.Atspi.Relation_Type;
@in relation_object: const(Elm.Interface.Atspi_Accessible)*;
@in relation_object: const(Elm.Interface.Atspi_Accessible);
}
}
relationships_clear {
@ -421,7 +421,7 @@ mixin Elm.Interface.Atspi_Accessible ()
get {
[[Get root object of accessible object hierarchy]]
values {
ret: Eo.Base*;
ret: Eo.Base;
}
}
}

View File

@ -45,7 +45,7 @@ mixin Elm.Interface.Atspi_Action ()
[[Get list of available widget actions]]
}
values {
actions: list<Elm_Atspi_Action> *; [[contains statically allocated strings]]
actions: list<Elm_Atspi_Action>; [[contains statically allocated strings]]
}
}
action_do @protected @virtual_pure {

View File

@ -95,7 +95,7 @@ mixin Elm.Interface.Atspi_Component ()
@in x: int;
@in y: int;
}
return: Eo.Base*;
return: Eo.Base;
}
}
}

View File

@ -11,7 +11,7 @@ interface Elm.Interface.Atspi.Selection ()
@property selected_child @protected {
[[Gets child for given child index]]
get {
return: Eo.Base *;
return: Eo.Base;
}
keys {
selected_child_index: int; [[index of selected child]]

View File

@ -113,14 +113,14 @@ interface Elm.Interface.Atspi.Text ()
end_offset: int *;
}
values {
attributes: own(list<own(Elm.Atspi_Text.Attribute *)> *);
attributes: own(list<own(Elm.Atspi_Text.Attribute *)>);
}
}
@property default_attributes @protected {
get {
}
values {
attributes: own(list<own(Elm.Atspi_Text.Attribute *)>*);
attributes: own(list<own(Elm.Atspi_Text.Attribute *)>);
}
}
@property character_extents @protected {
@ -164,7 +164,7 @@ interface Elm.Interface.Atspi.Text ()
yclip: Elm.Atspi_Text.Clip_Type;
}
values {
ranges: own(list<own(Elm.Atspi_Text.Range *)> *);
ranges: own(list<own(Elm.Atspi_Text.Range *)>);
}
}
@property range_extents @protected {

View File

@ -147,7 +147,7 @@ interface Elm.Interface.Fileselector ()
[[Get a list of selected paths in the fileselector.]]
}
values {
ret: const(list<const(char)*>)*;
ret: const(list<const(char)*>);
}
}
@property current_name {

View File

@ -382,7 +382,7 @@ mixin Elm.Interface_Scrollable(Evas.Scrollable_Interface, Evas.Object.Smart)
set {
}
values {
pan: Evas.Object * @nullable;
pan: Evas.Object @nullable;
}
}
@property page_change_cb {
@ -467,7 +467,7 @@ mixin Elm.Interface_Scrollable(Evas.Scrollable_Interface, Evas.Object.Smart)
set {
}
values {
content: Evas.Object * @nullable;
content: Evas.Object @nullable;
}
}
@property edge_left_cb {
@ -522,8 +522,8 @@ mixin Elm.Interface_Scrollable(Evas.Scrollable_Interface, Evas.Object.Smart)
set {
}
values {
edje_object: Evas.Object *;
hit_rectangle: Evas.Object *;
edje_object: Evas.Object;
hit_rectangle: Evas.Object;
}
}
@property last_page {

View File

@ -94,7 +94,7 @@ class Elm.Layout (Elm.Widget, Efl.Container, Efl.File)
hooking callbacks to signals, etc.) can be done with
proper elementary functions.
]]
return: Evas.Object *; [[An Evas_Object with the edje layout
return: Evas.Object; [[An Evas_Object with the edje layout
settings loaded \@ref elm_layout_file_set.]]
}
}

View File

@ -164,14 +164,14 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
The selected item always will be highlighted on list.]]
return: Elm.Widget.Item *; [[The selected list item.]]
return: Elm.Widget.Item; [[The selected list item.]]
}
}
@property items {
get {
[[Get a list of all the list items.]]
return: const(list<Elm.Widget.Item *>)*; [[A $list of list items, #Elm.Widget.Item, or $NULL on failure.]]
return: const(list<Elm.Widget.Item>); [[A $list of list items, #Elm.Widget.Item, or $NULL on failure.]]
}
}
@property first_item {
@ -180,7 +180,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
This returns the first item in the list.]]
return: Elm.Widget.Item *; [[The first item, or NULL if none]]
return: Elm.Widget.Item; [[The first item, or NULL if none]]
}
}
@property selected_items {
@ -190,7 +190,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
Multiple items can be selected if multi select is enabled. It can be
done with elm_list_multi_select_set().]]
return: const(list<Elm.Widget.Item *>)*; [[An $list of list items, #Elm.Widget.Item, or $NULL on failure.]]
return: const(list<Elm.Widget.Item>); [[An $list of list items, #Elm.Widget.Item, or $NULL on failure.]]
}
}
@property last_item {
@ -199,7 +199,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
This returns the last item in the list.]]
return: Elm.Widget.Item *; [[The last item, or NULL if none]]
return: Elm.Widget.Item; [[The last item, or NULL if none]]
}
}
item_insert_before {
@ -224,12 +224,12 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
application dynamically allocated the label, the application should free the
label after this call.]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in before: Elm.Widget.Item *; [[The list item to insert before.]]
@in before: Elm.Widget.Item; [[The list item to insert before.]]
@in label: const(char)*; [[The label of the list item.]]
@in icon: Evas.Object * @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object * @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]]
}
@ -271,12 +271,12 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
application dynamically allocated the label, the application should free the
label after this call.]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in after: Elm.Widget.Item *; [[The list item to insert after.]]
@in after: Elm.Widget.Item; [[The list item to insert after.]]
@in label: const(char)*; [[The label of the list item.]]
@in icon: Evas.Object * @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object * @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]]
}
@ -294,7 +294,7 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
based if the coordinate is above or below all items respectively in
the list.]]
return: Elm.Widget.Item *; [[The item at the coordinates or NULL if none]]
return: Elm.Widget.Item; [[The item at the coordinates or NULL if none]]
params {
@in x: Evas.Coord; [[The input x coordinate]]
@in y: Evas.Coord; [[The input y coordinate]]
@ -342,11 +342,11 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
@see elm_icon_add()
*/
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in label: const(char)*; [[The label of the list item.]]
@in icon: Evas.Object * @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object * @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]]
}
@ -373,11 +373,11 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
application dynamically allocated the label, the application should free the
label after this call.]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in label: const(char)*; [[The label of the list item.]]
@in icon: Evas.Object * @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object * @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]]
}
@ -411,11 +411,11 @@ class Elm.List (Elm.Layout, Elm.Interface_Scrollable,
application dynamically allocated the label, the application should free the
label after this call.]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in label: const(char)*; [[The label of the list item.]]
@in icon: Evas.Object * @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object * @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in end: Evas.Object @optional; [[The icon object to use for the right side of the item. An icon can be any Evas object.]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@in data: const(void)* @optional; [[The data to associate with the item for related callbacks.]]
@in cmp_func: Eina_Compare_Cb; [[The comparing function to be used to sort list

View File

@ -53,7 +53,7 @@ class Elm.List.Item(Elm.Widget.Item)
]]
}
values {
obj: Evas.Object *; [[The base Edje object associated with the item.]]
obj: Evas.Object; [[The base Edje object associated with the item.]]
}
}
@property prev {
@ -65,7 +65,7 @@ class Elm.List.Item(Elm.Widget.Item)
legacy: elm_list_item_prev;
}
values {
item: Elm.Widget.Item *; [[The item before or $null.]]
item: Elm.Widget.Item; [[The item before or $null.]]
}
}
@property next {
@ -77,7 +77,7 @@ class Elm.List.Item(Elm.Widget.Item)
legacy: elm_list_item_next;
}
values {
item: Elm.Widget.Item *; [[The item after or $null.]]
item: Elm.Widget.Item; [[The item after or $null.]]
}
}
/* init { FIXME

View File

@ -264,7 +264,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable,
@since 1.7
]]
return: list<Elm_Map_Overlay *> *; [[The list of all overlays or $null upon failure.]]
return: list<Elm_Map_Overlay *>; [[The list of all overlays or $null upon failure.]]
}
}
@property tile_load_status {
@ -348,7 +348,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable,
}
track_add {
[[Add a track on the map.]]
return: Evas.Object *; [[The route object. This is an elm object of type Route.]]
return: Evas.Object; [[The route object. This is an elm object of type Route.]]
params {
@in emap: void *; [[The emap route object.]]
}
@ -547,7 +547,7 @@ class Elm.Map (Elm.Widget, Elm.Interface_Scrollable,
track_remove {
[[Remove a track from the map.]]
params {
@in route: Evas.Object *; [[The track to remove.]]
@in route: Evas.Object; [[The track to remove.]]
}
}
overlay_route_add {

View File

@ -7,25 +7,25 @@ class Elm.Menu (Elm.Widget, Evas.Clickable_Interface, Elm.Interface.Atspi.Select
@property selected_item {
get {
[[Get the selected item in the menu.]]
return: Elm.Widget.Item *; [[The selected item or $null.]]
return: Elm.Widget.Item; [[The selected item or $null.]]
}
}
@property items {
get {
[[Returns a list of the item's items.]]
return: const(list<Elm.Widget.Item *>)*;
return: const(list<Elm.Widget.Item>);
}
}
@property first_item {
get {
[[Get the first item in the menu.]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
}
}
@property last_item {
get {
[[Get the last item in the menu.]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
}
}
move {
@ -45,9 +45,9 @@ class Elm.Menu (Elm.Widget, Evas.Clickable_Interface, Elm.Interface.Atspi.Select
Note: This function does not accept relative icon path.
]]
return: Elm.Widget.Item *; [[The new menu item.]]
return: Elm.Widget.Item; [[The new menu item.]]
params {
@in parent: Elm.Widget.Item * @optional; [[The parent menu item (optional).]]
@in parent: Elm.Widget.Item @optional; [[The parent menu item (optional).]]
@in icon: const(char)* @optional; [[An icon display on the item. The icon will be destroyed by the menu.]]
@in label: const(char)*; [[The label of the item.]]
@in func: Evas_Smart_Cb @optional; [[Function called when the user select the item.]]
@ -62,9 +62,9 @@ class Elm.Menu (Elm.Widget, Evas.Clickable_Interface, Elm.Interface.Atspi.Select
}
item_separator_add {
[[Add a separator item to menu $obj under $parent.]]
return: Elm.Widget.Item *; [[The created item or $null.]]
return: Elm.Widget.Item; [[The created item or $null.]]
params {
@in parent: Elm.Widget.Item *; [[The item to add the separator under.]]
@in parent: Elm.Widget.Item; [[The item to add the separator under.]]
}
}
}

View File

@ -36,11 +36,11 @@ class Elm.Menu.Item(Elm.Widget.Item, Elm.Interface.Atspi.Selection)
}
prev_get @const {
[[Get the previous item in the menu.]]
return: Elm.Widget.Item*;
return: Elm.Widget.Item;
}
next_get @const {
[[Get the next item in the menu.]]
return: Elm.Widget.Item*;
return: Elm.Widget.Item;
}
index_get @const {
[[Get the next item in the menu.]]
@ -57,7 +57,7 @@ class Elm.Menu.Item(Elm.Widget.Item, Elm.Interface.Atspi.Selection)
}
subitems_get @const {
[[Returns a list of $item's subitems.]]
return: const (list<Elm.Widget.Item *>) *; [[a list of $item's subitems]]
return: const(list<Elm.Widget.Item>); [[a list of $item's subitems]]
}
is_separator @const {
[[Returns whether $item is a separator.]]
@ -69,7 +69,7 @@ class Elm.Menu.Item(Elm.Widget.Item, Elm.Interface.Atspi.Selection)
Warning: Don't manipulate this object!
]]
return: Evas.Object*; [[The base Edje object containing the
return: Evas.Object; [[The base Edje object containing the
swallowed content associated with the item.]]
}
}

View File

@ -50,35 +50,35 @@ class Elm.Multibuttonentry (Elm.Layout)
get {
[[Get a list of items in the multibuttonentry]]
return: const(list<Elm.Widget.Item *>)*; [[The list of items, or NULL if none]]
return: const(list<Elm.Widget.Item>); [[The list of items, or NULL if none]]
}
}
@property first_item {
get {
[[Get the first item in the multibuttonentry]]
return: Elm.Widget.Item *; [[The first item, or NULL if none]]
return: Elm.Widget.Item; [[The first item, or NULL if none]]
}
}
@property last_item {
get {
[[Get the last item in the multibuttonentry]]
return: Elm.Widget.Item *; [[The last item, or NULL if none]]
return: Elm.Widget.Item; [[The last item, or NULL if none]]
}
}
@property entry {
get {
[[Get the entry of the multibuttonentry object]]
return: Evas.Object *; [[The entry object, or NULL if none]]
return: Evas.Object; [[The entry object, or NULL if none]]
}
}
@property selected_item {
get {
[[Get the selected item in the multibuttonentry]]
return: Elm.Widget.Item *; [[The selected item, or NULL if none]]
return: Elm.Widget.Item; [[The selected item, or NULL if none]]
}
}
item_prepend {
@ -86,7 +86,7 @@ class Elm.Multibuttonentry (Elm.Layout)
See @Elm.Widget.Item.del to delete the item.]]
return: Elm.Widget.Item *; [[A handle to the item added or NULL if not possible]]
return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
params {
@in label: const(char)*; [[The label of new item]]
@in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
@ -113,9 +113,9 @@ class Elm.Multibuttonentry (Elm.Layout)
See @Elm.Widget.Item.del to delete the item.]]
return: Elm.Widget.Item *; [[A handle to the item added or NULL if not possible]]
return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
params {
@in before: Elm.Widget.Item *; [[The item before which to add it]]
@in before: Elm.Widget.Item; [[The item before which to add it]]
@in label: const(char)*; [[The label of new item]]
@in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
@in data: void * @optional; [[The pointer to the data to be attached]]
@ -126,7 +126,7 @@ class Elm.Multibuttonentry (Elm.Layout)
See @Elm.Widget.Item.del to delete the item.]]
return: Elm.Widget.Item *; [[A handle to the item added or NULL if not possible]]
return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
params {
@in label: const(char)*; [[The label of new item]]
@in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
@ -164,9 +164,9 @@ class Elm.Multibuttonentry (Elm.Layout)
See @Elm.Widget.Item.del to delete the item.]]
return: Elm.Widget.Item *; [[A handle to the item added or NULL if not possible]]
return: Elm.Widget.Item; [[A handle to the item added or NULL if not possible]]
params {
@in after: Elm.Widget.Item *; [[The item after which to add it]]
@in after: Elm.Widget.Item; [[The item after which to add it]]
@in label: const(char)*; [[The label of new item]]
@in func: Evas_Smart_Cb @optional; [[The callback function to be invoked when this item is pressed.]]
@in data: void * @optional; [[The pointer to the data to be attached]]

View File

@ -16,11 +16,11 @@ class Elm.Multibuttonentry.Item(Elm.Widget.Item,
}
prev_get @const {
[[Get the previous item in the multibuttonentry]]
return: Elm.Widget.Item *; [[The item before the item]]
return: Elm.Widget.Item; [[The item before the item]]
}
next_get @const {
[[Get the next item in the multibuttonentry]]
return: Elm.Widget.Item *; [[The item after the item]]
return: Elm.Widget.Item; [[The item after the item]]
}
}
implements {

View File

@ -45,21 +45,21 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
get {
[[Get a list of all the naviframe items.]]
return: free(own(list<Elm.Widget.Item *> *), eina_list_free) @warn_unused; [[A list of naviframe items, @Elm.Widget.Item, or $NULL on failure. Note: The returned list MUST be freed.]]
return: free(own(list<Elm.Widget.Item>), eina_list_free) @warn_unused; [[A list of naviframe items, @Elm.Widget.Item, or $NULL on failure. Note: The returned list MUST be freed.]]
}
}
@property top_item {
get {
[[Get a top item on the naviframe stack]]
return: Elm.Widget.Item *; [[The top item on the naviframe stack or $NULL, if the stack is empty]]
return: Elm.Widget.Item; [[The top item on the naviframe stack or $NULL, if the stack is empty]]
}
}
@property bottom_item {
get {
[[Get a bottom item on the naviframe stack]]
return: Elm.Widget.Item *; [[The bottom item on the naviframe stack or $NULL, if the stack is empty]]
return: Elm.Widget.Item; [[The bottom item on the naviframe stack or $NULL, if the stack is empty]]
}
}
item_pop {
@ -73,7 +73,7 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
is complete.
]]
return: Evas.Object *; [[$NULL or the content object(if the elm_naviframe_content_preserve_on_pop_get is true).]]
return: Evas.Object; [[$NULL or the content object(if the elm_naviframe_content_preserve_on_pop_get is true).]]
}
item_insert_before {
[[Insert a new item into the naviframe before item $before.
@ -81,13 +81,13 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
The item is inserted into the naviframe straight away without any
transition operations. This item will be deleted when it is popped.]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in before: Elm.Widget.Item *; [[The naviframe item to insert before.]]
@in before: Elm.Widget.Item; [[The naviframe item to insert before.]]
@in title_label: const(char)* @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]]
@in prev_btn: Evas.Object * @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]]
@in next_btn: Evas.Object * @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]]
@in content: Evas.Object *; [[The main content object. The name of content part is "elm.swallow.content"]]
@in prev_btn: Evas.Object @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]]
@in next_btn: Evas.Object @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]]
@in content: Evas.Object; [[The main content object. The name of content part is "elm.swallow.content"]]
@in item_style: const(char)* @nullable; [[The current item style name. $NULL would be default.]]
}
}
@ -103,12 +103,12 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
The following styles are available for this item:
"default"]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in title_label: const(char)* @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]]
@in prev_btn: Evas.Object * @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]]
@in next_btn: Evas.Object * @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]]
@in content: Evas.Object *; [[The main content object. The name of content part is "elm.swallow.content"]]
@in prev_btn: Evas.Object @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]]
@in next_btn: Evas.Object @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]]
@in content: Evas.Object; [[The main content object. The name of content part is "elm.swallow.content"]]
@in item_style: const(char)* @nullable; [[The current item style name. $NULL would be default.]]
}
}
@ -116,7 +116,7 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
[[Simple version of item_promote.]]
params {
@in content: Evas.Object *;
@in content: Evas.Object;
}
}
item_insert_after {
@ -128,13 +128,13 @@ class Elm.Naviframe (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
The following styles are available for this item:
"default"]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in after: Elm.Widget.Item *; [[The naviframe item to insert after.]]
@in after: Elm.Widget.Item; [[The naviframe item to insert after.]]
@in title_label: const(char)* @optional; [[The label in the title area. The name of the title label part is "elm.text.title"]]
@in prev_btn: Evas.Object * @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]]
@in next_btn: Evas.Object * @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]]
@in content: Evas.Object *; [[The main content object. The name of content part is "elm.swallow.content"]]
@in prev_btn: Evas.Object @nullable; [[The button to go to the previous item. If it is NULL, then naviframe will create a back button automatically. The name of the prev_btn part is "elm.swallow.prev_btn"]]
@in next_btn: Evas.Object @nullable; [[The button to go to the next item. Or It could be just an extra function button. The name of the next_btn part is "elm.swallow.next_btn"]]
@in content: Evas.Object; [[The main content object. The name of content part is "elm.swallow.content"]]
@in item_style: const(char)* @nullable; [[The current item style name. $NULL would be default.]]
}
}

View File

@ -134,7 +134,7 @@ class Elm.Photocam (Elm.Widget, Elm.Interface_Scrollable,
modify it. It is for inspection only, and hooking callbacks
to. Nothing else. It may be deleted at any time as well.
]]
return: Evas.Object *; [[The internal image object handle or $null]]
return: Evas.Object; [[The internal image object handle or $null]]
}
}
@property image_size {

View File

@ -16,7 +16,7 @@ class Elm.Plug (Elm.Widget, Evas.Clickable_Interface)
Note: Be careful to not manipulate it, as it is under control of
elementary.
]]
return: Evas.Object *; [[The inlined image object or $null.]]
return: Evas.Object; [[The inlined image object or $null.]]
}
}
connect {

View File

@ -150,10 +150,10 @@ class Elm.Popup (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
only one of content, content-text and item(s) can be there
in a popup content area.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
params {
@in label: const(char)*; [[The Label of the new item.]]
@in icon: Evas.Object * @optional; [[Icon to be set on new item.]]
@in icon: Evas.Object @optional; [[Icon to be set on new item.]]
@in func: Evas_Smart_Cb @optional; [[Convenience function called when item selected.]]
@in data: const(void)* @optional; [[Data passed to $func above.]]
}

View File

@ -119,7 +119,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
@since 1.8]]
return: const(Evas.Object)*; [[A valid widget handle, on success, or $NULL, otherwise]]
return: const(Evas.Object); [[A valid widget handle, on success, or $NULL, otherwise]]
params {
@in name: const(char)*; [[The name of the item (as declared in the prefs collection) to get object from]]
}
@ -151,7 +151,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
return: bool; [[$true, on success, $false otherwise]]
params {
@in name: const(char)*; [[the name of the SWALLOW item (as declared in the prefs collection)]]
@in child: Evas.Object *; [[The object to occupy the item]]
@in child: Evas.Object; [[The object to occupy the item]]
}
}
item_editable_set {
@ -182,7 +182,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
@since 1.8]]
return: Evas.Object *; [[The unswallowed object, or NULL on errors]]
return: Evas.Object; [[The unswallowed object, or NULL on errors]]
params {
@in name: const(char)*; [[the name of the SWALLOW item (as declared in the prefs collection)]]
}

View File

@ -57,7 +57,7 @@ class Elm.Radio (Elm.Check, Elm.Interface.Atspi_Widget_Action)
@property selected_object {
get {
[[Get the selected radio object.]]
return: Evas.Object *; [[The selected radio object]]
return: Evas.Object; [[The selected radio object]]
}
}
group_add {
@ -70,8 +70,8 @@ class Elm.Radio (Elm.Check, Elm.Interface.Atspi_Widget_Action)
]]
params {
@in group: Elm.Radio *; [[Any radio object whose group the obj is
to join.]]
@in group: Elm.Radio; [[Any radio object whose group the obj is
to join.]]
}
}
}

View File

@ -21,7 +21,7 @@ class Elm.Segment_Control (Elm.Layout)
The selected item always will be highlighted on segment control.]]
return: Elm.Widget.Item *; [[The selected item or $NULL if none of segment items is selected.]]
return: Elm.Widget.Item; [[The selected item or $NULL if none of segment items is selected.]]
}
}
@ -55,9 +55,9 @@ class Elm.Segment_Control (Elm.Layout)
icon and label, even that an empty string, icon will be smaller and
positioned at left.]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in icon: Evas.Object * @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in label: const(char)* @optional; [[The label of the item.]]
@in idx: int; [[Item position. Value should be between 0 and items count.]]
}
@ -70,7 +70,7 @@ class Elm.Segment_Control (Elm.Layout)
Count is the number of items, that can be get with
elm_segment_control_item_count_get().]]
return: Elm.Widget.Item *; [[The segment control item or $NULL on failure.]]
return: Elm.Widget.Item; [[The segment control item or $NULL on failure.]]
params {
@in idx: int; [[The index of the segment item.]]
}
@ -113,9 +113,9 @@ class Elm.Segment_Control (Elm.Layout)
evas_object_show(sc);
@endcode */
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in icon: Evas.Object * @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in icon: Evas.Object @optional; [[The icon object to use for the left side of the item. An icon can be any Evas object, but usually it is an icon created with elm_icon_add().]]
@in label: const(char)* @optional; [[The label of the item. Note that, NULL is different from empty string "".]]
}
}
@ -126,7 +126,7 @@ class Elm.Segment_Control (Elm.Layout)
it was created, with function elm_segment_control_item_add(), or later
with function elm_object_item_part_content_set(). If no icon
was passed as argument, it will return $NULL.]]
return: Evas.Object *; [[The left side icon associated to the item at $index.]]
return: Evas.Object; [[The left side icon associated to the item at $index.]]
params {
@in idx: int; [[The index of the segment item.]]
}

View File

@ -16,7 +16,7 @@ class Elm.Segment_Control.Item(Elm.Widget.Item)
[[Get the real Evas(Edje) object created to implement the view of a given segment_control item.
Base object is the @Evas.Object that represents that item.]]
return: Evas.Object*; [[The base Edje object associated with $it]]
return: Evas.Object; [[The base Edje object associated with $it]]
}
selected_set {
[[Set the selected state of an item.

View File

@ -137,7 +137,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
items list is changed. It should be fetched again with another
call to this function when changes happen.
]]
return: const(list<Elm.Widget.Item *>)*; [[
return: const(list<Elm.Widget.Item>); [[
The list of items (#Elm.Widget.Item as data) or $null on
errors.
]]
@ -174,7 +174,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
is valid and has not internally changed its list for some
reason, so make a copy if you need it around.
]]
return: const(list<const(char)*>)*; [[
return: const(list<const(char)*>); [[
The list of transitions (list of stringshared strings
as data).
]]
@ -189,7 +189,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
@property item_current {
get {
[[Returns the currently displayed item, in a given slideshow widget.]]
return: Elm.Widget.Item *; [[A handle to the item being displayed
return: Elm.Widget.Item; [[A handle to the item being displayed
in $obj or $null, if none is (and
on errors)]]
}
@ -221,7 +221,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
like to use them out of this call's context, you'd better
\@ref eina_stringshare_ref them.
]]
return: const(list<const(char)*>)*; [[
return: const(list<const(char)*>); [[
The list of layouts (list of stringshared strings as data)
]]
}
@ -240,7 +240,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
[[Get the the item, in a given slideshow widget, placed at
position $nth, in its internal items list.
]]
return: Elm.Widget.Item *; [[The item stored in $obj at position
return: Elm.Widget.Item; [[The item stored in $obj at position
$nth or $null if there's no item with
that index (and on errors).]]
params {
@ -274,7 +274,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
parameter is going to be passed to both class functions of the
item.
]]
return: Elm.Widget.Item *; [[A handle to the item added or $null on errors.]]
return: Elm.Widget.Item; [[A handle to the item added or $null on errors.]]
params {
@in itc: const(Elm_Slideshow_Item_Class)*; [[The item class for the item.]]
@in data: const(void)*; [[The item's data.]]
@ -291,7 +291,7 @@ class Elm.Slideshow (Elm.Layout, Elm.Interface.Atspi_Widget_Action)
Elementary photo, for example. The $data parameter is going to
be passed to both class functions of the item.
]]
return: Elm.Widget.Item *; [[Returns The slideshow item handle,
return: Elm.Widget.Item; [[Returns The slideshow item handle,
on success, or $null on errors.]]
params {
@in itc: const(Elm_Slideshow_Item_Class)*; [[The item class for the item.]]

View File

@ -25,7 +25,7 @@ class Elm.Slideshow.Item(Elm.Widget.Item)
lower level callbacks for events on that object. Do not delete
this object under any circumstances.]]
return: Evas.Object*;
return: Evas.Object;
}
}
implements {

View File

@ -79,7 +79,7 @@ class Elm.Sys_Notify (Eo.Base, Elm.Sys_Notify_Interface)
@since 1.17
]]
return: Elm.Sys_Notify *; [[The unique notification manager]]
return: Elm.Sys_Notify; [[The unique notification manager]]
}
}

View File

@ -69,7 +69,7 @@ class Elm.Systray (Eo.Base)
[[Get the object path of the D-Bus Menu currently in use.]]
}
values {
menu: const(Eo.Base)* @nullable;
menu: const(Eo.Base) @nullable;
}
}
@property att_icon_name {

View File

@ -51,7 +51,7 @@ class Elm.Table (Elm.Widget)
}
child_get @const {
[[Get child object of table at given coordinates.]]
return: Evas.Object *; [[Child of object if find if not return $null.]]
return: Evas.Object; [[Child of object if find if not return $null.]]
params {
@in col: int; [[Column number of child object.]]
@in row: int; [[Row number of child object.]]
@ -68,7 +68,7 @@ class Elm.Table (Elm.Widget)
means only takes that 1 cell.
]]
params {
@in subobj: Evas.Object *; [[The subobject to be modified in the table.]]
@in subobj: Evas.Object; [[The subobject to be modified in the table.]]
@in column: int; [[Column number.]]
@in row: int; [[Row number.]]
@in colspan: int;
@ -79,7 +79,7 @@ class Elm.Table (Elm.Widget)
pack_get {
[[Get the packing location of an existing child of the table.]]
params {
@in subobj: Evas.Object *; [[The subobject to be modified in the table.]]
@in subobj: Evas.Object; [[The subobject to be modified in the table.]]
@out column: int; [[Column number.]]
@out row: int; [[Row number.]]
@out colspan: int;
@ -90,7 +90,7 @@ class Elm.Table (Elm.Widget)
unpack {
[[Remove child from table.]]
params {
@in subobj: Evas.Object *; [[The subobject.]]
@in subobj: Evas.Object; [[The subobject.]]
}
}
pack {
@ -108,7 +108,7 @@ class Elm.Table (Elm.Widget)
able to fit in 16bits will result in failure.
]]
params {
@in subobj: Evas.Object *; [[The subobject to be added to the table.]]
@in subobj: Evas.Object; [[The subobject to be added to the table.]]
@in column: int; [[Column number.]]
@in row: int; [[Row number.]]
@in colspan: int;

View File

@ -136,7 +136,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
get {
}
values {
parent: Evas.Object *; [[The parent of the menu objects.]]
parent: Evas.Object; [[The parent of the menu objects.]]
}
}
@property standard_priority {
@ -163,7 +163,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
The selected item always will be highlighted on toolbar.]]
return: Elm.Widget.Item *; [[The selected toolbar item.]]
return: Elm.Widget.Item; [[The selected toolbar item.]]
}
}
@property first_item {
@ -172,7 +172,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
See: @.item_append and @.last_item]]
return: Elm.Widget.Item *; [[The first item or $NULL, if it has no items (and on errors)]]
return: Elm.Widget.Item; [[The first item or $NULL, if it has no items (and on errors)]]
}
}
@property more_item {
@ -184,7 +184,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
The more item can be manipulated by elm_object_item_text_set() and
elm_object_item_content_set.]]
return: Elm.Widget.Item *; [[The toolbar more item.]]
return: Elm.Widget.Item; [[The toolbar more item.]]
}
}
@property last_item {
@ -192,7 +192,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
[[Get the last item in the given toolbar widget's list of items.
See: @.item_prepend and @.first_item]]
return: Elm.Widget.Item *; [[The last item or $NULL, if it has no items (and on errors)]]
return: Elm.Widget.Item; [[The last item or $NULL, if it has no items (and on errors)]]
}
}
item_insert_before {
@ -220,9 +220,9 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
See: elm_toolbar_item_icon_set()]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in before: Elm.Widget.Item *; [[The toolbar item to insert before.]]
@in before: Elm.Widget.Item; [[The toolbar item to insert before.]]
@in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]]
@in label: const(char)*; [[The label of the item.]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@ -254,9 +254,9 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
See: elm_toolbar_item_icon_set()]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in after: Elm.Widget.Item *; [[The toolbar item to insert after.]]
@in after: Elm.Widget.Item; [[The toolbar item to insert after.]]
@in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]]
@in label: const(char)*; [[The label of the item.]]
@in func: Evas_Smart_Cb @optional; [[The function to call when the item is clicked.]]
@ -288,7 +288,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
See: elm_toolbar_item_icon_set()]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]]
@in label: const(char)*; [[The label of the item.]]
@ -325,7 +325,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
See: elm_toolbar_item_icon_set()]]
return: Elm.Widget.Item *; [[The created item or $NULL upon failure.]]
return: Elm.Widget.Item; [[The created item or $NULL upon failure.]]
params {
@in icon: const(char)* @optional; [[A string with icon name or the absolute path of an image file.]]
@in label: const(char)*; [[The label of the item.]]
@ -336,7 +336,7 @@ class Elm.Toolbar (Elm.Widget, Elm.Interface_Scrollable, Efl.Orientation,
item_find_by_label @const {
[[Returns a pointer to a toolbar item by its label.]]
return: Elm.Widget.Item *; [[The pointer to the toolbar item matching $label or $NULL on failure.]]
return: Elm.Widget.Item; [[The pointer to the toolbar item matching $label or $NULL on failure.]]
params {
@in label: const(char)*; [[The label of the item to find.]]
}

View File

@ -18,7 +18,7 @@ struct Elm.Toolbar.Item.State
]]
label: const(char)*;
icon_str: const(char)*;
icon: Evas.Object *;
icon: Evas.Object;
func: Evas_Smart_Cb ;
data: const(void)*;
}
@ -36,7 +36,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item before $item, or $null
item: Elm.Widget.Item; [[The item before $item, or $null
if none or on failure.]]
}
}
@ -48,7 +48,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
]]
}
values {
item: Elm.Widget.Item *; [[The item after $item, or $null
item: Elm.Widget.Item; [[The item after $item, or $null
if none or on failure.]]
}
}
@ -122,7 +122,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
]]
}
values {
obj: Evas.Object *; [[The base Edje object associated with $it.]]
obj: Evas.Object; [[The base Edje object associated with $it.]]
}
}
@property icon_object {
@ -133,7 +133,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
]]
}
values {
obj: Evas.Object *; [[The icon object.]]
obj: Evas.Object; [[The icon object.]]
}
}
@property separator {
@ -162,7 +162,7 @@ class Elm.Toolbar.Item(Elm.Widget.Item)
]]
}
values {
menu: Evas.Object *; [[Item's menu object or $null on failure.]]
menu: Evas.Object; [[Item's menu object or $null on failure.]]
}
}
@property state {

View File

@ -77,7 +77,7 @@ class Elm.Video (Elm.Layout, Efl.File, Elm.Interface.Atspi_Widget_Action)
@property emotion {
get {
[[Get the underlying Emotion object.]]
return: Evas.Object *; [[the underlying Emotion object.]]
return: Evas.Object; [[the underlying Emotion object.]]
}
}
@property is_seekable {

View File

@ -7,7 +7,7 @@ class Elm.View.Form (Eo.Base)
@since 1.11
]]
params {
@in model: Efl.Model*; [[Emodel object]]
@in model: Efl.Model; [[Emodel object]]
}
}
widget_add {
@ -17,7 +17,7 @@ class Elm.View.Form (Eo.Base)
]]
params {
@in propname: const(char)*; [[Property name]]
@in evas: Evas.Object *; [[Evas widget]]
@in evas: Evas.Object; [[Evas widget]]
}
}
}

View File

@ -9,7 +9,7 @@ class Elm.View.List (Eo.Base)
@since 1.11
]]
params {
@in genlist: Evas.Object*; [[Genlist object]]
@in genlist: Evas.Object; [[Genlist object]]
@in item_type: Elm.Genlist.Item.Type; [[Item type]]
@in item_style: const(char)*; [[The current item style name. $null would be default.]]
}
@ -20,7 +20,7 @@ class Elm.View.List (Eo.Base)
@since 1.11
]]
params {
@out widget: Evas.Object*; [[Returned widget]]
@out widget: Evas.Object; [[Returned widget]]
}
}
property_connect {
@ -39,7 +39,7 @@ class Elm.View.List (Eo.Base)
@since 1.11
]]
params {
@in model: Efl.Model *; [[New Emodel to set]]
@in model: Efl.Model; [[New Emodel to set]]
}
}
model_unset {
@ -54,7 +54,7 @@ class Elm.View.List (Eo.Base)
@since 1.11
]]
params {
@out model: Efl.Model *; [[Returned Emodel]]
@out model: Efl.Model; [[Returned Emodel]]
}
}
}

View File

@ -307,7 +307,7 @@ class Elm.Web (Elm.Widget)
return the internal reference. Be careful using it as it may
interfere with elm_web behavior.
]]
return: Evas.Object *; [[The internal ewk_view object or $null
return: Evas.Object; [[The internal ewk_view object or $null
if it does not exist. (Failure to
create or Elementary compiled
without ewebkit)]]

View File

@ -172,12 +172,12 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
the list of objects. The previous list will be deleted and this list
will be managed by elementary. After it is set, don't modify it.]]
values {
objs: list<Evas.Object*>*; [[Chain of objects to pass focus]]
objs: list<Evas.Object>; [[Chain of objects to pass focus]]
}
}
get {
values {
objs: const(list<Evas.Object*>)*; [[Chain of objects]]
objs: const(list<Evas.Object>); [[Chain of objects]]
}
}
}
@ -222,7 +222,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
legacy: elm_widget_parent_get; /* Needed because we don't do duplication removal for legacy names. */
}
values {
parent: Evas.Object * @nullable;
parent: Evas.Object @nullable;
}
}
@property access_info {
@ -274,7 +274,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
return: bool;
}
values {
edj: Evas.Object *;
edj: Evas.Object;
wname: const(char)*;
welement: const(char)*;
wstyle: const(char)*;
@ -284,7 +284,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
set {
}
values {
sobj: Evas.Object * @nullable;
sobj: Evas.Object @nullable;
}
}
@property display_mode {
@ -322,7 +322,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
set {
}
values {
sobj: Evas.Object * @nullable;
sobj: Evas.Object @nullable;
sub_obj: bool;
}
}
@ -340,7 +340,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
[[Function to operate on a given widget's scrollabe children when necessary.
Warning: free the returned list with eina_list_free().]]
return: free(own(list<Evas.Object *> *), eina_list_free) @warn_unused;
return: free(own(list<Evas.Object>), eina_list_free) @warn_unused;
}
}
@property scroll_hold {
@ -386,7 +386,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
}
@property top {
get {
return: Evas.Object *;
return: Evas.Object;
}
}
@property focus_order {
@ -401,13 +401,13 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
}
@property can_focus_child_list {
get {
return: free(own(list<Evas.Object *> *), eina_list_free) @warn_unused;
return: free(own(list<Evas.Object>), eina_list_free) @warn_unused;
}
}
@property focused_item {
get {
[[Get the focused widget item.]]
return: Elm.Widget.Item *;
return: Elm.Widget.Item;
}
}
@property parents_bounce {
@ -420,7 +420,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
}
@property parent_widget {
get @virtual_pure {
return: Evas.Object *;
return: Evas.Object;
legacy: null;
}
}
@ -432,7 +432,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
@property focused_object {
[[Current focused object in object tree.]]
get {
return: Evas.Object *; [[Current focused or $null, if there is no focused object.]]
return: Evas.Object; [[Current focused or $null, if there is no focused object.]]
}
}
@property parent2 {
@ -441,7 +441,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
get {
}
values {
parent: Evas.Object * @nullable;
parent: Evas.Object @nullable;
}
}
@property part_text {
@ -457,7 +457,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
}
}
newest_focus_order_get @const {
return: Evas.Object *;
return: Evas.Object;
params {
@out newest_focus_order: uint;
@in can_focus_only: bool;
@ -475,7 +475,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
@since 1.8]]
params {
@in next: Evas.Object * @nullable; [[Focus next object]]
@in next: Evas.Object @nullable; [[Focus next object]]
@in dir: Elm.Focus_Direction; [[Focus direction]]
}
}
@ -483,7 +483,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
[[Get the next object with specific focus direction.
@since 1.8]]
return: Evas.Object *; [[Focus next object]]
return: Evas.Object; [[Focus next object]]
params {
@in dir: Elm.Focus_Direction; [[Focus direction]]
}
@ -493,7 +493,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
@since 1.16]]
params {
@in next_item: Elm.Widget.Item * @nullable; [[Focus next object item]]
@in next_item: Elm.Widget.Item @nullable; [[Focus next object item]]
@in dir: Elm.Focus_Direction; [[Focus direction]]
}
}
@ -501,7 +501,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
[[Get the next object item with specific focus direction.
@since 1.16]]
return: Elm.Widget.Item *; [[Focus next object item]]
return: Elm.Widget.Item; [[Focus next object item]]
params {
@in dir: Elm.Focus_Direction; [[Focus direction]]
}
@ -516,8 +516,8 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
Note: On focus cycle, only will be evaluated children of this container.]]
params {
@in child: Evas.Object *; [[The child to be added in custom chain.]]
@in relative_child: Evas.Object * @optional; [[The relative object to position the child.]]
@in child: Evas.Object; [[The child to be added in custom chain.]]
@in relative_child: Evas.Object @optional; [[The relative object to position the child.]]
}
}
part_text_translate {
@ -548,7 +548,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
[['Virtual' function handling sub objects being added.]]
return: bool;
params {
@in sobj: Evas.Object *;
@in sobj: Evas.Object;
}
}
focus_direction_manager_is {
@ -559,7 +559,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
event {
[['Virtual' function handling input events on the widget.]]
params {
@in source: Evas.Object *;
@in source: Evas.Object;
@in type: Evas.Callback_Type;
@in event_info: void *;
}
@ -593,7 +593,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
on_focus {
[['Virtual' function handling focus in/out events on the widget. return true if this widget can handle focus, false otherwise]]
params {
@in item: Elm.Widget.Item * @nullable;
@in item: Elm.Widget.Item @nullable;
}
return: bool;
}
@ -617,10 +617,10 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
focus_direction @virtual_pure {
[['Virtual' function handling passing focus to sub-objects given a direction, in degrees.]]
params {
@in base: const(Evas.Object)*;
@in base: const(Evas.Object);
@in degree: double;
@out direction: Evas.Object *;
@out direction_item: Elm.Widget.Item *;
@out direction: Evas.Object;
@out direction_item: Elm.Widget.Item;
@out weight: double;
}
return: bool;
@ -646,7 +646,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
return: bool;
}
name_find @const {
return: Evas.Object *;
return: Evas.Object;
params {
@in name: const(char)*;
@in recurse: int;
@ -655,12 +655,12 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
focus_list_direction_get @const {
return: bool;
params {
@in base: const(Evas.Object)*;
@in items: const(list<Eo.Base*>)*;
@in base: const(Evas.Object);
@in items: const(list<Eo.Base>);
@in list_data_get: list_data_get_func_type;
@in degree: double;
@out direction: Evas.Object *;
@out direction_item: Elm.Widget.Item *;
@out direction: Evas.Object;
@out direction_item: Elm.Widget.Item;
@out weight: double;
}
}
@ -700,8 +700,8 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
return: bool;
params {
@in dir: Elm.Focus_Direction;
@out next: Evas.Object *;
@out next_item: Elm.Widget.Item *;
@out next: Evas.Object;
@out next_item: Elm.Widget.Item;
}
}
translatable_part_text_get @const {
@ -733,7 +733,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
}
focus_steal {
params {
@in item: Elm.Widget.Item * @nullable;
@in item: Elm.Widget.Item @nullable;
}
}
focus_hide_handle {
@ -742,19 +742,19 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
[['Virtual' function handling passing focus to sub-objects.]]
params {
@in dir: Elm.Focus_Direction;
@out next: Evas.Object *;
@out next_item: Elm.Widget.Item *;
@out next: Evas.Object;
@out next_item: Elm.Widget.Item;
}
return: bool;
}
focus_list_next_get @const {
return: bool;
params {
@in items: const(list<Eo.Base*>)*;
@in items: const(list<Eo.Base>);
@in list_data_get: list_data_get_func_type;
@in dir: Elm.Focus_Direction;
@out next: Evas.Object *;
@out next_item: Elm.Widget.Item *;
@out next: Evas.Object;
@out next_item: Elm.Widget.Item;
}
}
focus_mouse_up_handle {
@ -767,10 +767,10 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
focus_direction_get @const {
return: bool;
params {
@in base: const(Evas.Object)*;
@in base: const(Evas.Object);
@in degree: double;
@out direction: Evas.Object *;
@out direction_item: Elm.Widget.Item *;
@out direction: Evas.Object;
@out direction_item: Elm.Widget.Item;
@out weight: double;
}
}
@ -796,7 +796,7 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
[['Virtual' function handling sub objects being removed.]]
return: bool;
params {
@in sobj: Evas.Object *;
@in sobj: Evas.Object;
}
}
tooltip_add {
@ -816,8 +816,8 @@ abstract Elm.Widget (Evas.Object.Smart, Elm.Interface.Atspi_Accessible, Elm.Inte
Note: On focus cycle, only will be evaluated children of this container.]]
params {
@in child: Evas.Object *; [[The child to be added in custom chain.]]
@in relative_child: Evas.Object * @optional; [[The relative object to position the child.]]
@in child: Evas.Object; [[The child to be added in custom chain.]]
@in relative_child: Evas.Object @optional; [[The relative object to position the child.]]
}
}
@property focus_move_policy {

View File

@ -108,7 +108,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
part: const (char) * @nullable; [[The content part name (NULL for the default content)]]
}
values {
content: Evas.Object *; [[The content of the object item]]
content: Evas.Object; [[The content of the object item]]
}
}
@property part_text {
@ -189,14 +189,14 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
[[Get highlight order
@since 1.8]]
return: const(list<Evas.Object *>) *;
return: const(list<Evas.Object>);
}
access_order_set {
[[Set highlight order
@since 1.8]]
params {
@in objs: own(list<Evas.Object *> *); [[Order of objects to pass highlight]]
@in objs: own(list<Evas.Object>); [[Order of objects to pass highlight]]
}
}
widget_get @const {
@ -204,7 +204,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
Note: This returns the widget object itself that an item belongs to.
Note: Every elm_object_item supports this API]]
return: Evas.Object*; [[The widget object]]
return: Evas.Object; [[The widget object]]
}
del {
[[Delete the given item.]]
@ -260,7 +260,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
params {
part: const (char) *; [[The content part name to unset (NULL for the default content)]]
}
return: Evas.Object*;
return: Evas.Object;
}
part_text_custom_update @protected {
[[Update additional text part content]]
@ -322,7 +322,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
[[Get an accessible object of the object item.
@since 1.8]]
return: Evas.Object*; [[Accessible object of the object item or NULL for any error]]
return: Evas.Object; [[Accessible object of the object item or NULL for any error]]
}
domain_translatable_part_text_set {
[[Set the text for an object item's part, marking it as translatable.
@ -408,7 +408,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
See: @.track_get
@since 1.8]]
return: Evas.Object*; [[The track object]]
return: Evas.Object; [[The track object]]
}
untrack {
[[This retrieve the track object of the item.
@ -472,7 +472,7 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
[[Register object item as an accessible object.
@since 1.8]]
return: Evas.Object*; [[Accessible object of the object item or NULL for any error]]
return: Evas.Object; [[Accessible object of the object item or NULL for any error]]
}
access_unregister {
[[Unregister accessible object of the object item.
@ -498,14 +498,14 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
params {
dir: Elm.Focus_Direction; [[Focus direction]]
}
return: Evas.Object *; [[Focus next object]]
return: Evas.Object; [[Focus next object]]
}
focus_next_object_set {
[[Set the next object with specific focus direction.
@since 1.16]]
params {
next: Evas.Object * @nullable; [[Focus next object]]
next: Evas.Object @nullable; [[Focus next object]]
dir: Elm.Focus_Direction; [[Focus direction]]
}
}
@ -516,14 +516,14 @@ class Elm.Widget.Item(Eo.Base, Elm.Interface.Atspi_Accessible,
params {
dir: Elm.Focus_Direction; [[Focus direction]]
}
return: Elm.Widget.Item *; [[Focus next object item]]
return: Elm.Widget.Item; [[Focus next object item]]
}
focus_next_item_set {
[[Set the next object item with specific focus direction.
@since 1.16]]
params {
next_item: Elm.Widget.Item * @nullable; [[Focus next object item]]
next_item: Elm.Widget.Item @nullable; [[Focus next object item]]
dir: Elm.Focus_Direction; [[Focus direction]]
}
}

View File

@ -564,7 +564,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window,
@endcode
*/
values {
icon: Evas.Object* @nullable; [[The Evas image object to use for an icon.]]
icon: Evas.Object @nullable; [[The Evas image object to use for an icon.]]
}
}
get {
@ -574,7 +574,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window,
the object to use for the window icon.
]]
values {
icon: const(Evas.Object)* @nullable; [[The Evas image object to use for an icon.]]
icon: const(Evas.Object) @nullable; [[The Evas image object to use for an icon.]]
}
}
}
@ -881,7 +881,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window,
@property main_menu {
get {
[[Get the Main Menu of a window.]]
return: Evas.Object *; [[The Main Menu of the window ($null on error).]]
return: Evas.Object; [[The Main Menu of the window ($null on error).]]
}
}
@property window_id {
@ -920,7 +920,7 @@ class Elm.Win (Elm.Widget, Elm.Interface.Atspi.Window,
control of elementary), and use it to do things like get
pixel data, save the image to a file, etc.
]]
return: Evas.Object *; [[The inlined image object or $null if none exists.]]
return: Evas.Object; [[The inlined image object or $null if none exists.]]
}
}
@property name {

View File

@ -10,7 +10,7 @@ struct Eo.Event.Description {
struct Eo.Event {
[[Parameter passed in event callbacks holding extra event parameters]]
object: Eo.Base *; [[The object the event was called on.]]
object: Eo.Base; [[The object the event was called on.]]
desc: const(Eo.Event.Description) *; [[The event description.]]
info: void *; [[Extra event information passed by the event caller.]]
}
@ -70,7 +70,7 @@ abstract Eo.Base ()
get {
}
values {
parent: Eo.Base * @nullable; [[the new parent]]
parent: Eo.Base @nullable; [[the new parent]]
}
}
@property name {
@ -147,16 +147,16 @@ abstract Eo.Base ()
If this is not done the class cannot be found up in the object tree.
]]
params {
klass : const(Eo.Base)*; [[The class identifier to search for]]
klass : const(Eo.Base); [[The class identifier to search for]]
}
return : Eo.Base*;
return : Eo.Base;
}
constructor {
[[Call the object's constructor.
Should not be used with #eo_do. Only use it with #eo_do_super.
]]
return: Eo.Base *; [[The new object created, can be NULL if aborting]]
return: Eo.Base; [[The new object created, can be NULL if aborting]]
}
destructor {
[[Call the object's destructor.
@ -166,7 +166,7 @@ abstract Eo.Base ()
}
finalize {
[[Called at the end of #eo_add. Should not be called, just overridden.]]
return: Eo.Base *; [[The new object created, can be NULL if aborting]]
return: Eo.Base; [[The new object created, can be NULL if aborting]]
}
name_find {
[[Find a child object with the given name and return it.
@ -179,7 +179,7 @@ abstract Eo.Base ()
params {
@in search: const(char)*; [[the name search string]]
}
return: Eo.Base *; [[the first object found]]
return: Eo.Base; [[the first object found]]
}
wref_add {
[[Add a new weak reference to obj.
@ -191,13 +191,13 @@ abstract Eo.Base ()
being freed.
]]
params {
@out wref: Eo.Base *;
@out wref: Eo.Base;
}
}
wref_del {
[[Delete the weak reference passed.]]
params {
@in wref: Eo.Base **;
@out wref: Eo.Base;
}
}
@property key_data {
@ -235,12 +235,12 @@ abstract Eo.Base ()
}
set {
values {
objdata: const(Eo.Base) *; [[the object to set]]
objdata: const(Eo.Base); [[the object to set]]
}
}
get {
values {
objdata: Eo.Base *; [[the object to set]]
objdata: Eo.Base; [[the object to set]]
}
}
}
@ -345,14 +345,14 @@ abstract Eo.Base ()
[[Add an event callback forwarder for an event and an object.]]
params {
@in desc: const(Eo.Event.Description)*; [[The description of the event to listen to]]
@in new_obj: Eo.Base *; [[The object to emit events from]]
@in new_obj: Eo.Base; [[The object to emit events from]]
}
}
event_callback_forwarder_del {
[[Remove an event callback forwarder for an event and an object.]]
params {
@in desc: const(Eo.Event.Description)*; [[The description of the event to listen to]]
@in new_obj: Eo.Base *; [[The object to emit events from]]
@in new_obj: Eo.Base; [[The object to emit events from]]
}
}
dbg_info_get {
@ -363,7 +363,7 @@ abstract Eo.Base ()
}
children_iterator_new {
[[Get an iterator on all childrens]]
return: free(own(iterator<Eo.Base *> *), eina_iterator_free) @warn_unused;
return: free(own(iterator<Eo.Base>), eina_iterator_free) @warn_unused;
}
composite_attach @beta {
[[Make an object a composite object of another.
@ -375,7 +375,7 @@ abstract Eo.Base ()
See @.composite_detach, @.composite_part_is.
]]
params {
@in comp_obj: Eo.Base *; [[the object that will be used to composite the parent.]]
@in comp_obj: Eo.Base; [[the object that will be used to composite the parent.]]
}
return: bool; [[$true if successful. $false otherwise.]]
}
@ -387,7 +387,7 @@ abstract Eo.Base ()
See @.composite_attach, @.composite_part_is.
]]
params {
@in comp_obj: Eo.Base *; [[the object that will be removed from the parent.]]
@in comp_obj: Eo.Base; [[the object that will be removed from the parent.]]
}
return: bool; [[$true if successful. $false otherwise.]]
}

View File

@ -1739,11 +1739,10 @@ EAPI const Eolian_Type *eolian_type_aliased_base_get(const Eolian_Type *tp);
EAPI const Eolian_Class *eolian_type_class_get(const Eolian_Type *tp);
/*
* @brief Get whether the given type is @own.
* @brief Get whether the given type is owned.
*
* @param[in] tp the type.
* @return EINA_TRUE when @c tp is a non-function type and not NULL,
* EINA_FALSE otherwise.
* @return EINA_TRUE when the type is marked owned, EINA_FALSE otherwise.
*
* @ingroup Eolian
*/
@ -1753,8 +1752,7 @@ EAPI Eina_Bool eolian_type_is_own(const Eolian_Type *tp);
* @brief Get whether the given type is const.
*
* @param[in] tp the type.
* @return EINA_TRUE when @c tp is a non-function type and not NULL,
* EINA_FALSE otherwise.
* @return EINA_TRUE when the type is const, EINA_FALSE otherwise.
*
* @ingroup Eolian
*/
@ -1830,8 +1828,8 @@ EAPI Eina_Iterator *eolian_type_namespaces_get(const Eolian_Type *tp);
* @param[in] tp the type.
* @return the free func name.
*
* For pointer types, this returns name of the func used to free the pointer.
* For other types, this returns NULL.
* For pointer, class and complex types, this returns name of the func used
* to free the pointer. For other types, this returns NULL.
*
* @ingroup Eolian
*/

View File

@ -33,6 +33,7 @@ _eval_type(const Eolian_Expression *expr, const Eolian_Type *type)
return database_expr_eval(expr, mask);
}
case EOLIAN_TYPE_CLASS:
case EOLIAN_TYPE_COMPLEX:
return database_expr_eval(expr, EOLIAN_MASK_NULL);
case EOLIAN_TYPE_REGULAR:
{

View File

@ -110,9 +110,13 @@ database_type_to_str(const Eolian_Type *tp, Eina_Strbuf *buf, const char *name)
eina_strbuf_append_char(buf, '*');
if (tp->is_const) eina_strbuf_append(buf, " const");
}
if (tp->type == EOLIAN_TYPE_COMPLEX || tp->type == EOLIAN_TYPE_CLASS)
eina_strbuf_append(buf, " *");
if (name)
{
if (tp->type != EOLIAN_TYPE_POINTER)
if (tp->type != EOLIAN_TYPE_POINTER &&
tp->type != EOLIAN_TYPE_CLASS &&
tp->type != EOLIAN_TYPE_COMPLEX)
eina_strbuf_append_char(buf, ' ');
eina_strbuf_append(buf, name);
}

View File

@ -692,10 +692,9 @@ _parse_dep(Eo_Lexer *ls, const char *fname, const char *name)
}
static Eolian_Type *
parse_type_void_base(Eo_Lexer *ls, Eina_Bool noptr)
parse_type_void(Eo_Lexer *ls)
{
Eolian_Type *def;
const char *ctype;
Eina_Strbuf *buf;
int line = ls->line_number, col = ls->column;
switch (ls->t.kw)
@ -707,7 +706,7 @@ parse_type_void_base(Eo_Lexer *ls, Eina_Bool noptr)
pline = ls->line_number;
pcol = ls->column;
check_next(ls, '(');
def = parse_type_void_base(ls, EINA_TRUE);
def = parse_type_void(ls);
FILL_BASE(def->base, ls, line, col);
def->is_const = EINA_TRUE;
check_match(ls, ')', '(', pline, pcol);
@ -721,11 +720,13 @@ parse_type_void_base(Eo_Lexer *ls, Eina_Bool noptr)
pcolumn = ls->column;
check_next(ls, '(');
eo_lexer_context_push(ls);
def = parse_type_void_base(ls, EINA_TRUE);
if (def->type != EOLIAN_TYPE_POINTER)
def = parse_type_void(ls);
if (def->type != EOLIAN_TYPE_POINTER &&
def->type != EOLIAN_TYPE_COMPLEX &&
def->type != EOLIAN_TYPE_CLASS)
{
eo_lexer_context_restore(ls);
eo_lexer_syntax_error(ls, "pointer type expected");
eo_lexer_syntax_error(ls, "ownable type expected");
}
eo_lexer_context_pop(ls);
FILL_BASE(def->base, ls, line, col);
@ -741,11 +742,13 @@ parse_type_void_base(Eo_Lexer *ls, Eina_Bool noptr)
pcolumn = ls->column;
check_next(ls, '(');
eo_lexer_context_push(ls);
def = parse_type_void_base(ls, EINA_TRUE);
if (def->type != EOLIAN_TYPE_POINTER)
def = parse_type_void(ls);
if (def->type != EOLIAN_TYPE_POINTER &&
def->type != EOLIAN_TYPE_COMPLEX &&
def->type != EOLIAN_TYPE_CLASS)
{
eo_lexer_context_restore(ls);
eo_lexer_syntax_error(ls, "pointer type expected");
eo_lexer_syntax_error(ls, "freeable type expected");
}
eo_lexer_context_pop(ls);
check_next(ls, ',');
@ -776,8 +779,7 @@ parse_type_void_base(Eo_Lexer *ls, Eina_Bool noptr)
int tpid = ls->t.kw;
def->type = EOLIAN_TYPE_REGULAR;
check(ls, TOK_VALUE);
ctype = eo_lexer_get_c_type(ls->t.kw);
if (ctype)
if (eo_lexer_get_c_type(ls->t.kw))
{
_fill_name(eina_stringshare_ref(ls->t.value.s), &def->full_name,
&def->name, &def->namespaces);
@ -834,25 +836,10 @@ parse_type_void_base(Eo_Lexer *ls, Eina_Bool noptr)
}
}
parse_ptr:
/* check: complex/class type must always be behind a pointer */
if (!noptr && ((def->type == EOLIAN_TYPE_CLASS) || (def->type == EOLIAN_TYPE_COMPLEX)))
if ((def->type == EOLIAN_TYPE_CLASS) || (def->type == EOLIAN_TYPE_COMPLEX))
{
if (getenv("EOLIAN_CLASS_NO_PTR"))
{
fprintf(stderr, "eolian:%s:%d:%d: pointer around complex/class type '%s'\n",
def->base.file, line, col, def->full_name);
if (ls->t.token != '*')
{
Eolian_Type *pdef;
pop_type(ls);
pdef = push_type(ls);
FILL_BASE(pdef->base, ls, ls->line_number, ls->column);
pdef->base_type = def;
pdef->type = EOLIAN_TYPE_POINTER;
def = pdef;
}
}
else check(ls, '*');
if (ls->t.token == '*')
eo_lexer_syntax_error(ls, "pointer to complex/class type");
}
while (ls->t.token == '*')
{
@ -868,12 +855,6 @@ parse_ptr:
return def;
}
static Eolian_Type *
parse_type_void(Eo_Lexer *ls)
{
return parse_type_void_base(ls, EINA_FALSE);
}
static Eolian_Typedecl *
parse_typedef(Eo_Lexer *ls)
{

View File

@ -30,7 +30,7 @@ class Efl.Canvas.Proxy (Evas.Image, Efl.Gfx.Buffer)
}
get {}
values {
src: Evas.Object * @nonull; [[Source object to use for the proxy.]]
src: Evas.Object @nonull; [[Source object to use for the proxy.]]
}
}
@property source_clip {

View File

@ -11,7 +11,7 @@ class Efl.Canvas.Scene3d (Evas.Image)
set {}
get {}
values {
scene: Evas.Canvas3D.Scene *; [[3D scene.]]
scene: Evas.Canvas3D.Scene; [[3D scene.]]
}
}
}

View File

@ -68,7 +68,7 @@ abstract Efl.VG (Eo.Base, Efl.Gfx, Efl.Gfx.Stack)
get {
}
values {
m: Efl.VG *;
m: Efl.VG;
}
}
/* quality {
@ -94,14 +94,14 @@ abstract Efl.VG (Eo.Base, Efl.Gfx, Efl.Gfx.Stack)
interpolate {
return: bool;
params {
@in from: const(Efl.VG)*;
@in to: const(Efl.VG)*;
@in from: const(Efl.VG);
@in to: const(Efl.VG);
@in pos_map: double;
}
}
dup {
params {
@in from: const(Efl.VG)*;
@in from: const(Efl.VG);
}
}
}

Some files were not shown because too many files have changed in this diff Show More