Popobject.mui

Super class

Inherited by

Background

Popobject class takes a MUI object as parameter uses this one as popup. You
can e.g. simply create a listview object with some entries and the popobject
class will create a window around it and display it when the user hits the
popup button.

Using this class instead of creating the popup windows yourself prevents you
from having lots of problems. Think twice before deciding to make you own
popups!

SEE ALSO

MUIA_Popobject_Object

NAME

FUNCTION

Specify the object to pop up. Usually this is a relatively simple thing like
a single listview, but you can of course use group class here and make
rather complex popups. As with all other MUI classes, the object here gets
disposed when the popobject is disposed.

SEE ALSO

MUIA_Popobject_ObjStrHook

NAME

FUNCTION

When a popup is closed, this hook is called. You can examine the state of
your MUIA_Popobject_Object and set the contents of the string gadget
respectively. The hook receives a pointer to itself in A0, a pointer to your
MUIA_Popobject_Object in A2 and a pointer to the embedded string object in
A1.

The hook will only be called when your popup is closed with a success value
of TRUE. Otherwise, MUI closes the popup without taking further actions,
just as if had never opened.

MUIA_Popobject_StrObjHook

NAME

FUNCTION

Before the popup opens, this hook is called. You can use it to prepare your
MUIA_Popobject_Object according to the contents of the string gadget. The
hook receives a pointer to itself in A0, a pointer to your
MUIA_Popobject_Object in A2 and a pointer to the embedded string object in
A1.

SEE ALSO

MUIA_Popobject_Volatile

NAME

FUNCTION

Setting this attribute causes the popup window to disappear when the
corresponding popobject disappears, e.g. because its in a page group and the
user toggled the page. When the popobject appears again, the popup window
appears also.