| MATE UI Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
#include <libmateui/libmateui.h> struct MateDialog; GtkWidget * mate_dialog_new (const gchar *title,...); GtkWidget * mate_dialog_newv (const gchar *title,const gchar **buttons); void mate_dialog_set_parent (MateDialog *dialog,GtkWindow *parent); void mate_dialog_button_connect (MateDialog *dialog,gint button,GCallback callback,gpointer data); void mate_dialog_button_connect_object (MateDialog *dialog,gint button,GCallback callback,GtkObject *obj); gint mate_dialog_run (MateDialog *dialog); gint mate_dialog_run_and_close (MateDialog *dialog); void mate_dialog_set_default (MateDialog *dialog,gint button); void mate_dialog_grab_focus (MateDialog *dialog,gint button); void mate_dialog_set_sensitive (MateDialog *dialog,gint button,gboolean setting); void mate_dialog_set_accelerator (MateDialog *dialog,gint button,const guchar accelerator_key,guint8 accelerator_mods); void mate_dialog_close (MateDialog *dialog); void mate_dialog_close_hides (MateDialog *dialog,gboolean just_hide); void mate_dialog_set_close (MateDialog *dialog,gboolean click_closes); void mate_dialog_editable_enters (MateDialog *dialog,GtkEditable *editable); void mate_dialog_append_buttons (MateDialog *dialog,const gchar *first,...); void mate_dialog_append_button (MateDialog *dialog,const gchar *button_name); void mate_dialog_append_buttonsv (MateDialog *dialog,const gchar **buttons); void mate_dialog_append_button_with_pixmap (MateDialog *dialog,const gchar *button_name,const gchar *pixmap_name); void mate_dialog_append_buttons_with_pixmaps (MateDialog *dialog,const gchar **names,const gchar **pixmaps); void mate_dialog_construct (MateDialog *dialog,const gchar *title,va_list ap); void mate_dialog_constructv (MateDialog *dialog,const gchar *title,const gchar **buttons); #define MATE_STOCK_BUTTON_OK #define MATE_STOCK_BUTTON_CANCEL #define MATE_STOCK_BUTTON_YES #define MATE_STOCK_BUTTON_NO #define MATE_STOCK_BUTTON_CLOSE #define MATE_STOCK_BUTTON_APPLY #define MATE_STOCK_BUTTON_HELP #define MATE_STOCK_BUTTON_NEXT #define MATE_STOCK_BUTTON_PREV #define MATE_STOCK_BUTTON_UP #define MATE_STOCK_BUTTON_DOWN #define MATE_STOCK_BUTTON_FONT
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----MateDialog
+----MateMessageBox
+----MatePropertyBox
struct MateDialog {
GtkWidget * vbox;
};
MateDialog is deprecated and should not be used in newly-written code.
Client code can pack widgets (for example, text or images) into vbox.
GtkWidget * mate_dialog_new (const gchar *title,...);
mate_dialog_new is deprecated and should not be used in newly-written code.
|
|
|
|
Returns : |
GtkWidget * mate_dialog_newv (const gchar *title,const gchar **buttons);
mate_dialog_newv is deprecated and should not be used in newly-written code.
|
|
|
|
Returns : |
void mate_dialog_set_parent (MateDialog *dialog,GtkWindow *parent);
mate_dialog_set_parent is deprecated and should not be used in newly-written code.
|
|
|
void mate_dialog_button_connect (MateDialog *dialog,gint button,GCallback callback,gpointer data);
mate_dialog_button_connect is deprecated and should not be used in newly-written code.
|
|
|
|
|
|
|
void mate_dialog_button_connect_object (MateDialog *dialog,gint button,GCallback callback,GtkObject *obj);
mate_dialog_button_connect_object is deprecated and should not be used in newly-written code.
|
|
|
|
|
|
|
gint mate_dialog_run (MateDialog *dialog);
mate_dialog_run is deprecated and should not be used in newly-written code.
|
|
Returns : |
gint mate_dialog_run_and_close (MateDialog *dialog);
mate_dialog_run_and_close is deprecated and should not be used in newly-written code.
|
|
Returns : |
void mate_dialog_set_default (MateDialog *dialog,gint button);
mate_dialog_set_default is deprecated and should not be used in newly-written code.
|
|
|
void mate_dialog_grab_focus (MateDialog *dialog,gint button);
mate_dialog_grab_focus is deprecated and should not be used in newly-written code.
|
|
|
void mate_dialog_set_sensitive (MateDialog *dialog,gint button,gboolean setting);
mate_dialog_set_sensitive is deprecated and should not be used in newly-written code.
|
|
|
|
|
void mate_dialog_set_accelerator (MateDialog *dialog,gint button,const guchar accelerator_key,guint8 accelerator_mods);
mate_dialog_set_accelerator is deprecated and should not be used in newly-written code.
Set an accelerator key for a button.
|
MateDialog to affect. |
|
Button number. |
|
Key for the accelerator. |
|
Modifier. |
void mate_dialog_close (MateDialog *dialog);
mate_dialog_close is deprecated and should not be used in newly-written code.
|
void mate_dialog_close_hides (MateDialog *dialog,gboolean just_hide);
mate_dialog_close_hides is deprecated and should not be used in newly-written code.
|
|
|
void mate_dialog_set_close (MateDialog *dialog,gboolean click_closes);
mate_dialog_set_close is deprecated and should not be used in newly-written code.
|
|
|
void mate_dialog_editable_enters (MateDialog *dialog,GtkEditable *editable);
mate_dialog_editable_enters is deprecated and should not be used in newly-written code.
|
|
|
void mate_dialog_append_buttons (MateDialog *dialog,const gchar *first,...);
mate_dialog_append_buttons is deprecated and should not be used in newly-written code.
|
|
|
|
|
void mate_dialog_append_button (MateDialog *dialog,const gchar *button_name);
mate_dialog_append_button is deprecated and should not be used in newly-written code.
Add a button to a dialog after its initial construction.
This function is mostly for internal library use. You should use
mate_dialog_new() instead. See that function for a description of
the button argument.
|
MateDialog to add button to. |
|
Button to add. |
void mate_dialog_append_buttonsv (MateDialog *dialog,const gchar **buttons);
mate_dialog_append_buttonsv is deprecated and should not be used in newly-written code.
|
|
|
void mate_dialog_append_button_with_pixmap (MateDialog *dialog,const gchar *button_name,const gchar *pixmap_name);
mate_dialog_append_button_with_pixmap is deprecated and should not be used in newly-written code.
Add a pixmap button to a dialog.
mate_dialog_new() does not permit custom buttons with pixmaps, so if you
want one of those you need to use this function.
|
MateDialog to add the button to. |
|
Name of the button, or stock button #define. |
|
Stock pixmap name. |
void mate_dialog_append_buttons_with_pixmaps (MateDialog *dialog,const gchar **names,const gchar **pixmaps);
mate_dialog_append_buttons_with_pixmaps is deprecated and should not be used in newly-written code.
|
|
|
|
|
void mate_dialog_construct (MateDialog *dialog,const gchar *title,va_list ap);
mate_dialog_construct is deprecated and should not be used in newly-written code.
|
|
|
|
|
void mate_dialog_constructv (MateDialog *dialog,const gchar *title,const gchar **buttons);
mate_dialog_constructv is deprecated and should not be used in newly-written code.
|
|
|
|
|
#define MATE_STOCK_BUTTON_OK GTK_STOCK_OK
MATE_STOCK_BUTTON_OK is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_CANCEL GTK_STOCK_CANCEL
MATE_STOCK_BUTTON_CANCEL is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_YES GTK_STOCK_YES
MATE_STOCK_BUTTON_YES is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_NO GTK_STOCK_NO
MATE_STOCK_BUTTON_NO is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_CLOSE GTK_STOCK_CLOSE
MATE_STOCK_BUTTON_CLOSE is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_APPLY GTK_STOCK_APPLY
MATE_STOCK_BUTTON_APPLY is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_HELP GTK_STOCK_HELP
MATE_STOCK_BUTTON_HELP is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_NEXT GTK_STOCK_GO_FORWARD
MATE_STOCK_BUTTON_NEXT is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_PREV GTK_STOCK_GO_BACK
MATE_STOCK_BUTTON_PREV is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_UP GTK_STOCK_GO_UP
MATE_STOCK_BUTTON_UP is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
#define MATE_STOCK_BUTTON_DOWN GTK_STOCK_GO_DOWN
MATE_STOCK_BUTTON_DOWN is deprecated and should not be used in newly-written code.
This button has been replaced by one in GTK+ and new code should use that.
"clicked" signalvoid user_function (MateDialog *dialog,
gint arg1,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"close" signalgboolean user_function (MateDialog *dialog,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
Returns : |