<--- Cannot embed stylesheet: [Errno 2] No such file or directory: '../../../../aros.css' --->

Popscreen.mui

MUIC_Popscreen

Superclass

Popobject.mui

Description

Select a public-screen name through a Listview popup. Construction
creates List/Listview, installs embedded conversion hooks after
superclass construction and registers double-click acceptance. Supply
the inherited Popstring button and a live String-compatible object. No
screen is opened, selected as the application's screen, or retained by
this class.

Methods

Before each normal opening, clear the list, lock the public-screen list,
append each node name in enumeration order and unlock. Select the first
case-insensitive match with String_Contents. If no match exists, a
nonempty string selects Active_Off; an empty string requests entry zero.
Return success regardless of insertion failures. There is no live
refresh while the popup stays open.
An accepted deferred close sets String_Contents from the active entry if
one exists. It does not set String_Acknowledge. Double-click requests
Close(TRUE); cancellation does not copy a selection. Window and
queued-hook lifetimes follow Popobject/Popstring.

Notes

The List has no string construct/destruct hooks: inserted names remain
borrowed pointers into public-screen nodes after UnlockPubScreenList. No
individual public screen is locked for the popup lifetime. A screen
disappearing can invalidate its displayed name; this implementation does
not provide a stable copied snapshot. Selection of a name does not
ensure that screen still exists afterward.
Preserve the built-in popup arrangement; overriding Popobject_Object can
invalidate internal list assumptions. Constructor conversion hooks are
replaced by internal hooks. String_Contents must be readable and
non-NULL for comparison and the empty-string test.