Ardour  9.0-pre0-582-g084a23a80d
gtkmessagedialog.h File Reference
#include <gtk/gtkdialog.h>
#include <gtk/gtkenums.h>
Include dependency graph for gtkmessagedialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GtkMessageDialog
 
struct  _GtkMessageDialogClass
 

Macros

#define GTK_TYPE_MESSAGE_DIALOG   (gtk_message_dialog_get_type ())
 
#define GTK_MESSAGE_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialog))
 
#define GTK_MESSAGE_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialogClass))
 
#define GTK_IS_MESSAGE_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MESSAGE_DIALOG))
 
#define GTK_IS_MESSAGE_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MESSAGE_DIALOG))
 
#define GTK_MESSAGE_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialogClass))
 

Typedefs

typedef struct _GtkMessageDialog GtkMessageDialog
 
typedef struct _GtkMessageDialogClass GtkMessageDialogClass
 

Enumerations

enum  GtkButtonsType {
  GTK_BUTTONS_NONE , GTK_BUTTONS_OK , GTK_BUTTONS_CLOSE , GTK_BUTTONS_CANCEL ,
  GTK_BUTTONS_YES_NO , GTK_BUTTONS_OK_CANCEL
}
 

Functions

GType gtk_message_dialog_get_type (void) G_GNUC_CONST
 
GtkWidgetgtk_message_dialog_new (GtkWindow *parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, const gchar *message_format,...) G_GNUC_PRINTF(5
 
GtkWidget GtkWidgetgtk_message_dialog_new_with_markup (GtkWindow *parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, const gchar *message_format,...) G_GNUC_PRINTF(5
 
GtkWidget GtkWidget void gtk_message_dialog_set_image (GtkMessageDialog *dialog, GtkWidget *image)
 
GtkWidgetgtk_message_dialog_get_image (GtkMessageDialog *dialog)
 
void gtk_message_dialog_set_markup (GtkMessageDialog *message_dialog, const gchar *str)
 
void gtk_message_dialog_format_secondary_text (GtkMessageDialog *message_dialog, const gchar *message_format,...) G_GNUC_PRINTF(2
 
void void gtk_message_dialog_format_secondary_markup (GtkMessageDialog *message_dialog, const gchar *message_format,...) G_GNUC_PRINTF(2
 
void void GtkWidgetgtk_message_dialog_get_message_area (GtkMessageDialog *message_dialog)
 

Macro Definition Documentation

◆ GTK_IS_MESSAGE_DIALOG

#define GTK_IS_MESSAGE_DIALOG (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MESSAGE_DIALOG))

Definition at line 43 of file gtkmessagedialog.h.

◆ GTK_IS_MESSAGE_DIALOG_CLASS

#define GTK_IS_MESSAGE_DIALOG_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MESSAGE_DIALOG))

Definition at line 44 of file gtkmessagedialog.h.

◆ GTK_MESSAGE_DIALOG

#define GTK_MESSAGE_DIALOG (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialog))

Definition at line 41 of file gtkmessagedialog.h.

◆ GTK_MESSAGE_DIALOG_CLASS

#define GTK_MESSAGE_DIALOG_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialogClass))

Definition at line 42 of file gtkmessagedialog.h.

◆ GTK_MESSAGE_DIALOG_GET_CLASS

#define GTK_MESSAGE_DIALOG_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialogClass))

Definition at line 45 of file gtkmessagedialog.h.

◆ GTK_TYPE_MESSAGE_DIALOG

#define GTK_TYPE_MESSAGE_DIALOG   (gtk_message_dialog_get_type ())

Definition at line 40 of file gtkmessagedialog.h.

Typedef Documentation

◆ GtkMessageDialog

Definition at line 37 of file gtkmessagedialog.h.

◆ GtkMessageDialogClass

Definition at line 37 of file gtkmessagedialog.h.

Enumeration Type Documentation

◆ GtkButtonsType

GtkButtonsType:

Parameters
GTK_BUTTONS_NONEno buttons at all
GTK_BUTTONS_OKan OK button
GTK_BUTTONS_CLOSEa Close button
GTK_BUTTONS_CANCELa Cancel button
GTK_BUTTONS_YES_NOYes and No buttons
GTK_BUTTONS_OK_CANCELOK and Cancel buttons

Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use GTK_BUTTONS_NONE then call gtk_dialog_add_buttons().

Note
Please note that GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG.
Enumerator
GTK_BUTTONS_NONE 
GTK_BUTTONS_OK 
GTK_BUTTONS_CLOSE 
GTK_BUTTONS_CANCEL 
GTK_BUTTONS_YES_NO 
GTK_BUTTONS_OK_CANCEL 

Definition at line 89 of file gtkmessagedialog.h.

Function Documentation

◆ gtk_message_dialog_format_secondary_markup()

void void gtk_message_dialog_format_secondary_markup ( GtkMessageDialog message_dialog,
const gchar *  message_format,
  ... 
)

◆ gtk_message_dialog_format_secondary_text()

void gtk_message_dialog_format_secondary_text ( GtkMessageDialog message_dialog,
const gchar *  message_format,
  ... 
)

◆ gtk_message_dialog_get_image()

GtkWidget* gtk_message_dialog_get_image ( GtkMessageDialog dialog)

◆ gtk_message_dialog_get_message_area()

void void GtkWidget* gtk_message_dialog_get_message_area ( GtkMessageDialog message_dialog)

◆ gtk_message_dialog_get_type()

GType gtk_message_dialog_get_type ( void  )

◆ gtk_message_dialog_new()

GtkWidget* gtk_message_dialog_new ( GtkWindow parent,
GtkDialogFlags  flags,
GtkMessageType  type,
GtkButtonsType  buttons,
const gchar *  message_format,
  ... 
)

◆ gtk_message_dialog_new_with_markup()

GtkWidget GtkWidget* gtk_message_dialog_new_with_markup ( GtkWindow parent,
GtkDialogFlags  flags,
GtkMessageType  type,
GtkButtonsType  buttons,
const gchar *  message_format,
  ... 
)

◆ gtk_message_dialog_set_image()

GtkWidget GtkWidget void gtk_message_dialog_set_image ( GtkMessageDialog dialog,
GtkWidget image 
)

◆ gtk_message_dialog_set_markup()

void gtk_message_dialog_set_markup ( GtkMessageDialog message_dialog,
const gchar *  str 
)