2019-02-27 10:17:16 -08:00
|
|
|
import efl_ui;
|
2019-02-27 10:52:14 -08:00
|
|
|
import efl_orientation;
|
2019-02-27 10:17:16 -08:00
|
|
|
|
efl: apply the stabilzed column of the efl api board
Summary:
The project https://phab.enlightenment.org/tag/efl_api/ has been used in
the last few weeks to figure out which classes can be stablized and
which cannot. This commit moves those dedicated classes outside beta.
And makes them stable.
ref T7601
ref T7600
ref T7599
ref T7598
ref T7597
ref T7596
ref T7594
ref T7593
ref T7591
ref T7590
ref T7589
ref T7588
ref T7583
ref T7582
ref T7581
ref T7576
ref T7570
ref T7567
ref T7564
ref T7563
ref T7560
ref T7559
ref T7672
ref T7584
ref T7577
ref T7571
ref T7558
ref T7555
ref T7554
ref T7553
ref T7512
ref T7511
Depends on D8272
Reviewers: cedric, stefan_schmidt, zmike, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7672, T7601, T7600, T7599, T7598, T7597, T7596, T7594, T7593, T7591, T7590, T7589, T7588, T7584, T7583, T7582, T7581, T7577, T7576, T7571, T7570, T7567, T7564, T7563, T7560, T7559, T7558, T7555, T7554, T7553, T7512, T7511
Differential Revision: https://phab.enlightenment.org/D8273
2019-03-09 04:44:17 -08:00
|
|
|
abstract Efl.Ui.Layout_Base extends Efl.Ui.Widget implements Efl.Container,
|
2019-02-12 11:55:50 -08:00
|
|
|
Efl.Ui.Factory_Bind,
|
2019-02-27 10:17:16 -08:00
|
|
|
Efl.Layout.Calc, Efl.Layout.Signal,
|
|
|
|
Efl.Layout.Group
|
|
|
|
{
|
|
|
|
[[Elementary layout abstract]]
|
|
|
|
eo_prefix: efl_ui_layout;
|
|
|
|
data: Efl_Ui_Layout_Data;
|
|
|
|
methods {
|
|
|
|
@property theme {
|
|
|
|
[[The theme of this widget, defines which edje group will be used.
|
|
|
|
|
|
|
|
Based on the type of widget ($klass), a given $group and a
|
|
|
|
$style (usually "default"), the edje group name will be formed
|
|
|
|
for this object.
|
|
|
|
|
|
|
|
Widgets that inherit from this class will call this function
|
|
|
|
automatically so it should not be called by applications, unless
|
|
|
|
you are dealing directly with a @Efl.Ui.Layout object.
|
|
|
|
]]
|
|
|
|
set {
|
|
|
|
[[Sets the edje group from the elementary theme that will be used
|
|
|
|
as layout. Note that $style will be the new style of this object,
|
|
|
|
as in an @Efl.Ui.Widget.style. As a consequence this function can
|
|
|
|
only be called during construction of the object, before finalize.
|
|
|
|
|
|
|
|
If this returns $false the widget is very likely to become
|
|
|
|
non-functioning.
|
|
|
|
]]
|
2019-03-04 10:37:07 -08:00
|
|
|
return: Eina.Error;
|
2019-02-27 10:17:16 -08:00
|
|
|
[[Whether the style was successfully applied or not, see
|
2019-03-04 10:37:07 -08:00
|
|
|
the values of Efl.Ui.Theme.Apply_Error for more information.]]
|
2019-02-27 10:17:16 -08:00
|
|
|
}
|
|
|
|
get {
|
|
|
|
[[Get information about the current theme in use.]]
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
klass: string; [[The class of the group, eg. "button".]]
|
|
|
|
group: string("base"); [[The group, eg. "base".]]
|
|
|
|
style: string("default"); [[The style to use, eg "default".]]
|
|
|
|
}
|
|
|
|
}
|
2019-03-04 10:36:31 -08:00
|
|
|
@property automatic_theme_rotation @beta {
|
2019-02-27 10:52:14 -08:00
|
|
|
[[This flag tells if this object will automatically mirror the rotation changes of the window to this object.
|
|
|
|
]]
|
|
|
|
values {
|
|
|
|
automatic : bool; [[$true to mirror orientation changes to the theme $false otherwise]]
|
|
|
|
}
|
|
|
|
}
|
2019-03-04 10:36:31 -08:00
|
|
|
theme_rotation_apply @beta {
|
2019-02-27 10:52:14 -08:00
|
|
|
[[Apply a new rotation value to this object.]]
|
|
|
|
params {
|
|
|
|
orientation : Efl.Orient; [[The new rotation value.]]
|
|
|
|
}
|
|
|
|
}
|
2019-02-27 10:17:16 -08:00
|
|
|
}
|
|
|
|
implements {
|
|
|
|
class.constructor;
|
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.finalize;
|
|
|
|
Efl.Canvas.Group.group_calculate;
|
|
|
|
Efl.Layout.Calc.calc_freeze;
|
|
|
|
Efl.Layout.Calc.calc_thaw;
|
|
|
|
Efl.Layout.Calc.calc_auto_update_hints { get; set; }
|
|
|
|
Efl.Layout.Calc.calc_size_min;
|
|
|
|
Efl.Layout.Calc.calc_parts_extends;
|
|
|
|
Efl.Layout.Calc.calc_force;
|
|
|
|
Efl.Layout.Signal.signal_callback_add;
|
|
|
|
Efl.Layout.Signal.signal_callback_del;
|
|
|
|
Efl.Layout.Signal.signal_emit;
|
|
|
|
Efl.Layout.Signal.message_send;
|
|
|
|
Efl.Layout.Signal.signal_process;
|
|
|
|
Efl.Layout.Group.group_data { get; }
|
|
|
|
Efl.Layout.Group.group_size_min { get; }
|
|
|
|
Efl.Layout.Group.group_size_max { get; }
|
|
|
|
Efl.Layout.Group.part_exist { get; }
|
|
|
|
Efl.Ui.Widget.widget_sub_object_add;
|
|
|
|
Efl.Ui.Widget.theme_apply;
|
2019-02-27 11:00:14 -08:00
|
|
|
Efl.Ui.Widget.disabled {set;}
|
2019-02-27 10:17:16 -08:00
|
|
|
Efl.Ui.Widget.widget_sub_object_del;
|
|
|
|
Efl.Ui.Focus.Object.on_focus_update;
|
|
|
|
Efl.Container.content_count;
|
|
|
|
Efl.Container.content_iterate;
|
|
|
|
Efl.Part.part_get;
|
|
|
|
Efl.Ui.Property_Bind.property_bind;
|
|
|
|
Efl.Ui.Factory_Bind.factory_bind;
|
2019-02-12 11:55:50 -08:00
|
|
|
Efl.Ui.View.model { set; }
|
2019-02-27 10:17:16 -08:00
|
|
|
}
|
|
|
|
events {
|
|
|
|
theme,changed: void; [[Called when theme changed]]
|
|
|
|
}
|
|
|
|
}
|