Functions for a footprint dimensions preview widget. More...
Go to the source code of this file.
Functions | |
| static void | dimensions_window_close_cb (GtkWidget *widget, GtkWidget *dimensions_window) |
Close the dimensions window (destroy the dimensions_window widget). | |
| void | dimensions_window_delete_event (GtkWidget *widget, GdkEvent *event) |
| Delete the window. | |
| void | dimensions_window_expose_event (GtkWidget *widget, GdkEventExpose *event, GdkPixbuf *buf) |
| Expose the window. | |
| int | dimensions_create_window (gchar *image_filename, gchar *footprint_type) |
| Create a dialog window containing a pre-defined pixbuf (from file). | |
Functions for a footprint dimensions preview widget.
Definition in file dimensions_dialog.c.
| int dimensions_create_window | ( | gchar * | image_filename, | |
| gchar * | footprint_type | |||
| ) |
Create a dialog window containing a pre-defined pixbuf (from file).
The footprint_name variable is used in the dialog title.
| image_filename | : is the filename of the image to draw in the window. | |
| footprint_type | : is the footprint type. |
Definition at line 104 of file dimensions_dialog.c.
References dimensions_window_close_cb(), dimensions_window_delete_event(), and dimensions_window_expose_event().

| static void dimensions_window_close_cb | ( | GtkWidget * | widget, | |
| GtkWidget * | dimensions_window | |||
| ) | [static] |
Close the dimensions window (destroy the dimensions_window widget).
| widget | : is the caller widget. | |
| dimensions_window | : is the widget to be closed. |
Definition at line 35 of file dimensions_dialog.c.
Referenced by dimensions_create_window().
| void dimensions_window_delete_event | ( | GtkWidget * | widget, | |
| GdkEvent * | event | |||
| ) |
Delete the window.
| widget | : is the widget to be deleted. | |
| event | : is the event passed from the caller. |
Definition at line 51 of file dimensions_dialog.c.
| void dimensions_window_expose_event | ( | GtkWidget * | widget, | |
| GdkEventExpose * | event, | |||
| GdkPixbuf * | buf | |||
| ) |
Expose the window.
| widget | : is the (drawable) widget to contain the image. | |
| event | : is the event passed from the caller. | |
| buf | : is the image to (re)draw. |
Definition at line 67 of file dimensions_dialog.c.
1.7.1