pcb 4.1.1
An interactive printed circuit board layout editor.

gui-pinout-preview.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  _GhidPinoutPreviewClass
struct  _GhidPinoutPreview

Defines

#define GHID_TYPE_PINOUT_PREVIEW   (ghid_pinout_preview_get_type())
#define GHID_PINOUT_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GHID_TYPE_PINOUT_PREVIEW, GhidPinoutPreview))
#define GHID_PINOUT_PREVIEW_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), GHID_TYPE_PINOUT_PREVIEW, GhidPinoutPreviewClass))
#define GHID_IS_PINOUT_PREVIEW(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GHID_TYPE_PINOUT_PREVIEW))
#define GHID_PINOUT_PREVIEW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GHID_TYPE_PINOUT_PREVIEW, GhidPinoutPreviewClass))

Typedefs

typedef struct
_GhidPinoutPreviewClass 
GhidPinoutPreviewClass
typedef struct _GhidPinoutPreview GhidPinoutPreview

Functions

GType ghid_pinout_preview_get_type (void)
 Function to retrieve GhidPinoutPreview's GType identifier.
GtkWidget * ghid_pinout_preview_new (ElementType *element)
 Convenience function to create a new pinout preview.
void ghid_pinout_preview_get_natural_size (GhidPinoutPreview *pinout, int *width, int *height)
 Query the natural size of a pinout preview.

Define Documentation

#define GHID_IS_PINOUT_PREVIEW (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GHID_TYPE_PINOUT_PREVIEW))

Definition at line 36 of file gui-pinout-preview.h.

#define GHID_PINOUT_PREVIEW (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GHID_TYPE_PINOUT_PREVIEW, GhidPinoutPreview))
#define GHID_PINOUT_PREVIEW_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GHID_TYPE_PINOUT_PREVIEW, GhidPinoutPreviewClass))

Definition at line 35 of file gui-pinout-preview.h.

#define GHID_PINOUT_PREVIEW_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GHID_TYPE_PINOUT_PREVIEW, GhidPinoutPreviewClass))

Definition at line 37 of file gui-pinout-preview.h.

#define GHID_TYPE_PINOUT_PREVIEW   (ghid_pinout_preview_get_type())

Definition at line 33 of file gui-pinout-preview.h.

Referenced by ghid_pinout_preview_new(), and library_window_constructor().


Typedef Documentation

Definition at line 40 of file gui-pinout-preview.h.

Definition at line 39 of file gui-pinout-preview.h.


Function Documentation

void ghid_pinout_preview_get_natural_size ( GhidPinoutPreview pinout,
int *  width,
int *  height 
)

Query the natural size of a pinout preview.

Function Description
Convenience function to query the natural size of a pinout preview

Definition at line 330 of file gui-pinout-preview.c.

References _GhidPinoutPreview::h_pixels, and _GhidPinoutPreview::w_pixels.

Referenced by ghid_pinout_window_show().

GType ghid_pinout_preview_get_type ( void  )

Function to retrieve GhidPinoutPreview's GType identifier.

Function Description
Function to retrieve GhidPinoutPreview's GType identifier. Upon first call, this registers the GhidPinoutPreview in the GType system. Subsequently it returns the saved value from its first execution.
Returns:
the GType identifier associated with GhidPinoutPreview.

Definition at line 278 of file gui-pinout-preview.c.

References ghid_pinout_preview_class_init().

Here is the call graph for this function:

GtkWidget* ghid_pinout_preview_new ( ElementType element)

Convenience function to create a new pinout preview.

Function Description
Convenience function which creates a GhidPinoutPreview.
Returns:
The GhidPinoutPreview created.

Definition at line 313 of file gui-pinout-preview.c.

References GHID_TYPE_PINOUT_PREVIEW.

Referenced by ghid_pinout_window_show().