Phase 3: popup UI with network list and passphrase dialog

e_gadcon_popup hosts a status label, a scrollable list of networks
(snapshotted from iwd_manager and sorted: connected → known → alpha),
and Rescan/Enable/Disable action buttons. Clicking a network calls
Network.Connect; iwd then asks our Agent for a passphrase, which is
routed to a modal elm_popup via iwd_manager_set_passphrase_handler.

The passphrase handler is installed at module init so iwd-initiated
auth works even when the popup is closed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
nemunaire 2026-04-08 22:49:40 +07:00
commit e66a3effa6
6 changed files with 365 additions and 18 deletions

View file

@ -1,10 +1,11 @@
#ifndef E_MOD_POPUP_H
#define E_MOD_POPUP_H
#include <Evas.h>
#include <e_gadcon.h>
void e_iwd_popup_toggle(Evas_Object *anchor);
void e_iwd_popup_close(void);
void e_iwd_popup_install_passphrase_handler(void);
void e_iwd_popup_toggle (E_Gadcon_Client *gcc);
void e_iwd_popup_close (void);
void e_iwd_popup_refresh(void);
#endif