summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_size_class.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl/interfaces/efl_gfx_size_class.eo')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_size_class.eo49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_size_class.eo b/src/lib/efl/interfaces/efl_gfx_size_class.eo
new file mode 100644
index 0000000000..1fa3dad5da
--- /dev/null
+++ b/src/lib/efl/interfaces/efl_gfx_size_class.eo
@@ -0,0 +1,49 @@
+interface Efl.Gfx.Size_Class
+{
+ 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.
+
+ @since 1.17]]
+ 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.
+
+ @since 1.17]]
+ 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.
+
+ @since 1.17]]
+ params {
+ @in size_class: string; [[The size class to be deleted.]]
+ }
+ }
+ }
+}