efl/src/lib/efl/interfaces/efl_gfx_text_class.eo

40 lines
1.1 KiB
Plaintext

import efl_gfx_types;
interface @beta Efl.Gfx.Text_Class
{
[[Efl Gfx Text Class interface]]
methods {
@property text_class {
[[Font and font size from edje text class.
When reading the font string will only be valid until the text class is changed
or the edje object is deleted.]]
set {
return: bool; [[$true, on success or $false, on error]]
}
get {
return: bool; [[$true, on success or $false, on error]]
}
keys {
text_class: string; [[The text class name]]
}
values {
font: string; [[Font name]]
size: Efl.Font.Size; [[Font Size]]
}
}
text_class_del {
[[Delete the text class.
This function deletes any values for the specified text class.
Deleting the text class will revert it to the values defined
by @.text_class.set() or the text class defined in the theme file.
]]
params {
@in text_class: string; [[The text class to be deleted.]]
}
}
}
}