gschem

x_print.c File Reference

#include <config.h>
#include <stdio.h>
#include "gschem.h"
Include dependency graph for x_print.c:

Go to the source code of this file.

Enumerations

enum  {
  PROP_FILENAME = 1, PROP_COMMAND, PROP_PAPERSIZE, PROP_ORIENTATION,
  PROP_TYPE, PROP_USEFILE
}

Functions

static void print_dialog_action_radio_toggled (GtkWidget *w, PrintDialog *dialog)
 Handle the user clicking on radio buttons to select print destination.
static void print_dialog_init (PrintDialog *dialog)
static void print_dialog_init_paper_combobox (PrintDialog *d)
 Create, initialize and populate a combobox for selecting what paper size to print to.
static void print_dialog_init_type_combobox (PrintDialog *d)
 Create, initialize and populate a combobox for selecting the type of printout to produce.
static void print_dialog_init_orient_combobox (PrintDialog *d)
 Create, initialize and populate a combobox for selecting paper orientation.
static void print_dialog_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void print_dialog_set_property_comboboxes (PrintDialog *dialog, GtkComboBox *cbox, const GValue *value)
static void print_dialog_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void print_dialog_get_property_comboboxes (PrintDialog *dialog, GtkComboBox *cbox, GValue *value)
static void print_dialog_class_init (PrintDialogClass *class)
static void print_dialog_action_choosefile (GtkWidget *w, PrintDialog *dialog)
 Callback function to show file chooser dialog.
GType print_dialog_get_type ()
void x_print_setup (GSCHEM_TOPLEVEL *w_current, char *filename)

Enumeration Type Documentation

anonymous enum
Enumerator:
PROP_FILENAME 
PROP_COMMAND 
PROP_PAPERSIZE 
PROP_ORIENTATION 
PROP_TYPE 
PROP_USEFILE 

Definition at line 36 of file x_print.c.


Function Documentation

static void print_dialog_action_radio_toggled ( GtkWidget *  w,
PrintDialog dialog 
) [static]
Private callback function, should not be called by any code
outside x_print.c

Definition at line 239 of file x_print.c.

static void print_dialog_init ( PrintDialog dialog) [static]
Todo:
Finish function documentation
Function Description

Definition at line 265 of file x_print.c.

Here is the call graph for this function:

static void print_dialog_init_paper_combobox ( PrintDialog d) [static]
Private function, should not be
called by any code outside x_print.c

Definition at line 122 of file x_print.c.

static void print_dialog_init_type_combobox ( PrintDialog d) [static]
Private function, should not be called by any code
outside x_print.c

Definition at line 152 of file x_print.c.

static void print_dialog_init_orient_combobox ( PrintDialog d) [static]
Private function, should not be called by any code
outside x_print.c

Definition at line 198 of file x_print.c.

static void print_dialog_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 409 of file x_print.c.

Here is the call graph for this function:

static void print_dialog_set_property_comboboxes ( PrintDialog dialog,
GtkComboBox *  cbox,
const GValue *  value 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 464 of file x_print.c.

static void print_dialog_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 495 of file x_print.c.

Here is the call graph for this function:

static void print_dialog_get_property_comboboxes ( PrintDialog dialog,
GtkComboBox *  cbox,
GValue *  value 
) [static]
Todo:
Finish function documentation
Function Description

Definition at line 547 of file x_print.c.

static void print_dialog_class_init ( PrintDialogClass class) [static]
Todo:
Finish function documentation
Function Description
Bug:
Hardcoded 'magic' numbers in this function

Definition at line 570 of file x_print.c.

Here is the call graph for this function:

static void print_dialog_action_choosefile ( GtkWidget *  w,
PrintDialog dialog 
) [static]
Shows file chooser dialog for user to select PostScript file
to print to.
Private callback function, should not be called by any code
outside x_print.c

Definition at line 79 of file x_print.c.

GType print_dialog_get_type ( )
Todo:
Finish function documentation
Function Description

Definition at line 614 of file x_print.c.

Here is the call graph for this function:

void x_print_setup ( GSCHEM_TOPLEVEL w_current,
char *  filename 
)
Todo:
Finish function documentation
Function Description

Definition at line 645 of file x_print.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines