2019-07-04 16:02:43 -07:00
|
|
|
class @beta Efl.Ui.Tab_Pager extends Efl.Ui.Spotlight.Container
|
2018-05-02 05:10:16 -07:00
|
|
|
{
|
2019-09-06 07:25:57 -07:00
|
|
|
[[Container for @Efl.Ui.Tab_Page
|
|
|
|
|
|
|
|
This container consists out of a Efl.Ui.Tab_Bar and a place to display the content of the pages.
|
|
|
|
The items that are generated out of the pages will be displayed in the tab bar of this pager.
|
|
|
|
]]
|
2018-05-02 05:10:16 -07:00
|
|
|
methods {
|
|
|
|
@property tab_bar {
|
2019-09-06 07:25:57 -07:00
|
|
|
[[Tab bar where to add items of the @Efl.Ui.Tab_Page into.]]
|
2019-08-23 10:16:56 -07:00
|
|
|
get {
|
|
|
|
|
|
|
|
}
|
2018-05-02 05:10:16 -07:00
|
|
|
values {
|
2019-09-06 07:25:57 -07:00
|
|
|
tab_bar: Efl.Ui.Tab_Bar; [[Tab bar for the items of the @Efl.Ui.Tab_Page]]
|
2018-05-02 05:10:16 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2019-08-23 10:16:56 -07:00
|
|
|
Efl.Object.finalize;
|
2019-08-23 10:34:53 -07:00
|
|
|
Efl.Pack.pack_clear;
|
|
|
|
Efl.Pack.unpack_all;
|
2019-03-25 22:20:27 -07:00
|
|
|
Efl.Pack.unpack;
|
2018-05-02 05:10:16 -07:00
|
|
|
Efl.Pack_Linear.pack_begin;
|
|
|
|
Efl.Pack_Linear.pack_end;
|
|
|
|
Efl.Pack_Linear.pack_before;
|
|
|
|
Efl.Pack_Linear.pack_after;
|
|
|
|
Efl.Pack_Linear.pack_at;
|
2019-08-23 10:34:53 -07:00
|
|
|
Efl.Pack_Linear.pack_unpack_at;
|
efl_ui_spotlight: migrate from active_index to active_element
after playing arround with the widget, we found out that it feels quite
weird to have a index, where most of the time you work with widgets.
We might want to add syntax suger in the future to make it easier to
just jump to the next element, or to the previous, but that still is to
be decided.
The event and the communication to the spotlight manager are still left
to be used with the index, reason for this is, that we might need to
fill there an invalid pointer, if a deletion is triggering an animation,
which seems quite weird. That needs further discussing.
Docx have been updated, the sitemarks about the shifting of the
active_index can be removed, as the element is not subject of change
during content adds/deletes.
ref T7991
Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Differential Revision: https://phab.enlightenment.org/D9813
2019-09-02 01:26:40 -07:00
|
|
|
Efl.Ui.Spotlight.Container.active_element { set; }
|
2018-05-02 05:10:16 -07:00
|
|
|
}
|
2019-01-18 05:22:23 -08:00
|
|
|
}
|