kmx > IUP-0.101 > IUP::MessageDlg

Download:
IUP-0.101.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: IUP-0.202

NAME ^

IUP::MessageDlg - [pre-defined dialog] displaying a message

DESCRIPTION ^

Creates the Message Dialog element. It is a predefined dialog for displaying a message. The dialog can be shown with the IUP::Popup function only.

GTK Motif Windows

USAGE ^

CREATION - new() method

 $messagedlg = IUP::MessageDlg->new( BUTTONS=>"OKCANCEL" );

Returns: the identifier of the created element, or undef if an error occurs.

NOTE: You can pass to new() other ATTRIBUTE=>'value' or CALLBACKNAME=>\&func pairs relevant to this element - see IUP::Manual::02_Elements.

ATTRIBUTES

For more info about concept of attributes (setting/getting values etc.) see IUP::Manual::03_Attributes. Attributes specific to this element:

CALLBACKS

For more info about concept of callbacks (setting callback handlers etc.) see IUP::Manual::04_Callbacks. Callbacks specific to this element:

NOTES ^

The IUP::MessageDlg is a native pre-defined dialog not altered by SetLanguage.

To show the dialog, use function Popup. function.

The dialog is mapped only inside Popup, Map does nothing.

In Windows the position (x,y) used in Popup is ignored and the dialog is always centered on screen.

The Message function simply creates and popup a IUP::MessageDlg.

In Windows each different dialog type is always associated with a different beep sound.

In Windows, if PARENTDIALOG is specified then it will be modal relative only to its parent.

EXAMPLES ^

The element IUP::MessageDlg is used in the following sample scripts:

SEE ALSO ^

Message, GetParam, ListDialog()">, Alarm, GetFile, Popup

The original doc: iupmessagedlg.html

syntax highlighting: