| Top |
Xfce Titled DialogXfce Titled Dialog — A GtkDialog with heading. |
| GtkWidget * | xfce_titled_dialog_new () |
| GtkWidget * | xfce_titled_dialog_new_with_buttons () |
| const gchar * | xfce_titled_dialog_get_subtitle () |
| void | xfce_titled_dialog_set_subtitle () |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── XfceTitledDialog
The XfceTitledDialog is a normal GtkDialog with a heading. The icon
and title used in the heading are the same as the dialog title and icon
See gtk_window_set_icon_name().
To give the user more detailed information about the use of the dialog,
an optional subtitle and be set using xfce_titled_dialog_set_subtitle().
GtkWidget *
xfce_titled_dialog_new (void);
Allocates a new XfceTitledDialog instance.
GtkWidget * xfce_titled_dialog_new_with_buttons (const gchar *title,GtkWindow *parent,GtkDialogFlags flags,const gchar *first_button_text,...);
See the documentation of gtk_dialog_new_with_buttons() for details about the
parameters and the returned dialog.
title |
title of the dialog, or |
|
parent |
transient parent window of the dialog, or |
|
flags |
from GtkDialogFlags. |
|
first_button_text |
stock ID or text to go in first, or |
|
... |
response ID for the first button, then additional buttons, ending with |
const gchar *
xfce_titled_dialog_get_subtitle (XfceTitledDialog *titled_dialog);
Returns the subtitle of the titled_dialog
, or NULL
if no subtitle is displayed in the titled_dialog
.
void xfce_titled_dialog_set_subtitle (XfceTitledDialog *titled_dialog,const gchar *subtitle);
Sets the subtitle displayed by titled_dialog
to subtitle
; if
subtitle
is NULL no subtitle will be displayed by the titled_dialog
.