2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Ui.Popup_Part_Backwall extends Efl.Ui.Layout_Part implements Efl.File
|
2018-09-04 22:32:51 -07:00
|
|
|
{
|
2019-09-10 02:21:39 -07:00
|
|
|
[[A Popup backwall is the background object for an @Efl.Ui.Popup widget. It can be returned
|
|
|
|
from a given Popup widget by using the @Efl.Part API to fetch the "backwall" part.
|
|
|
|
|
|
|
|
This object provides functionality for determining the look and interaction methods
|
|
|
|
of a Popup's background.
|
|
|
|
|
|
|
|
If a Popup should allow input events to reach the objects behind the Popup,
|
|
|
|
@.repeat_events can be enabled.
|
|
|
|
|
|
|
|
To set an image to be used as a background for the Popup, the @Efl.File API can
|
|
|
|
be used directly on the backwall object.
|
|
|
|
]]
|
2018-09-04 22:32:51 -07:00
|
|
|
data: null;
|
efl_ui_popup: Remove inheritance from Efl.Canvas.Object
Summary:
Class Efl.Ui.Popup_Part_Backwall inherits from multiple classes,
class Efl.Ui.Layout.Part and abstract Efl.Canvas.Object.
To remove multiple class inheritance, Efl.Canvas.Object is not
derived and its property, repeat_events, is newly defined in
Efl.Ui.Popup_Part_Backwall.
Test Plan:
1. Execute elementary_test.
2. Select Efl.Ui.Popup.
3. Select "Show Dummy Button".
4. Select "Repeat Event Set".
5. Test if repeat event works.
Reviewers: woohyun, felipealmeida, Hermet, segfaultxavi
Reviewed By: Hermet, segfaultxavi
Subscribers: bu5hm4n, q66, cedric, segfaultxavi, lauromoura, #reviewers, herb, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6984
2018-09-09 21:29:54 -07:00
|
|
|
methods {
|
|
|
|
@property repeat_events {
|
2019-09-10 02:21:39 -07:00
|
|
|
[[If this property is set to $true, input events will be able to reach objects
|
|
|
|
below the Popup. This allows for e.g., a click to activate a widget below the Popup
|
|
|
|
while the Popup is active.
|
|
|
|
]]
|
efl_ui_popup: Remove inheritance from Efl.Canvas.Object
Summary:
Class Efl.Ui.Popup_Part_Backwall inherits from multiple classes,
class Efl.Ui.Layout.Part and abstract Efl.Canvas.Object.
To remove multiple class inheritance, Efl.Canvas.Object is not
derived and its property, repeat_events, is newly defined in
Efl.Ui.Popup_Part_Backwall.
Test Plan:
1. Execute elementary_test.
2. Select Efl.Ui.Popup.
3. Select "Show Dummy Button".
4. Select "Repeat Event Set".
5. Test if repeat event works.
Reviewers: woohyun, felipealmeida, Hermet, segfaultxavi
Reviewed By: Hermet, segfaultxavi
Subscribers: bu5hm4n, q66, cedric, segfaultxavi, lauromoura, #reviewers, herb, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6984
2018-09-09 21:29:54 -07:00
|
|
|
|
2019-09-10 02:21:39 -07:00
|
|
|
set {
|
efl_ui_popup: Remove inheritance from Efl.Canvas.Object
Summary:
Class Efl.Ui.Popup_Part_Backwall inherits from multiple classes,
class Efl.Ui.Layout.Part and abstract Efl.Canvas.Object.
To remove multiple class inheritance, Efl.Canvas.Object is not
derived and its property, repeat_events, is newly defined in
Efl.Ui.Popup_Part_Backwall.
Test Plan:
1. Execute elementary_test.
2. Select Efl.Ui.Popup.
3. Select "Show Dummy Button".
4. Select "Repeat Event Set".
5. Test if repeat event works.
Reviewers: woohyun, felipealmeida, Hermet, segfaultxavi
Reviewed By: Hermet, segfaultxavi
Subscribers: bu5hm4n, q66, cedric, segfaultxavi, lauromoura, #reviewers, herb, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6984
2018-09-09 21:29:54 -07:00
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2019-09-10 02:21:39 -07:00
|
|
|
repeat: bool; [[Whether to repeat events to objects below the Popup. The default is $false.]]
|
efl_ui_popup: Remove inheritance from Efl.Canvas.Object
Summary:
Class Efl.Ui.Popup_Part_Backwall inherits from multiple classes,
class Efl.Ui.Layout.Part and abstract Efl.Canvas.Object.
To remove multiple class inheritance, Efl.Canvas.Object is not
derived and its property, repeat_events, is newly defined in
Efl.Ui.Popup_Part_Backwall.
Test Plan:
1. Execute elementary_test.
2. Select Efl.Ui.Popup.
3. Select "Show Dummy Button".
4. Select "Repeat Event Set".
5. Test if repeat event works.
Reviewers: woohyun, felipealmeida, Hermet, segfaultxavi
Reviewed By: Hermet, segfaultxavi
Subscribers: bu5hm4n, q66, cedric, segfaultxavi, lauromoura, #reviewers, herb, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6984
2018-09-09 21:29:54 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-04 22:32:51 -07:00
|
|
|
implements {
|
2019-08-05 11:56:44 -07:00
|
|
|
Efl.File.file { get; }
|
|
|
|
Efl.File.key { get; }
|
2019-02-27 10:17:09 -08:00
|
|
|
Efl.File.load;
|
2019-07-26 09:54:41 -07:00
|
|
|
Efl.File.unload;
|
2018-09-04 22:32:51 -07:00
|
|
|
}
|
|
|
|
}
|