cxx: Fix example after popup changes.
Summary: Popup api changed in 1ca07b72da
Reviewers: zmike, felipealmeida, bu5hm4n
Reviewed By: bu5hm4n
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9807
This commit is contained in:
parent
333a070915
commit
b6648b748b
|
@ -227,7 +227,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
|
|||
auto timeout_set_cb(std::bind([]() {
|
||||
if (!g_popup) return;
|
||||
|
||||
g_popup.timeout_set(3);
|
||||
g_popup.closing_timeout_set(3);
|
||||
std::cout << "Timeout is set to 3 seconds" << std::endl;
|
||||
}));
|
||||
efl::eolian::event_add(efl::input::Clickable::clicked_event, timeout_btn, timeout_set_cb);
|
||||
|
|
Loading…
Reference in New Issue