## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Message_Dialog

- Goto spec source

# Description

    package Gtk.Message_Dialog is

Gtk_Message_Dialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. It's simply a convenience widget; you could construct the equivalent of Gtk_Message_Dialog from Gtk_Dialog without too much effort, but Gtk_Message_Dialog saves typing.

The easiest way to do a modal message dialog is to use Gtk.Dialog.Run, though you can also pass in the MODAL flag, Gtk.Dialog.Run automatically makes the dialog modal and waits for the user to respond to it.

Gtk.Dialog.Run returns when any dialog button is clicked.

Binding from C File version 2.16.6

### Screenshot

<see>Gtkada.Dialogs</see>

# Classes

### Gtk_Message_Dialog_Record

- Goto declaration in source

    type Gtk_Message_Dialog_Record is new Gtk.Dialog.Gtk_Dialog_Record with
         null record;

#### Ancestors:

Gtk.Dialog.Gtk_Dialog_Record
Gtk.Window.Gtk_Window_Record
Gtk.Bin.Gtk_Bin_Record
Gtk.Container.Gtk_Container_Record
Gtk.Widget.Gtk_Widget_Record
Glib.Object.GObject_Record

#### Primitive operations:

Format_Secondary_Markup

- To API doc
- To spec

Format_Secondary_Text

- To API doc
- To spec

Get_Image

- To API doc
- To spec

Glib.Object.Deallocate

- To API doc
- To spec

(Inherited)
Glib.Object.Get_Type

- To API doc
- To spec

(Inherited)
Glib.Object.Notify

- To API doc
- To spec

(Inherited)
Glib.Object.Ref

- To API doc
- To spec

(Inherited)
Glib.Object.Ref_Sink

- To API doc
- To spec

(Inherited)
Glib.Object.Unref

- To API doc
- To spec

(Inherited)
Gtk.Bin.Get_Child

- To API doc
- To spec

(Inherited)
Gtk.Container.Add

- To API doc
- To spec

(Inherited)
Gtk.Container.Check_Resize

- To API doc
- To spec

(Inherited)
Gtk.Container.Child_Get_Property

- To API doc
- To spec

(Inherited)
Gtk.Container.Child_Set_Property

- To API doc
- To spec

(Inherited)
Gtk.Container.Child_Type

- To API doc
- To spec

(Inherited)
Gtk.Container.Forall

- To API doc
- To spec

(Inherited)
Gtk.Container.Foreach

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Border_Width

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Children

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Chain

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Child

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Hadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Focus_Vadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Get_Resize_Mode

- To API doc
- To spec

(Inherited)
Gtk.Container.Propagate_Expose

- To API doc
- To spec

(Inherited)
Gtk.Container.Remove

- To API doc
- To spec

(Inherited)
Gtk.Container.Resize_Children

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Border_Width

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Chain

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Child

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Hadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Focus_Vadjustment

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Reallocate_Redraws

- To API doc
- To spec

(Inherited)
Gtk.Container.Set_Resize_Mode

- To API doc
- To spec

(Inherited)
Gtk.Container.Unset_Focus_Chain

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Add_Action_Widget

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Add_Button

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Get_Action_Area

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Get_Content_Area

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Get_Has_Separator

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Get_Response_For_Widget

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Get_Vbox

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Get_Widget_For_Response

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Response

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Run

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Set_Alternative_Button_Order_From_Array

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Set_Default_Response

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Set_Has_Separator

- To API doc
- To spec

(Inherited)
Gtk.Dialog.Set_Response_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.Widget.Activate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Add_Mnemonic_Label

- To API doc
- To spec

(Inherited)
Gtk.Widget.Can_Activate_Accel

- To API doc
- To spec

(Inherited)
Gtk.Widget.Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Class_Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Class_Path_Reversed

- To API doc
- To spec

(Inherited)
Gtk.Widget.Create_Pango_Context

- To API doc
- To spec

(Inherited)
Gtk.Widget.Create_Pango_Layout

- To API doc
- To spec

(Inherited)
Gtk.Widget.Destroy

- To API doc
- To spec

(Inherited)
Gtk.Widget.Draw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Ensure_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Error_Bell

- To API doc
- To spec

(Inherited)
Gtk.Widget.Flag_Is_Set

- To API doc
- To spec

(Inherited)
Gtk.Widget.Flags

- To API doc
- To spec

(Inherited)
Gtk.Widget.Freeze_Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Height

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Width

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_X

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Allocation_Y

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Ancestor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Child_Requisition

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Child_Visible

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Colormap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Composite_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Direction

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Extension_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Has_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_No_Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Pango_Context

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Parent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Parent_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Pointer

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Root_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Snapshot

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_State

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Tooltip_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Toplevel

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Visual

- To API doc
- To spec

(Inherited)
Gtk.Widget.Get_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Grab_Default

- To API doc
- To spec

(Inherited)
Gtk.Widget.Grab_Focus

- To API doc
- To spec

(Inherited)
Gtk.Widget.Has_Screen

- To API doc
- To spec

(Inherited)
Gtk.Widget.Hide

- To API doc
- To spec

(Inherited)
Gtk.Widget.Hide_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Input_Shape_Combine_Mask

- To API doc
- To spec

(Inherited)
Gtk.Widget.Intersect

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Ancestor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Composited

- To API doc
- To spec

(Inherited)
Gtk.Widget.Is_Focus

- To API doc
- To spec

(Inherited)
Gtk.Widget.Keynav_Failed

- To API doc
- To spec

(Inherited)
Gtk.Widget.List_Mnemonic_Labels

- To API doc
- To spec

(Inherited)
Gtk.Widget.Map

- To API doc
- To spec

(Inherited)
Gtk.Widget.Mnemonic_Activate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Base

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Bg

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Cursor

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Fg

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Font

- To API doc
- To spec

(Inherited)
Gtk.Widget.Modify_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Path_Reversed

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Clear

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Clear_Area

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Draw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Draw_Area

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Resize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Queue_Resize_No_Redraw

- To API doc
- To spec

(Inherited)
Gtk.Widget.Realize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Region_Intersect

- To API doc
- To spec

(Inherited)
Gtk.Widget.Remove_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Widget.Remove_Mnemonic_Label

- To API doc
- To spec

(Inherited)
Gtk.Widget.Render_Icon

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reparent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reset_Rc_Styles

- To API doc
- To spec

(Inherited)
Gtk.Widget.Reset_Shapes

- To API doc
- To spec

(Inherited)
Gtk.Widget.Restore_Default_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Send_Expose

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Accel_Path

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_App_Paintable

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Child_Visible

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Colormap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Composite_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Direction

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Double_Buffered

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Extension_Events

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Flags

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Has_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Name

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_No_Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Parent

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Parent_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Redraw_On_Allocate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Scroll_Adjustments

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_State

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Style

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Markup

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Text

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Tooltip_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_UPosition

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_USize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Set_Window

- To API doc
- To spec

(Inherited)
Gtk.Widget.Shape_Combine_Mask

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show_All

- To API doc
- To spec

(Inherited)
Gtk.Widget.Show_Now

- To API doc
- To spec

(Inherited)
Gtk.Widget.Size_Allocate

- To API doc
- To spec

(Inherited)
Gtk.Widget.Size_Request

- To API doc
- To spec

(Inherited)
Gtk.Widget.Style_Get_Property

- To API doc
- To spec

(Inherited)
Gtk.Widget.Thaw_Child_Notify

- To API doc
- To spec

(Inherited)
Gtk.Widget.Trigger_Tooltip_Query

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unmap

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unrealize

- To API doc
- To spec

(Inherited)
Gtk.Widget.Unset_Flags

- To API doc
- To spec

(Inherited)
Gtk.Window.Activate_Default

- To API doc
- To spec

(Inherited)
Gtk.Window.Activate_Focus

- To API doc
- To spec

(Inherited)
Gtk.Window.Activate_Key

- To API doc
- To spec

(Inherited)
Gtk.Window.Add_Accel_Group

- To API doc
- To spec

(Inherited)
Gtk.Window.Add_Mnemonic

- To API doc
- To spec

(Inherited)
Gtk.Window.Begin_Move_Drag

- To API doc
- To spec

(Inherited)
Gtk.Window.Begin_Resize_Drag

- To API doc
- To spec

(Inherited)
Gtk.Window.Deiconify

- To API doc
- To spec

(Inherited)
Gtk.Window.Fullscreen

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Accept_Focus

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Decorated

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Default_Size

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Default_Widget

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Deletable

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Destroy_With_Parent

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Focus

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Focus_On_Map

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Frame_Dimensions

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Gravity

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Group

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Has_Frame

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Icon

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Icon_List

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Icon_Name

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Mnemonic_Modifier

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Modal

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Opacity

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Position

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Resizable

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Role

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Size

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Skip_Pager_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Skip_Taskbar_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Title

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Transient_For

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Type_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Get_Urgency_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Has_Toplevel_Focus

- To API doc
- To spec

(Inherited)
Gtk.Window.Iconify

- To API doc
- To spec

(Inherited)
Gtk.Window.Is_Active

- To API doc
- To spec

(Inherited)
Gtk.Window.Maximize

- To API doc
- To spec

(Inherited)
Gtk.Window.Mnemonic_Activate

- To API doc
- To spec

(Inherited)
Gtk.Window.Move

- To API doc
- To spec

(Inherited)
Gtk.Window.Parse_Geometry

- To API doc
- To spec

(Inherited)
Gtk.Window.Present

- To API doc
- To spec

(Inherited)
Gtk.Window.Present_With_Time

- To API doc
- To spec

(Inherited)
Gtk.Window.Propagate_Key_Event

- To API doc
- To spec

(Inherited)
Gtk.Window.Remove_Accel_Group

- To API doc
- To spec

(Inherited)
Gtk.Window.Remove_Mnemonic

- To API doc
- To spec

(Inherited)
Gtk.Window.Reshow_With_Initial_Size

- To API doc
- To spec

(Inherited)
Gtk.Window.Resize

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Accept_Focus

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Decorated

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Default

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Default_Size

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Deletable

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Destroy_With_Parent

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Focus

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Focus_On_Map

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Frame_Dimensions

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Geometry_Hints

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Gravity

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Has_Frame

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Icon

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Icon_From_File

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Icon_List

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Icon_Name

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Keep_Above

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Keep_Below

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Mnemonic_Modifier

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Modal

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Opacity

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Policy

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Position

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Resizable

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Role

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Skip_Pager_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Skip_Taskbar_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Startup_Id

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Title

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Transient_For

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Type_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Urgency_Hint

- To API doc
- To spec

(Inherited)
Gtk.Window.Set_Wmclass

- To API doc
- To spec

(Inherited)
Gtk.Window.Stick

- To API doc
- To spec

(Inherited)
Gtk.Window.Unfullscreen

- To API doc
- To spec

(Inherited)
Gtk.Window.Unmaximize

- To API doc
- To spec

(Inherited)
Gtk.Window.Unstick

- To API doc
- To spec

(Inherited)
Set_Image

- To API doc
- To spec

Set_Markup

- To API doc
- To spec

# Types

### Gtk_Message_Dialog

- Goto declaration in source

    type Gtk_Message_Dialog is access all Gtk_Message_Dialog_Record'Class;

### Gtk_Message_Type

- Goto declaration in source

    type Gtk_Message_Type is
         (Message_Info,
          Message_Warning,
          Message_Question,
          Message_Error);

### Gtk_Buttons_Type

- Goto declaration in source

    type Gtk_Buttons_Type is
         (Buttons_None,
          Buttons_Ok,
          Buttons_Close,
          Buttons_Cancel,
          Buttons_Yes_No,
          Buttons_Ok_Cancel);

# Constants & Global variables

### Image_Property

- Goto declaration in source

(Glib.Properties.Property_Object)

    Image_Property                : constant Glib.Properties.Property_Object;

Buttons_Property : constant Glib.Properties.Property_Enum; Message_Type_Property : constant Glib.Properties.Property_Enum;

### Secondary_Text_Property

- Goto declaration in source

(Glib.Properties.Property_String)

    Secondary_Text_Property       : constant Glib.Properties.Property_String;

### Secondary_Use_Markup_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Secondary_Use_Markup_Property : constant Glib.Properties.Property_Boolean;

### Text_Property

- Goto declaration in source

(Glib.Properties.Property_String)

    Text_Property                 : constant Glib.Properties.Property_String;

### Use_Markup_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Use_Markup_Property           : constant Glib.Properties.Property_Boolean;

### Message_Border_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Message_Border_Property : constant Glib.Properties.Property_Int;

### Use_Separator_Property

- Goto declaration in source

(Glib.Properties.Property_Boolean)

    Use_Separator_Property  : constant Glib.Properties.Property_Boolean;

# Subprograms & Entries

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Dialog: out Gtk_Message_Dialog;Parent: Gtk.Window.Gtk_Window := null;Flags: Gtk.Dialog.Gtk_Dialog_Flags := 0;Typ: Gtk_Message_Type := Message_Info;Buttons: Gtk_Buttons_Type := Buttons_Close;Message: String);

### Initialize

- Goto spec in source

    procedure Initialize (Dialog: access Gtk_Message_Dialog_Record'Class;Parent: Gtk.Window.Gtk_Window := null;Flags: Gtk.Dialog.Gtk_Dialog_Flags := 0;Typ: Gtk_Message_Type := Message_Info;Buttons: Gtk_Buttons_Type := Buttons_Close;Message: String);

Creates a new message dialog, which is a simple dialog with an icon indicating the dialog type (error, warning, etc.) and some text the user may want to see. When the user clicks a button a "response" signal is emitted with response IDs from Gtk.Dialog.Gtk_Response_Type. See Gtk_Dialog for more details.

### Gtk_New_With_Markup

- Goto spec in source

    procedure Gtk_New_With_Markup (Dialog: out Gtk_Message_Dialog;Parent: Gtk.Window.Gtk_Window := null;Flags: Gtk.Dialog.Gtk_Dialog_Flags := 0;Typ: Gtk_Message_Type := Message_Info;Buttons: Gtk_Buttons_Type := Buttons_Close;Message: String);

### Initialize_With_Markup

- Goto spec in source

    procedure Initialize_With_Markup (Dialog: access Gtk_Message_Dialog_Record'Class;Parent: Gtk.Window.Gtk_Window := null;Flags: Gtk.Dialog.Gtk_Dialog_Flags := 0;Typ: Gtk_Message_Type := Message_Info;Buttons: Gtk_Buttons_Type := Buttons_Close;Message: String);

Same as Gtk_New and Initialize, but Message might contain special markup like <b>, <i>, <big>,...

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return GType;

Return the internal type used for a Gtk_Message_Dialog

### Set_Markup

- Goto spec in source

    procedure Set_Markup (Message_Dialog: access Gtk_Message_Dialog_Record;Str: String);

Sets the text of the message dialog to be Str, which is marked up with the >Pango text markup language. This means that you can for instance <b> to get bold text.

### Format_Secondary_Markup

- Goto spec in source

    procedure Format_Secondary_Markup (Message_Dialog: access Gtk_Message_Dialog_Record;Message: String);

### Format_Secondary_Text

- Goto spec in source

    procedure Format_Secondary_Text (Message_Dialog: access Gtk_Message_Dialog_Record;Message: String);

Sets the secondary text of the message dialog to be Message. When using markup, special marks are interpreted (<b> for bold, <i> for italic,...) Note that setting a secondary text makes the primary text become bold, unless you have provided explicit markup.

### Get_Image

- Goto spec in source

    function Get_Image (Dialog: access Gtk_Message_Dialog_Record) return Gtk.Widget.Gtk_Widget;

### Set_Image

- Goto spec in source

    procedure Set_Image (Dialog: access Gtk_Message_Dialog_Record;Image: access Gtk.Widget.Gtk_Widget_Record'Class);

Get and set the dialog's image.