efl/src/lib/efl/interfaces/efl_gfx_size_class.eo

48 lines
1.5 KiB
Plaintext

interface @beta Efl.Gfx.Size_Class
{
[[Efl Gfx Size Class interface]]
methods {
@property size_class {
set {
[[Set width and height of size class.
This function sets width and height for a size class.
This will make all edje parts in the specified object that have
the specified size class update their size with given values.
]]
return: bool; [[$true, on success or $false, on error]]
}
get {
[[Get width and height of size class.
This function gets width and height for a size class.
These values will only be valid until the size class is changed
or the edje object is deleted.
]]
return: bool; [[$true, on success or $false, on error]]
}
keys {
size_class: string; [[The name of size class]]
}
values {
minw: int; [[minimum width]]
minh: int; [[minimum height]]
maxw: int; [[maximum width]]
maxh: int; [[maximum height]]
}
}
size_class_del {
[[Delete the size class.
This function deletes any values for the specified size class.
Deleting the size class will revert it to the values defined
by @.size_class.set() or the size class defined in the theme file.
]]
params {
@in size_class: string; [[The size class to be deleted.]]
}
}
}
}