Callback functions for the pcb footprintwizard (pcb-gfpw). More...
Go to the source code of this file.
Functions | |
int | all_entries_need_updated (GtkWidget *widget) |
All entries need to be updated. | |
int | all_entries_to_default_sensitivity (GtkWidget *widget) |
Set all entries widgets to default sensitivity. | |
int | change_main_window_title (GtkWidget *widget, gchar *main_window_title) |
Change the main window title. | |
int | entry_has_changed (GtkWidget *widget) |
The value in one of the entries in the GUI has changed. | |
int | gui_constraints_disable_fiducial_widgets (GtkWidget *widget) |
Set GUI constraints: disable the checkbutton and entries related to fiducials. | |
int | gui_constraints_disable_heel_and_toe_goals_tab_widgets (GtkWidget *widget) |
Set GUI constraints: disable the entries in the "Heel and Toe goals" tab. | |
int | gui_constraints_disable_thermal_pad_widgets (GtkWidget *widget) |
Set GUI constraints: disable only the thermal pad related widgets on the "Thermal Pad" notebook tab. | |
int | gui_constraints_disable_thermal_tab_widgets (GtkWidget *widget) |
Set GUI constraints: disable the entries in the "Thermal Pad" tab. | |
int | message_to_statusbar (GtkWidget *widget, gchar *message) |
Send a message to the statusbar. | |
int | number_of_pins_has_changed (GtkWidget *widget) |
Update the value in the "number_total_pins" entry. | |
void | on_C1_entry_changed (GtkEditable *editable, gpointer user_data) |
The "top to bottom pads/pins center-center distance (C1)" entry is changed. | |
void | on_C1_radiobutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "top to bottom pads/pins center-center distance (C1)" radiobutton is clicked. | |
void | on_C2_entry_changed (GtkEditable *editable, gpointer user_data) |
The "left to right pads/pins center-center distance (C2)" entry is changed. | |
void | on_C2_radiobutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "left to right pads/pins center-center distance (C2)" radiobutton is clicked. | |
void | on_G1_entry_changed (GtkEditable *editable, gpointer user_data) |
The top to bottom pads/pins inner-inner distance (G1) entry is changed. | |
void | on_G1_radiobutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The top to bottom pads/pins inner-inner distance (G1) radiobutton is clicked. | |
void | on_G2_entry_changed (GtkEditable *editable, gpointer user_data) |
The left to right pads/pins inner-inner distance (G2) entry is changed. | |
void | on_G2_radiobutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The left to right pads/pins inner-inner distance (G2) radiobutton is clicked. | |
void | on_Z1_entry_changed (GtkEditable *editable, gpointer user_data) |
The top to bottom pads/pins outer-outer distance (Z1) entry is changed. | |
void | on_Z1_radiobutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The top to bottom pads/pins outer-outer (Z1) radiobutton is clicked. | |
void | on_Z2_entry_changed (GtkEditable *editable, gpointer user_data) |
The left to right pads/pins outer-outer distance (Z2) entry is changed. | |
void | on_Z2_radiobutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The left to right pads/pins outer-outer (Z2) radiobutton is clicked. | |
void | on_about_dialog_close (GtkDialog *dialog, gint response_id, gpointer user_data) |
The close button of the about dialog is clicked. | |
void | on_about_dialog_destroy (GtkObject *object, gpointer user_data) |
The destroy button of the about dialog is clicked. | |
void | on_add_attribs_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "add attributes to footprint" checkbutton is toggled. | |
void | on_add_license_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "add a license text to footprint" checkbutton is toggled. | |
void | on_clear_button_clicked (GtkButton *button, gpointer user_data) |
The "Clear" button is clicked. | |
void | on_close_button_clicked (GtkButton *button, gpointer user_data) |
The "Close" button is clicked. | |
void | on_count_x_entry_changed (GtkEditable *editable, gpointer user_data) |
The "Count X-direction" entry is changed. | |
void | on_count_y_entry_changed (GtkEditable *editable, gpointer user_data) |
The "Count Y-direction" entry is changed. | |
void | on_courtyard_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "courtyard" checkbutton is toggled. | |
void | on_courtyard_clearance_with_package_entry_changed (GtkEditable *editable, gpointer user_data) |
The "courtyard clearance with package" entry is changed. | |
void | on_courtyard_length_entry_changed (GtkEditable *editable, gpointer user_data) |
The "length of the courtyard (X)" entry is changed. | |
void | on_courtyard_line_width_entry_changed (GtkEditable *editable, gpointer user_data) |
The "courtyard line width" entry is changed. | |
void | on_courtyard_width_entry_changed (GtkEditable *editable, gpointer user_data) |
The "width of the courtyard (Y)" entry is changed. | |
void | on_dimensions_button_clicked (GtkButton *button, gpointer user_data) |
The "Dimensions" button is clicked. | |
void | on_fiducial_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "fiducial" checkbutton is toggled. | |
void | on_fiducial_pad_clearance_entry_changed (GtkEditable *editable, gpointer user_data) |
The "fiducial pad clearance" entry is changed. | |
void | on_fiducial_pad_diameter_entry_changed (GtkEditable *editable, gpointer user_data) |
The "fiducial pad diameter (D)" entry is changed. | |
void | on_fiducial_pad_solder_mask_clearance_entry_changed (GtkEditable *editable, gpointer user_data) |
The "fiducial pad solder mask clearance" entry is changed. | |
void | on_filechooser_dialog_cancel_button_clicked (GtkButton *button, gpointer user_data) |
The file chooser dialog "Cancel" button is clicked. | |
void | on_filechooser_dialog_close (GtkDialog *dialog, gpointer user_data) |
The file chooser dialog "close" signal is emitted. | |
void | on_filechooser_dialog_current_folder_changed (GtkFileChooser *filechooser, gpointer user_data) |
The file chooser dialog "current folder changed" signal is emitted. | |
void | on_filechooser_dialog_open_button_clicked (GtkButton *button, gpointer user_data) |
The file chooser dialog "Open" button is clicked. | |
void | on_filechooser_dialog_selection_changed (GtkFileChooser *filechooser, gpointer user_data) |
The file chooser dialog "selection changed" signal is emitted. | |
void | on_filechooser_dialog_update_preview (GtkFileChooser *filechooser, gpointer user_data) |
The file chooser dialog "update preview" signal is emitted. | |
void | on_footprint_author_entry_changed (GtkEditable *editable, gpointer user_data) |
The "footprint author name" entry is changed. | |
void | on_footprint_button_clicked (GtkButton *button, gpointer user_data) |
The "Footprint" button is clicked. | |
void | on_footprint_dist_license_entry_changed (GtkEditable *editable, gpointer user_data) |
The "footprint distribution license" entry is changed. | |
void | on_footprint_name_entry_changed (GtkEditable *editable, gpointer user_data) |
The "footprint name" entry is changed. | |
void | on_footprint_refdes_entry_changed (GtkEditable *editable, gpointer user_data) |
The "footprint refdes prefix" entry is changed. | |
void | on_footprint_status_entry_changed (GtkComboBox *combobox, gpointer user_data) |
The "footprint status" entry is changed. | |
void | on_footprint_type_entry_changed (GtkComboBox *combobox, gpointer user_data) |
The "footprint type" entry is changed. | |
void | on_footprint_units_entry_changed (GtkComboBox *combobox, gpointer user_data) |
The "footprint units" entry is changed. | |
void | on_footprint_use_license_entry_changed (GtkEditable *editable, gpointer user_data) |
The "footprint usage license" entry is changed. | |
void | on_footprint_value_entry_changed (GtkEditable *editable, gpointer user_data) |
The "footprint value" entry is changed. | |
void | on_number_1_position_entry_changed (GtkComboBox *combobox, gpointer user_data) |
The "position of number 1 pad/pin" entry is changed. | |
void | on_number_of_columns_entry_changed (GtkEditable *editable, gpointer user_data) |
The "number of columns" entry is changed. | |
void | on_number_of_rows_entry_changed (GtkEditable *editable, gpointer user_data) |
The "number of rows" entry is changed. | |
void | on_number_total_pins_entry_changed (GtkEditable *editable, gpointer user_data) |
The "number of pads/pins" entry is changed. | |
void | on_open_button_clicked (GtkButton *button, gpointer user_data) |
The "Open" button is clicked. | |
void | on_package_body_height_entry_changed (GtkEditable *editable, gpointer user_data) |
The "package body height" entry is changed. | |
void | on_package_body_length_entry_changed (GtkEditable *editable, gpointer user_data) |
The "package body length" entry is changed. | |
void | on_package_body_width_entry_changed (GtkEditable *editable, gpointer user_data) |
The "package body width" entry is changed. | |
void | on_package_is_radial_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "package is radial" checkbutton is toggled. | |
void | on_pad_clearance_entry_changed (GtkEditable *editable, gpointer user_data) |
The "pad clearance" entry is changed. | |
void | on_pad_diameter_entry_changed (GtkEditable *editable, gpointer user_data) |
The "diameter of the pad (D)" entry is changed. | |
void | on_pad_length_entry_changed (GtkEditable *editable, gpointer user_data) |
The "length of the pads (X)" entry is changed. | |
void | on_pad_shape_entry_changed (GtkComboBox *combobox, gpointer user_data) |
The "shape of pads" entry is changed. | |
void | on_pad_solder_mask_clearance_entry_changed (GtkEditable *editable, gpointer user_data) |
The "pad solder mask clearance" entry is changed. | |
void | on_pad_width_entry_changed (GtkEditable *editable, gpointer user_data) |
The "width of the pads (Y)" entry is changed. | |
void | on_pcb_gfpw_destroy (GtkObject *object, gpointer user_data) |
The top-right "X" is clicked. | |
void | on_pin_drill_diameter_entry_changed (GtkEditable *editable, gpointer user_data) |
The "diameter of the drill holes (d)" entry is changed. | |
void | on_pin_pad_exceptions_button_clicked (GtkButton *button, gpointer user_data) |
The "Pin/Pad exceptions" button is clicked. | |
void | on_pin_pad_exceptions_entry_changed (GtkEditable *editable, gpointer user_data) |
The "pin/pad exceptions" entry is changed. | |
void | on_pin_square_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "pin #1 square" checkbutton is toggled. | |
void | on_pitch_x_entry_changed (GtkEditable *editable, gpointer user_data) |
The "Pitch X-direction" entry is changed. | |
void | on_pitch_y_entry_changed (GtkEditable *editable, gpointer user_data) |
The "Pitch Y-direction" entry is changed. | |
void | on_preview_button_clicked (GtkButton *button, gpointer user_data) |
The "Preview" button is clicked. | |
void | on_refresh_button_clicked (GtkButton *button, gpointer user_data) |
The "Refresh" button is clicked. | |
void | on_save_button_clicked (GtkButton *button, gpointer user_data) |
The "Save" button is clicked. | |
void | on_silkscreen_indicate_1_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "indicate pin/pad number 1" checkbutton is toggled. | |
void | on_silkscreen_line_width_entry_changed (GtkEditable *editable, gpointer user_data) |
The "silkscreen line width" entry is changed. | |
void | on_silkscreen_package_outline_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "package outline" checkbutton is toggled. | |
void | on_thermal_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "thermal pad" checkbutton is toggled. | |
void | on_thermal_clearance_entry_changed (GtkEditable *editable, gpointer user_data) |
The "thermal pad clearance" entry is changed. | |
void | on_thermal_length_entry_changed (GtkEditable *editable, gpointer user_data) |
The "thermal pad length" entry is changed. | |
void | on_thermal_nopaste_checkbutton_toggled (GtkToggleButton *togglebutton, gpointer user_data) |
The "thermal pad no paste" checkbutton is clicked. | |
void | on_thermal_solder_mask_clearance_entry_changed (GtkEditable *editable, gpointer user_data) |
The "thermal pad solder mask clearance" entry is changed. | |
void | on_thermal_width_entry_changed (GtkEditable *editable, gpointer user_data) |
The "thermal pad width" entry is changed. | |
Variables | |
gboolean | main_window_title_has_asterisk = FALSE |
gboolean | fpw_file_saved = FALSE |
gchar * | temp_dir = NULL |
gchar * | work_dir = NULL |
Callback functions for the pcb footprintwizard (pcb-gfpw).
pcb-gfpw (GtkFootPrintWizard) is a program for the creation of footprint files to be used by the pcb layout application (see http://pcb.gpleda.org) for the placement of parts in a pcb layout.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Definition in file callbacks.c.
int all_entries_need_updated | ( | GtkWidget * | widget | ) |
All entries need to be updated.
For some reason (e.g. loading a fpw-file or looking a pre-defined package for instance) the entry fields, combo boxes and check buttons need to be updated to be in sync with the global variables (which are considered leading over the actual values shown in the GUI in this case). This function is to be called on one of the following events:
Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 82 of file callbacks.c.
References attributes_in_footprint, c1, c2, count_x, count_y, courtyard_clearance_with_package, courtyard_length, courtyard_line_width, courtyard_width, fiducial, fiducial_pad_clearance, fiducial_pad_diameter, fiducial_pad_solder_mask_clearance, footprint_author, footprint_dist_license, footprint_name, footprint_refdes, footprint_status, footprint_type, footprint_units, footprint_use_license, footprint_value, g1, g2, license_in_footprint, number_of_columns, number_of_pins, number_of_pins_has_changed(), number_of_rows, package_body_height, package_body_length, package_body_width, package_is_radial, package_type, pad_clearance, pad_diameter, pad_length, pad_shape, pad_shapes_type, pad_solder_mask_clearance, pad_width, pin1_location, pin1_square, pin_1_position, pin_drill_diameter, pin_pad_exceptions_string, pitch_x, pitch_y, silkscreen_indicate_1, silkscreen_package_outline, status_type, thermal, thermal_clearance, thermal_length, thermal_nopaste, thermal_solder_mask_clearance, thermal_width, units_type, update_location_variables(), update_pad_shapes_variables(), update_units_variables(), z1, and z2.
Referenced by on_filechooser_dialog_open_button_clicked(), on_footprint_name_entry_changed(), and on_refresh_button_clicked().
int all_entries_to_default_sensitivity | ( | GtkWidget * | widget | ) |
Set all entries widgets to default sensitivity.
Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 595 of file callbacks.c.
Referenced by on_footprint_type_entry_changed().
int change_main_window_title | ( | GtkWidget * | widget, | |
gchar * | main_window_title | |||
) |
Change the main window title.
Parameters: *widget
is the caller widget.
Parameters: *main_window_title
is the string containing the new title.
Returns: none.
Definition at line 808 of file callbacks.c.
References main_window.
Referenced by entry_has_changed(), and on_save_button_clicked().
int entry_has_changed | ( | GtkWidget * | widget | ) |
The value in one of the entries in the GUI has changed.
Add an asterix between brackets [*] before the current window title.
Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 827 of file callbacks.c.
References change_main_window_title(), fpw_file_saved, main_window, and main_window_title_has_asterisk.
Referenced by on_C1_entry_changed(), on_C2_entry_changed(), on_clear_button_clicked(), on_count_x_entry_changed(), on_count_y_entry_changed(), on_courtyard_checkbutton_toggled(), on_courtyard_clearance_with_package_entry_changed(), on_courtyard_length_entry_changed(), on_courtyard_line_width_entry_changed(), on_courtyard_width_entry_changed(), on_fiducial_checkbutton_toggled(), on_fiducial_pad_clearance_entry_changed(), on_fiducial_pad_diameter_entry_changed(), on_fiducial_pad_solder_mask_clearance_entry_changed(), on_footprint_author_entry_changed(), on_footprint_dist_license_entry_changed(), on_footprint_name_entry_changed(), on_footprint_refdes_entry_changed(), on_footprint_status_entry_changed(), on_footprint_type_entry_changed(), on_footprint_units_entry_changed(), on_footprint_use_license_entry_changed(), on_footprint_value_entry_changed(), on_G1_entry_changed(), on_G2_entry_changed(), on_number_1_position_entry_changed(), on_number_of_columns_entry_changed(), on_number_of_rows_entry_changed(), on_number_total_pins_entry_changed(), on_package_body_height_entry_changed(), on_package_body_length_entry_changed(), on_package_body_width_entry_changed(), on_package_is_radial_checkbutton_toggled(), on_pad_clearance_entry_changed(), on_pad_diameter_entry_changed(), on_pad_length_entry_changed(), on_pad_shape_entry_changed(), on_pad_solder_mask_clearance_entry_changed(), on_pad_width_entry_changed(), on_pin_drill_diameter_entry_changed(), on_pin_pad_exceptions_entry_changed(), on_pin_square_checkbutton_toggled(), on_pitch_x_entry_changed(), on_pitch_y_entry_changed(), on_silkscreen_indicate_1_checkbutton_toggled(), on_silkscreen_line_width_entry_changed(), on_silkscreen_package_outline_checkbutton_toggled(), on_thermal_checkbutton_toggled(), on_thermal_clearance_entry_changed(), on_thermal_length_entry_changed(), on_thermal_nopaste_checkbutton_toggled(), on_thermal_solder_mask_clearance_entry_changed(), on_thermal_width_entry_changed(), on_Z1_entry_changed(), and on_Z2_entry_changed().
int gui_constraints_disable_fiducial_widgets | ( | GtkWidget * | widget | ) |
Set GUI constraints: disable the checkbutton and entries related to fiducials.
Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 867 of file callbacks.c.
Referenced by sot_set_gui_constraints().
int gui_constraints_disable_heel_and_toe_goals_tab_widgets | ( | GtkWidget * | widget | ) |
Set GUI constraints: disable the entries in the "Heel and Toe goals" tab.
Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 900 of file callbacks.c.
Referenced by bga_set_gui_constraints(), capa_set_gui_constraints(), capc_set_gui_constraints(), capm_set_gui_constraints(), capmp_set_gui_constraints(), cappr_set_gui_constraints(), con_dil_set_gui_constraints(), con_dip_set_gui_constraints(), con_hdr_set_gui_constraints(), con_sil_set_gui_constraints(), diom_set_gui_constraints(), diomelf_set_gui_constraints(), dip_set_gui_constraints(), dips_set_gui_constraints(), indc_set_gui_constraints(), indm_set_gui_constraints(), indp_set_gui_constraints(), pga_set_gui_constraints(), res_set_gui_constraints(), resc_set_gui_constraints(), resm_set_gui_constraints(), resmelf_set_gui_constraints(), sil_set_gui_constraints(), sip_set_gui_constraints(), sot_set_gui_constraints(), and to_set_gui_constraints().
int gui_constraints_disable_thermal_pad_widgets | ( | GtkWidget * | widget | ) |
Set GUI constraints: disable only the thermal pad related widgets on the "Thermal Pad" notebook tab.
Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 962 of file callbacks.c.
int gui_constraints_disable_thermal_tab_widgets | ( | GtkWidget * | widget | ) |
Set GUI constraints: disable the entries in the "Thermal Pad" tab.
Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 997 of file callbacks.c.
Referenced by bga_set_gui_constraints(), capa_set_gui_constraints(), capc_set_gui_constraints(), capm_set_gui_constraints(), capmp_set_gui_constraints(), cappr_set_gui_constraints(), con_dil_set_gui_constraints(), con_dip_set_gui_constraints(), con_hdr_set_gui_constraints(), con_sil_set_gui_constraints(), diom_set_gui_constraints(), diomelf_set_gui_constraints(), dip_set_gui_constraints(), dips_set_gui_constraints(), indc_set_gui_constraints(), indm_set_gui_constraints(), indp_set_gui_constraints(), pga_set_gui_constraints(), plcc_set_gui_constraints(), res_set_gui_constraints(), resc_set_gui_constraints(), resm_set_gui_constraints(), resmelf_set_gui_constraints(), sil_set_gui_constraints(), sip_set_gui_constraints(), and to_set_gui_constraints().
int message_to_statusbar | ( | GtkWidget * | widget, | |
gchar * | message | |||
) |
Send a message to the statusbar.
Parameters: *widget
is the caller widget.
Parameters: *message
is the string containing the new message for the statusbar.
Returns: none.
Definition at line 1053 of file callbacks.c.
Referenced by on_footprint_button_clicked(), on_footprint_name_entry_changed(), on_footprint_type_entry_changed(), on_footprint_units_entry_changed(), on_pad_shape_entry_changed(), on_pin_pad_exceptions_button_clicked(), and on_save_button_clicked().
int number_of_pins_has_changed | ( | GtkWidget * | widget | ) |
Update the value in the "number_total_pins" entry.
This function is to be called on one of the following events:
number_of_columns
changes. number_of_rows
changes. count_x
changes. count_y
changes. thermal
changes. Parameters: *widget
is the caller widget.
Returns: none.
Definition at line 1082 of file callbacks.c.
References get_total_number_of_pins(), and number_of_pins.
Referenced by all_entries_need_updated(), on_count_x_entry_changed(), on_count_y_entry_changed(), on_number_of_columns_entry_changed(), on_number_of_rows_entry_changed(), and on_thermal_checkbutton_toggled().
void on_about_dialog_close | ( | GtkDialog * | dialog, | |
gint | response_id, | |||
gpointer | user_data | |||
) |
The close button of the about dialog is clicked.
Parameters: *dialog
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1465 of file callbacks.c.
Referenced by create_about_dialog().
void on_about_dialog_destroy | ( | GtkObject * | object, | |
gpointer | user_data | |||
) |
The destroy button of the about dialog is clicked.
Parameters: *object
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1485 of file callbacks.c.
Referenced by create_about_dialog().
void on_add_attribs_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "add attributes to footprint" checkbutton is toggled.
attributes_in_footprint
variable (global). Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1509 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_add_license_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "add a license text to footprint" checkbutton is toggled.
license_in_footprint
variable (global). Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1531 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_C1_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "top to bottom pads/pins center-center distance (C1)" entry is changed.
c1
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1111 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_C1_radiobutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "top to bottom pads/pins center-center distance (C1)" radiobutton is clicked.
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1140 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_C2_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "left to right pads/pins center-center distance (C2)" entry is changed.
c2
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1171 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_C2_radiobutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "left to right pads/pins center-center distance (C2)" radiobutton is clicked.
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1200 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_clear_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Clear" button is clicked.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1557 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_close_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Close" button is clicked.
Close the application.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1760 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_count_x_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "Count X-direction" entry is changed.
count_x
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1783 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_count_y_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "Count Y-direction" entry is changed.
count_y
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1812 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_courtyard_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "courtyard" checkbutton is toggled.
courtyard
variable (global). Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1840 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_courtyard_clearance_with_package_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "courtyard clearance with package" entry is changed.
courtyard_clearance_with_package
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1877 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_courtyard_length_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "length of the courtyard (X)" entry is changed.
courtyard_length
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1905 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_courtyard_line_width_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "courtyard line width" entry is changed.
courtyard_line_width
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1933 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_courtyard_width_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "width of the courtyard (Y)" entry is changed.
courtyard_width
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1961 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_dimensions_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Dimensions" button is clicked.
Create a window with a pixmap of the dimensions of the current footprint type (based on the value in the entry widget).
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1986 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_fiducial_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "fiducial" checkbutton is toggled.
fiducial
variable (global). Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2029 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_fiducial_pad_clearance_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "fiducial pad clearance" entry is changed.
fiducial_pad_clearance
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2065 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_fiducial_pad_diameter_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "fiducial pad diameter (D)" entry is changed.
fiducial_pad_diameter
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2096 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_fiducial_pad_solder_mask_clearance_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "fiducial pad solder mask clearance" entry is changed.
fiducial_pad_solder_mask_clearance
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2127 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_filechooser_dialog_cancel_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The file chooser dialog "Cancel" button is clicked.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2161 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_close | ( | GtkDialog * | dialog, | |
gpointer | user_data | |||
) |
The file chooser dialog "close" signal is emitted.
Parameters: *dialog
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2185 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_current_folder_changed | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The file chooser dialog "current folder changed" signal is emitted.
temp_dir
. Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2214 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_open_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The file chooser dialog "Open" button is clicked.
fpw_filename
. temp_dir
into work_dir
. Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2278 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_selection_changed | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The file chooser dialog "selection changed" signal is emitted.
temp_fpw_filename
. - read the values from the selected footprintwizard file in a temporary set of variables temp_*
.
- generate a new preview image.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2376 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_update_preview | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The file chooser dialog "update preview" signal is emitted.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2396 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_footprint_author_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "footprint author name" entry is changed.
Store in the footprint_author
variable (global).
Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2415 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Footprint" button is clicked.
footprint_name
. Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2445 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_dist_license_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "footprint distribution license" entry is changed.
Store in the footprint_dist_license
variable (global).
Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2512 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_name_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "footprint name" entry is changed.
Store in the footprint_name
variable (global).
Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2534 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_refdes_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "footprint refdes prefix" entry is changed.
Store in the footprint_refdes
variable (global).
Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2754 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_status_entry_changed | ( | GtkComboBox * | combobox, | |
gpointer | user_data | |||
) |
The "footprint status" entry is changed.
Store in the footprint_status
variable (global).
Parameters: *combobox
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2775 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_type_entry_changed | ( | GtkComboBox * | combobox, | |
gpointer | user_data | |||
) |
The "footprint type" entry is changed.
footprint_type
variable (global). Parameters: *combobox
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2813 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_units_entry_changed | ( | GtkComboBox * | combobox, | |
gpointer | user_data | |||
) |
The "footprint units" entry is changed.
footprint_units
variable (global). Parameters: *combobox
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3093 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_use_license_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "footprint usage license" entry is changed.
Store in the footprint_use_license
variable (global).
Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3142 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_footprint_value_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "footprint value" entry is changed.
Store in the footprint_value
variable (global).
Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3164 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_G1_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The top to bottom pads/pins inner-inner distance (G1) entry is changed.
g1
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1231 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_G1_radiobutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The top to bottom pads/pins inner-inner distance (G1) radiobutton is clicked.
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1260 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_G2_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The left to right pads/pins inner-inner distance (G2) entry is changed.
g2
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1291 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_G2_radiobutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The left to right pads/pins inner-inner distance (G2) radiobutton is clicked.
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1320 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_number_1_position_entry_changed | ( | GtkComboBox * | combobox, | |
gpointer | user_data | |||
) |
The "position of number 1 pad/pin" entry is changed.
Store in the n1_pos
variable (global).
Parameters: *combobox
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3187 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_number_of_columns_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "number of columns" entry is changed.
n_col
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3210 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_number_of_rows_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "number of rows" entry is changed.
n_row
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3238 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_number_total_pins_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "number of pads/pins" entry is changed.
n
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3266 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_open_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Open" button is clicked.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3294 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_package_body_height_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "package body height" entry is changed.
package_body_height
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3323 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_package_body_length_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "package body length" entry is changed.
package_body_length
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3351 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_package_body_width_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "package body width" entry is changed.
package_body_width
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3379 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_package_is_radial_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "package is radial" checkbutton is toggled.
Store the state of the checkbutton in the package_is_radial
variable (global).
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3405 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pad_clearance_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "pad clearance" entry is changed.
pad_clearance
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3429 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pad_diameter_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "diameter of the pad (D)" entry is changed.
d_pad
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3456 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pad_length_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "length of the pads (X)" entry is changed.
pad_length
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3484 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pad_shape_entry_changed | ( | GtkComboBox * | combobox, | |
gpointer | user_data | |||
) |
The "shape of pads" entry is changed.
pad_shape
variable (global). Parameters: *combobox
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3511 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pad_solder_mask_clearance_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "pad solder mask clearance" entry is changed.
solder_mask_clearance
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3565 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pad_width_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "width of the pads (Y)" entry is changed.
pad_with
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3593 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pcb_gfpw_destroy | ( | GtkObject * | object, | |
gpointer | user_data | |||
) |
The top-right "X" is clicked.
Close the application.
Parameters: *object
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3617 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pin_drill_diameter_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "diameter of the drill holes (d)" entry is changed.
pin_drill_diameter
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3640 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pin_pad_exceptions_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Pin/Pad exceptions" button is clicked.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3673 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pin_pad_exceptions_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "pin/pad exceptions" entry is changed.
pin_pad_exception_string
variable (global) for processing while generating a footprint or preview. Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3744 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pin_square_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "pin #1 square" checkbutton is toggled.
Save the state of the checkbutton in the pin1_square
variable (global).
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3767 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pitch_x_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "Pitch X-direction" entry is changed.
pitch_x
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3790 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_pitch_y_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "Pitch Y-direction" entry is changed.
pitch_y
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3817 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_preview_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Preview" button is clicked.
Create a pixmap of the footprint based on the values in the entry widgets.
There are several ways to create a preview image of the footprint based on the values entered in the entries:
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3865 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_refresh_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Refresh" button is clicked.
Refresh all the entries in the GUI.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3886 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_save_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The "Save" button is clicked.
footprint_name
. Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 3917 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_silkscreen_indicate_1_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "indicate pin/pad number 1" checkbutton is toggled.
Store the state of the checkbutton in the silkscreen_indicate_1
variable (global).
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4012 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_silkscreen_line_width_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "silkscreen line width" entry is changed.
silkscreen_line_thickness
variable (global). Parameters: *ediatble
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4036 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_silkscreen_package_outline_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "package outline" checkbutton is toggled.
silkscreen_package_outline
variable (global). Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4068 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_thermal_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "thermal pad" checkbutton is toggled.
thermal
variable (global). Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4103 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_thermal_clearance_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "thermal pad clearance" entry is changed.
thermal_clearance
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4152 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_thermal_length_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "thermal pad length" entry is changed.
thermal_length
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4180 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_thermal_nopaste_checkbutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The "thermal pad no paste" checkbutton is clicked.
Store the state of the checkbutton in the thermal_nopaste
variable (global).
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4205 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_thermal_solder_mask_clearance_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "thermal pad solder mask clearance" entry is changed.
thermal_solder_clearance
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4230 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_thermal_width_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The "thermal pad width" entry is changed.
thermal_width
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 4258 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_Z1_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The top to bottom pads/pins outer-outer distance (Z1) entry is changed.
z1
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1351 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_Z1_radiobutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The top to bottom pads/pins outer-outer (Z1) radiobutton is clicked.
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1380 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_Z2_entry_changed | ( | GtkEditable * | editable, | |
gpointer | user_data | |||
) |
The left to right pads/pins outer-outer distance (Z2) entry is changed.
z2
variable (global). Parameters: *editable
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1411 of file callbacks.c.
Referenced by create_pcb_gfpw().
void on_Z2_radiobutton_toggled | ( | GtkToggleButton * | togglebutton, | |
gpointer | user_data | |||
) |
The left to right pads/pins outer-outer (Z2) radiobutton is clicked.
Parameters: *togglebutton
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 1440 of file callbacks.c.
Referenced by create_pcb_gfpw().
gboolean fpw_file_saved = FALSE |
Keep track whether the FootPrintWizard file is saved, and thus has a valid filename.
Definition at line 53 of file callbacks.c.
Referenced by entry_has_changed(), and on_save_button_clicked().
gboolean main_window_title_has_asterisk = FALSE |
Keep track whether the main window title has an asterisk between brackets or not.
Definition at line 50 of file callbacks.c.
Referenced by entry_has_changed(), and on_save_button_clicked().
gchar* temp_dir = NULL |
Temporary directory from the GUI filechooser.
Definition at line 56 of file callbacks.c.
Referenced by on_filechooser_dialog_current_folder_changed(), and on_filechooser_dialog_open_button_clicked().
gchar* work_dir = NULL |
Working directory.
Definition at line 58 of file callbacks.c.
Referenced by on_filechooser_dialog_open_button_clicked().