Go to the source code of this file.
Data Structures |
struct | _GschemDialogClass |
struct | _GschemDialog |
Defines |
#define | GSCHEM_TYPE_DIALOG (gschem_dialog_get_type()) |
#define | GSCHEM_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSCHEM_TYPE_DIALOG, GschemDialog)) |
#define | GSCHEM_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_DIALOG, GschemDialogClass)) |
#define | GSCHEM_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSCHEM_TYPE_DIALOG)) |
#define | GSCHEM_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_DIALOG, GschemDialogClass)) |
Typedefs |
typedef struct _GschemDialogClass | GschemDialogClass |
typedef struct _GschemDialog | GschemDialog |
Functions |
GType | gschem_dialog_get_type (void) |
| Function to retrieve GschemDialog's GType identifier.
|
GtkWidget * | gschem_dialog_new_with_buttons (const gchar *title, GtkWindow *parent, GtkDialogFlags flags, const gchar *settings_name, GSCHEM_TOPLEVEL *w_current, const gchar *first_button_text,...) |
| GTK function modified from GTK+-2.4.14 gtkdialog.c to provide a GschemDialog equivelant of the convenience function gtk_dialog_new_with_buttons(...)
|
Define Documentation
#define GSCHEM_TYPE_DIALOG (gschem_dialog_get_type()) |
#define GSCHEM_DIALOG |
( |
|
obj | ) |
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GSCHEM_TYPE_DIALOG, GschemDialog)) |
#define GSCHEM_DIALOG_CLASS |
( |
|
klass | ) |
(G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_DIALOG, GschemDialogClass)) |
#define GSCHEM_IS_DIALOG |
( |
|
obj | ) |
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSCHEM_TYPE_DIALOG)) |
#define GSCHEM_DIALOG_GET_CLASS |
( |
|
obj | ) |
(G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_DIALOG, GschemDialogClass)) |
Typedef Documentation
Function Documentation
GType gschem_dialog_get_type |
( |
void |
| ) |
|
- Function Description
- Function to retrieve GschemDialog's GType identifier. Upon first call, this registers the GschemDialog in the GType system. Subsequently it returns the saved value from its first execution.
- Returns:
- the GType identifier associated with GschemDialog.
Definition at line 413 of file gschem_dialog.c.
GtkWidget* gschem_dialog_new_with_buttons |
( |
const gchar * |
title, |
|
|
GtkWindow * |
parent, |
|
|
GtkDialogFlags |
flags, |
|
|
const gchar * |
settings_name, |
|
|
GSCHEM_TOPLEVEL * |
w_current, |
|
|
const gchar * |
first_button_text, |
|
|
|
... |
|
) |
| |
- Function Description
- Convenience function which creates a GschemDialog with buttons and options.
- Parameters:
-
[in] | title | The title text of the dialog |
[in] | parent | The GtkWindow which will parent this dialog |
[in] | flags | The GtkDialogFlags to use when setting up the dialog |
[in] | settings_name | The name gschem should use to store this dialog's settings |
[in] | w_current | The GSCHEM_TOPLEVEL object this dialog is associated with |
[in] | first_button_text | The text string for the first button |
[in] | ... | A variable number of arguments with the remaining button strings |
- Returns:
- The GschemDialog created.
Definition at line 539 of file gschem_dialog.c.