Index

Package: Dialogs

Description

package Widgets.Containers.Panels.Dialogs is

Classes

Dialog (abstract)

type Dialog is abstract new Panel and
                                Key_Listener and
                                Visibility_Listener with private;

Ancestors:

Primitive operations:

Construct (overriding Widgets.Containers.Panels.Construct)
Delete (overriding Widgets.Containers.Delete)
Handle_Action (overriding Widgets.Handle_Action)
Handle_Action (overriding Widgets.Handle_Action)
Handle_Hide
Handle_Mouse_Move (overriding Widgets.Handle_Mouse_Move)
Handle_Mouse_Press (overriding Widgets.Handle_Mouse_Press)
Handle_Show
Objects.Construct (Inherited)
Widgets.Activate_Popup (Inherited)
Widgets.Bring_To_Front (Inherited)
Widgets.Construct (Inherited)
Widgets.Containers.Add (Inherited)
Widgets.Containers.Apply_Container_Layout (Inherited)
Widgets.Containers.Bring_To_Front (Inherited)
Widgets.Containers.Delete_Child (Inherited)
Widgets.Containers.Delete_Children (Inherited)
Widgets.Containers.Draw (Inherited)
Widgets.Containers.Draw_Children (Inherited)
Widgets.Containers.Find_Widget (Inherited)
Widgets.Containers.Handle_Ancestor_Hidden (Inherited)
Widgets.Containers.Handle_Ancestor_Unhidden (Inherited)
Widgets.Containers.Handle_Resize (Inherited)
Widgets.Containers.Pack (Inherited)
Widgets.Containers.Panels.Draw_Content (Inherited)
Widgets.Containers.Panels.Get_Min_Height (Inherited)
Widgets.Containers.Panels.Get_Min_Width (Inherited)
Widgets.Containers.Panels.Get_Title (Inherited)
Widgets.Containers.Panels.Set_Border (Inherited)
Widgets.Containers.Panels.Set_Color (Inherited)
Widgets.Containers.Panels.Set_Icon (Inherited)
Widgets.Containers.Panels.Set_Title (Inherited)
Widgets.Containers.Remove (Inherited)
Widgets.Containers.Set_Zoom (Inherited)
Widgets.Get_Color (Inherited)
Widgets.Get_Process_Name (Inherited)
Widgets.Get_View (Inherited)
Widgets.Get_Window (Inherited)
Widgets.Handle_Blur (Inherited)
Widgets.Handle_Click (Inherited)
Widgets.Handle_Descendant_Hidden (Inherited)
Widgets.Handle_Descendant_Unhidden (Inherited)
Widgets.Handle_Disabled (Inherited)
Widgets.Handle_Enabled (Inherited)
Widgets.Handle_Enter (Inherited)
Widgets.Handle_Exit (Inherited)
Widgets.Handle_Focus (Inherited)
Widgets.Handle_Hidden (Inherited)
Widgets.Handle_Key_Held (Inherited)
Widgets.Handle_Key_Press (Inherited)
Widgets.Handle_Key_Release (Inherited)
Widgets.Handle_Mouse_Held (Inherited)
Widgets.Handle_Mouse_Release (Inherited)
Widgets.Handle_Mouse_Scroll (Inherited)
Widgets.Handle_Unhidden (Inherited)
Widgets.Set_Dirty (Inherited)
Widgets.Set_Parent (Inherited)
Widgets.To_String (Inherited)
Widgets.Translate_To_Content (Inherited)
Widgets.Translate_To_Window (Inherited)
A Dialog is an abstract container widget for modal dialogs. All of the dialog's controls are added as children and a title can be set using the inherited operations from Panel. The Dialog class extends the Panel's functionality by adding Hide and Show procedures to hide and show the dialog as a modal widget in the window. If the dialog has a title bar, it can also be dragged with the mouse. Events to pause and resume gameplay will be queued when the dialog is shown and hidden, respectively, because it is modal.

Types

A_Dialog

type A_Dialog is access all Dialog'Class;

Subprograms & Entries

Hide

procedure Hide
( this: access Dialog );
Hides the dialog. It remains a child of the window.

Show

procedure Show
( this: access Dialog );
Shows the modal dialog in the window. The dialog must have been added to the window before this is called.