efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
|
2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Ui.Grid_Default_Item extends Efl.Ui.Grid_Item implements
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
Efl.Text,
|
|
|
|
Efl.Text_Markup,
|
2018-12-21 14:46:10 -08:00
|
|
|
Efl.Ui.L10n,
|
2019-01-18 05:22:23 -08:00
|
|
|
Efl.Content
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
{
|
|
|
|
[[Grid Default Item class.
|
|
|
|
This class need to be sub object of list widget.
|
2019-02-25 04:33:25 -08:00
|
|
|
Text and contents can be set using @Efl.Text,
|
|
|
|
@Efl.Content or @Efl.Part.]]
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
data: null;
|
|
|
|
parts {
|
efl_ui : refactoring efl.part in item based classes.
Summary:
Most of item-based class will have similar efl.part such as text, icon, end.
creating this efl part per each class will be very hard to maintaining the class
and unnecessary eo generation.
so combine them in efl.parts of efl_ui_item.
sub item classes can use this efl.part by declairing ther own eo definition.
Reviewers: cedric, Jaehyun_Cho, segfaultxavi, eagleeye
Reviewed By: cedric, eagleeye
Subscribers: herb, woohyun, q66, lauromoura, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8582
2019-05-29 21:22:03 -07:00
|
|
|
text: Efl.Ui.Item_Part_Text; [[The text part for grid default item.
|
|
|
|
text part is the caption of grid item.]]
|
|
|
|
icon: Efl.Ui.Item_Part_Icon; [[The icon content part for grid default item.
|
|
|
|
icon part is the main content of grid item.]]
|
|
|
|
end: Efl.Ui.Item_Part_Extra; [[The extra content part for grid default item.
|
|
|
|
extra part is the spare content of grid item.
|
|
|
|
you can swallow small badge widget such as check, radio.]]
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
}
|
|
|
|
implements {
|
|
|
|
//Efl.Object
|
|
|
|
Efl.Object.finalize;
|
|
|
|
Efl.Object.destructor;
|
|
|
|
Efl.Text.text { get; set; }
|
|
|
|
Efl.Text_Markup.markup { get; set; }
|
2018-12-21 14:46:10 -08:00
|
|
|
Efl.Ui.L10n.l10n_text { get; set; }
|
efl_ui_grid : introduce new packable grid widget for Efl.Ui.Widget
Summary:
Introduce new packable grid for Efl.Ui.Widget toolkits.
most of parts are same as Efl.Ui.List, and it also support Efl.Pack_Linear,
although it will not support Efl.Pack_Table, because item must be
arranged sequential orders.
Test Plan:
We will make the tests on efl ui test suite.
please test by make check.
Reviewers: Hermet, cedric, felipealmeida, eagleeye, woohyun
Reviewed By: Hermet, eagleeye
Subscribers: CHAN, bu5hm4n, cedric
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6985
2018-11-19 21:32:31 -08:00
|
|
|
Efl.Content.content { get; set; }
|
|
|
|
Efl.Content.content_unset;
|
|
|
|
Efl.Part.part_get;
|
|
|
|
}
|
|
|
|
}
|