*/
EAPI Evas_Object *evas_object_table_add(Evas *evas) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_MALLOC;
+/**
+ * @brief Control the mirrored mode of the table. In mirrored mode, the table
+ * items go from right to left instead of left to right. That is, 1,1 is top
+ * right, not top left.
+ *
+ * @param[in] obj The object.
+ * @param[in] mirrored @c true if mirrored, @c false otherwise
+ *
+ * @since 1.1
+ *
+ * @ingroup Evas_Table
+ */
+EAPI void evas_object_table_mirrored_set(Eo *obj, Eina_Bool mirrored);
+
+/**
+ * @brief Control the mirrored mode of the table. In mirrored mode, the table
+ * items go from right to left instead of left to right. That is, 1,1 is top
+ * right, not top left.
+ *
+ * @param[in] obj The object.
+ *
+ * @return @c true if mirrored, @c false otherwise
+ *
+ * @since 1.1
+ *
+ * @ingroup Evas_Table
+ */
+EAPI Eina_Bool evas_object_table_mirrored_get(const Eo *obj);
+
#include "canvas/evas_table.eo.legacy.h"
/**
}
EOLIAN static Eina_Bool
-_evas_table_mirrored_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv)
+_evas_table_efl_ui_base_mirrored_get(Eo *o EINA_UNUSED, Evas_Table_Data *priv)
{
return priv->is_mirrored;
}
+EAPI Eina_Bool
+evas_object_table_mirrored_get(const Eo *obj)
+{
+ return efl_ui_mirrored_get(obj);
+}
+
EOLIAN static void
-_evas_table_mirrored_set(Eo *o, Evas_Table_Data *priv, Eina_Bool mirrored)
+_evas_table_efl_ui_base_mirrored_set(Eo *o, Evas_Table_Data *priv, Eina_Bool mirrored)
{
if (priv->is_mirrored != mirrored)
{
}
}
+EAPI void
+evas_object_table_mirrored_set(Eo *obj, Eina_Bool mirrored)
+{
+ efl_ui_mirrored_set(obj, mirrored);
+}
+
EOLIAN static void
_evas_table_class_constructor(Efl_Class *klass)
{
vertical: int; [[Vertical padding]]
}
}
- @property mirrored {
- [[Control the mirrored mode of the table. In mirrored mode, the table items go
- from right to left instead of left to right. That is, 1,1 is top right, not
- top left.
-
- @since 1.1]]
- set {
- }
- get {
- }
- values {
- mirrored: bool; [[$true if mirrored, $false otherwise]]
- }
- }
@property col_row_size {
get {
[[Get the number of columns and rows this table takes.
Efl.Gfx.size { set; }
Efl.Gfx.position { set; }
Efl.Canvas.Group.group_calculate;
+ Efl.Ui.Base.mirrored { get; set; }
}
}