grid: convert docs

This commit is contained in:
Daniel Kolesa 2015-07-31 15:46:21 +01:00
parent 61a9917a3d
commit 077339bce1
1 changed files with 20 additions and 40 deletions

View File

@ -5,68 +5,48 @@ class Elm.Grid (Elm.Widget)
methods { methods {
@property size { @property size {
set { set {
/*@ [[Set the virtual size of the grid]]
Set the virtual size of the grid
@ingroup Grid */
} }
get { get {
/*@ [[Get the virtual size of the grid]]
Get the virtual size of the grid
@ingroup Grid */
} }
values { values {
w: Evas.Coord; /*@ The virtual width of the grid */ w: Evas.Coord; [[The virtual width of the grid]]
h: Evas.Coord; /*@ The virtual height of the grid */ h: Evas.Coord; [[The virtual height of the grid]]
} }
} }
@property children { @property children {
get { get {
/*@ [[Get the list of the children for the grid.
Get the list of the children for the grid.
@note This is a duplicate of the list kept by the grid internally. Note: This is a duplicate of the list kept by the grid internally.
It's up to the user to destroy it when it no longer needs it. It's up to the user to destroy it when it no longer needs it.
It's possible to remove objects from the grid when walking this It's possible to remove objects from the grid when walking this
list, but these removals won't be reflected on it. list, but these removals won't be reflected on it.
]]
@ingroup Grid */
return: free(own(list<Evas.Object *> *), eina_list_free) @warn_unused; return: free(own(list<Evas.Object *> *), eina_list_free) @warn_unused;
} }
} }
clear { clear {
/*@ [[Faster way to remove all child objects from a grid object.]]
Faster way to remove all child objects from a grid object.
@ingroup Grid */
params { params {
@in clear: bool; /*@ If true, it will delete just removed children */ @in clear: bool; [[If true, it will delete just removed children]]
} }
} }
unpack { unpack {
/*@ [[Unpack a child from a grid object]]
Unpack a child from a grid object
@ingroup Grid */
params { params {
@in subobj: Evas.Object *; /*@ The child to unpack */ @in subobj: Evas.Object *; [[The child to unpack]]
} }
} }
pack { pack {
/*@ [[Pack child at given position and size]]
Pack child at given position and size
@ingroup Grid */
params { 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 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 y: Evas.Coord; [[The virtual y coord at which to pack it.]]
@in w: Evas.Coord; /*@ The virtual width at which to pack it */ @in w: Evas.Coord; [[The virtual width at which to pack it.]]
@in h: Evas.Coord; /*@ The virtual height at which to pack it */ @in h: Evas.Coord; [[The virtual height at which to pack it.]]
} }
} }
} }