Description
This package provides a ready to use high level dialog capability.
Types
-
type Button_Range is range 0 .. 8;
-
type Message_Dialog_Buttons is mod 2 ** 32;
-
type Message_Dialog_Type is
(Warning,
-- Message box with a yellow exclamation point.
Error,
-- Message box with a red stop sign.
Information,
-- Message box with a blue "i".
Confirmation,
-- Message box with a blue question mark.
Custom
-- Message box with no pixmap. The caption of the box should be set by
-- the user.
);
Subprograms
-
function Message_Dialog
(Msg :
Glib.UTF8_String;
Dialog_Type : Message_Dialog_Type := Information;
Buttons : Message_Dialog_Buttons := Button_OK
or Button_Help;
Default_Button : Message_Dialog_Buttons := Button_OK;
Help_Msg : Glib.UTF8_String := "";
Title : Glib.UTF8_String := "";
Justification : Gtk_Justification := Justify_Center;
Parent :
Gtk.Window.Gtk_Window :=
null)
return Message_Dialog_Buttons;
-