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

Go to the source code of this file.

Classes

struct  _GtkDialog
 
struct  _GtkDialogClass
 

Macros

#define GTK_TYPE_DIALOG   (gtk_dialog_get_type ())
 
#define GTK_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DIALOG, GtkDialog))
 
#define GTK_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DIALOG, GtkDialogClass))
 
#define GTK_IS_DIALOG(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DIALOG))
 
#define GTK_IS_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DIALOG))
 
#define GTK_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DIALOG, GtkDialogClass))
 

Typedefs

typedef struct _GtkDialog GtkDialog
 
typedef struct _GtkDialogClass GtkDialogClass
 

Enumerations

enum  GtkDialogFlags { GTK_DIALOG_MODAL = 1 << 0 , GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1 , GTK_DIALOG_NO_SEPARATOR = 1 << 2 }
 
enum  GtkResponseType {
  GTK_RESPONSE_NONE = -1 , GTK_RESPONSE_REJECT = -2 , GTK_RESPONSE_ACCEPT = -3 , GTK_RESPONSE_DELETE_EVENT = -4 ,
  GTK_RESPONSE_OK = -5 , GTK_RESPONSE_CANCEL = -6 , GTK_RESPONSE_CLOSE = -7 , GTK_RESPONSE_YES = -8 ,
  GTK_RESPONSE_NO = -9 , GTK_RESPONSE_APPLY = -10 , GTK_RESPONSE_HELP = -11
}
 

Functions

GType gtk_dialog_get_type (void) G_GNUC_CONST
 
GtkWidgetgtk_dialog_new (void)
 
GtkWidgetgtk_dialog_new_with_buttons (const gchar *title, GtkWindow *parent, GtkDialogFlags flags, const gchar *first_button_text,...)
 
void gtk_dialog_add_action_widget (GtkDialog *dialog, GtkWidget *child, gint response_id)
 
GtkWidgetgtk_dialog_add_button (GtkDialog *dialog, const gchar *button_text, gint response_id)
 
void gtk_dialog_add_buttons (GtkDialog *dialog, const gchar *first_button_text,...) G_GNUC_NULL_TERMINATED
 
void gtk_dialog_set_response_sensitive (GtkDialog *dialog, gint response_id, gboolean setting)
 
void gtk_dialog_set_default_response (GtkDialog *dialog, gint response_id)
 
GtkWidgetgtk_dialog_get_widget_for_response (GtkDialog *dialog, gint response_id)
 
gint gtk_dialog_get_response_for_widget (GtkDialog *dialog, GtkWidget *widget)
 
void gtk_dialog_set_has_separator (GtkDialog *dialog, gboolean setting)
 
gboolean gtk_dialog_get_has_separator (GtkDialog *dialog)
 
gboolean gtk_alternative_dialog_button_order (GdkScreen *screen)
 
void gtk_dialog_set_alternative_button_order (GtkDialog *dialog, gint first_response_id,...)
 
void gtk_dialog_set_alternative_button_order_from_array (GtkDialog *dialog, gint n_params, gint *new_order)
 
void gtk_dialog_response (GtkDialog *dialog, gint response_id)
 
gint gtk_dialog_run (GtkDialog *dialog)
 
GtkWidgetgtk_dialog_get_action_area (GtkDialog *dialog)
 
GtkWidgetgtk_dialog_get_content_area (GtkDialog *dialog)
 
void _gtk_dialog_set_ignore_separator (GtkDialog *dialog, gboolean ignore_separator)
 

Macro Definition Documentation

◆ GTK_DIALOG

#define GTK_DIALOG (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DIALOG, GtkDialog))

Definition at line 87 of file gtkdialog.h.

◆ GTK_DIALOG_CLASS

#define GTK_DIALOG_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DIALOG, GtkDialogClass))

Definition at line 88 of file gtkdialog.h.

◆ GTK_DIALOG_GET_CLASS

#define GTK_DIALOG_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DIALOG, GtkDialogClass))

Definition at line 91 of file gtkdialog.h.

◆ GTK_IS_DIALOG

#define GTK_IS_DIALOG (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DIALOG))

Definition at line 89 of file gtkdialog.h.

◆ GTK_IS_DIALOG_CLASS

#define GTK_IS_DIALOG_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DIALOG))

Definition at line 90 of file gtkdialog.h.

◆ GTK_TYPE_DIALOG

#define GTK_TYPE_DIALOG   (gtk_dialog_get_type ())

Definition at line 86 of file gtkdialog.h.

Typedef Documentation

◆ GtkDialog

typedef struct _GtkDialog GtkDialog

Definition at line 38 of file gtkdialog.h.

◆ GtkDialogClass

Definition at line 38 of file gtkdialog.h.

Enumeration Type Documentation

◆ GtkDialogFlags

Enumerator
GTK_DIALOG_MODAL 
GTK_DIALOG_DESTROY_WITH_PARENT 
GTK_DIALOG_NO_SEPARATOR 

Definition at line 41 of file gtkdialog.h.

◆ GtkResponseType

Enumerator
GTK_RESPONSE_NONE 
GTK_RESPONSE_REJECT 
GTK_RESPONSE_ACCEPT 
GTK_RESPONSE_DELETE_EVENT 
GTK_RESPONSE_OK 
GTK_RESPONSE_CANCEL 
GTK_RESPONSE_CLOSE 
GTK_RESPONSE_YES 
GTK_RESPONSE_NO 
GTK_RESPONSE_APPLY 
GTK_RESPONSE_HELP 

Definition at line 56 of file gtkdialog.h.

Function Documentation

◆ _gtk_dialog_set_ignore_separator()

void _gtk_dialog_set_ignore_separator ( GtkDialog dialog,
gboolean  ignore_separator 
)

◆ gtk_alternative_dialog_button_order()

gboolean gtk_alternative_dialog_button_order ( GdkScreen screen)

◆ gtk_dialog_add_action_widget()

void gtk_dialog_add_action_widget ( GtkDialog dialog,
GtkWidget child,
gint  response_id 
)

◆ gtk_dialog_add_button()

GtkWidget* gtk_dialog_add_button ( GtkDialog dialog,
const gchar *  button_text,
gint  response_id 
)

◆ gtk_dialog_add_buttons()

void gtk_dialog_add_buttons ( GtkDialog dialog,
const gchar *  first_button_text,
  ... 
)

◆ gtk_dialog_get_action_area()

GtkWidget* gtk_dialog_get_action_area ( GtkDialog dialog)

◆ gtk_dialog_get_content_area()

GtkWidget* gtk_dialog_get_content_area ( GtkDialog dialog)

◆ gtk_dialog_get_has_separator()

gboolean gtk_dialog_get_has_separator ( GtkDialog dialog)

◆ gtk_dialog_get_response_for_widget()

gint gtk_dialog_get_response_for_widget ( GtkDialog dialog,
GtkWidget widget 
)

◆ gtk_dialog_get_type()

GType gtk_dialog_get_type ( void  )

◆ gtk_dialog_get_widget_for_response()

GtkWidget* gtk_dialog_get_widget_for_response ( GtkDialog dialog,
gint  response_id 
)

◆ gtk_dialog_new()

GtkWidget* gtk_dialog_new ( void  )

◆ gtk_dialog_new_with_buttons()

GtkWidget* gtk_dialog_new_with_buttons ( const gchar *  title,
GtkWindow parent,
GtkDialogFlags  flags,
const gchar *  first_button_text,
  ... 
)

◆ gtk_dialog_response()

void gtk_dialog_response ( GtkDialog dialog,
gint  response_id 
)

◆ gtk_dialog_run()

gint gtk_dialog_run ( GtkDialog dialog)

◆ gtk_dialog_set_alternative_button_order()

void gtk_dialog_set_alternative_button_order ( GtkDialog dialog,
gint  first_response_id,
  ... 
)

◆ gtk_dialog_set_alternative_button_order_from_array()

void gtk_dialog_set_alternative_button_order_from_array ( GtkDialog dialog,
gint  n_params,
gint *  new_order 
)

◆ gtk_dialog_set_default_response()

void gtk_dialog_set_default_response ( GtkDialog dialog,
gint  response_id 
)

◆ gtk_dialog_set_has_separator()

void gtk_dialog_set_has_separator ( GtkDialog dialog,
gboolean  setting 
)

◆ gtk_dialog_set_response_sensitive()

void gtk_dialog_set_response_sensitive ( GtkDialog dialog,
gint  response_id,
gboolean  setting 
)