HomePhabricator

introduce efl_ui_tab_bar_default_item

Authored by Marcel Hollerbach <mail@marcel-hollerbach.de> on Aug 29 2019, 5:07 AM.

Description

introduce efl_ui_tab_bar_default_item

Summary:
Tab bar used a direct layout to implement all this functionality by its
own. However, it seems that we can reuse a lot of object functionality
that is already part of efl.ui.item. With this commit the features that
are not part of Efl.Ui.Item are moved to Efl.Ui.Tab_Bar_Default_Item.

The tab bar is changed in a way that you do not need to pass the icon
and label by hand anymore, you can rather just pass the tab_bar default
item. Additionally, the item for a tab_page can now directly be
generated from a page.

This is the first commit in order to cleanup efl_ui_tab_bar, tab_page &
tab_pager. The goal is also to implement our interfaces for inserting
elements on those objects. So our common test suites can also be used.

Reviewers: zmike, segfaultxavi, cedric, woohyun, bowonryu

Reviewed By: woohyun

Subscribers: reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D9726

Details

Committed
woohyunAug 29 2019, 5:07 AM
Reviewer
woohyun
Differential Revision
D9726: introduce efl_ui_tab_bar_default_item
Parents
rEFL9c018613ee9a: eolian: drop @cref
Branches
Unknown
Tags
Unknown
woohyun committed rEFLef3d88dfc9b7: introduce efl_ui_tab_bar_default_item (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>).Aug 29 2019, 5:07 AM