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

Poppen.mui

MUIC_Poppen

Superclass

Pendisplay.mui

Description

Display a pen as a draggable button that opens a Penadjust window when
Pressed becomes FALSE. It inherits Pendisplay color attributes and their
ownership, reference and notification behavior. Constructor defaults
include ButtonFrame, inner spacing four, button background, RelVerify
input mode and Draggable TRUE, followed by caller tags.
MUIA_Window_Title is consumed at construction as a borrowed popup-title
pointer, default NULL. This is not a local set/get attribute: changing
that tag later does not update the saved title. Keep the string valid
for every popup creation. Pen state remains in the inherited Pendisplay
specification.

Methods

Opening lazily creates a window containing Penadjust and localized
OK/Cancel buttons, adds it to the application and opens it. An existing
popup is reused without resampling the current pen. Creation/open
failure is not reported by the internal open method, which returns one;
failed opening closes the created window with cancellation.
OK reads the editor specification, copies it into Pendisplay and
disposes the popup. Cancel or the window close request discards edits.
Button and close-request notifications enqueue the internal close method
through Application_PushMethod. Hide and DisconnectParent close/dispose
an existing popup without committing edits before delegating to the
superclass.

Notes

Use a live application connection and keep this object alive until its
queued close calls have run. The private close method assumes an
existing popup and does not guard repeated or stale calls. Hide clears
wnd but leaves the penadjust pointer stale; no independent queue
cancellation occurs here. Do not invoke internal window methods as
public API. There is no local Dispose override to replace normal
Hide/DisconnectParent ordering.
Opening obtains the inherited Spec without checking getter success
before constructing Penadjust. Any Reference must therefore be live and
provide a valid full specification. With Reference attached, OK changes
hidden local Pendisplay state; it does not change the referenced object
or override redirected getters.