gschem

gschem_dialog.h File Reference

This graph shows which files directly or indirectly include this file:

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())

Definition at line 26 of file gschem_dialog.h.

#define GSCHEM_DIALOG (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSCHEM_TYPE_DIALOG, GschemDialog))

Definition at line 27 of file gschem_dialog.h.

#define GSCHEM_DIALOG_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GSCHEM_TYPE_DIALOG, GschemDialogClass))

Definition at line 28 of file gschem_dialog.h.

#define GSCHEM_IS_DIALOG (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSCHEM_TYPE_DIALOG))

Definition at line 29 of file gschem_dialog.h.

#define GSCHEM_DIALOG_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GSCHEM_TYPE_DIALOG, GschemDialogClass))

Definition at line 30 of file gschem_dialog.h.


Typedef Documentation

Definition at line 32 of file gschem_dialog.h.

typedef struct _GschemDialog GschemDialog

Definition at line 33 of file gschem_dialog.h.


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.

Here is the call graph for this function:

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]titleThe title text of the dialog
[in]parentThe GtkWindow which will parent this dialog
[in]flagsThe GtkDialogFlags to use when setting up the dialog
[in]settings_nameThe name gschem should use to store this dialog's settings
[in]w_currentThe GSCHEM_TOPLEVEL object this dialog is associated with
[in]first_button_textThe 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.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines