00001
00025 #ifdef HAVE_CONFIG_H
00026 # include <config.h>
00027 #endif
00028
00029 #include <sys/types.h>
00030 #include <sys/stat.h>
00031 #include <unistd.h>
00032 #include <string.h>
00033 #include <stdio.h>
00034 #include <gdk/gdkkeysyms.h>
00035 #include <gtk/gtk.h>
00036 #include "../globals.h"
00037 #include "main_window.h"
00038 #include "callbacks.h"
00039 #include "support.h"
00040
00041 #define GLADE_HOOKUP_OBJECT(component,widget,name) \
00042 g_object_set_data_full (G_OBJECT (component), name, \
00043 gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
00044
00045 #define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
00046 g_object_set_data (G_OBJECT (component), name, widget)
00047
00048
00056 GtkWidget*
00057 create_pcb_gfpw (void)
00058 {
00059 GtkWidget *pcb_gfpw;
00060 GdkPixbuf *pcb_gfpw_icon_pixbuf;
00061 GtkWidget *vbox;
00062 GtkWidget *hbox;
00063
00064 GtkWidget *notebook;
00065
00066 GtkWidget *footprint_tab_table;
00067 GtkWidget *author_frame;
00068 GtkWidget *author_frame_alignment;
00069 GtkWidget *author_table;
00070 GtkWidget *footprint_author_label;
00071 GtkWidget *footprint_dist_license_label;
00072 GtkWidget *footprint_author_entry;
00073 GtkWidget *footprint_dist_license_entry;
00074 GtkWidget *footprint_use_license_entry;
00075 GtkWidget *footprint_use_license_label;
00076 GtkWidget *footprint_status_label;
00077 GtkWidget *footprint_status_entry;
00078 GtkWidget *author_frame_label;
00079 GtkWidget *footprint_frame;
00080 GtkWidget *footprint_frame_alignment;
00081 GtkWidget *footprint_table;
00082 GtkWidget *footprint_units_label;
00083 GtkWidget *footprint_units_entry;
00084 GtkWidget *footprint_name_entry;
00085 GtkWidget *footprint_type_entry;
00086 GtkWidget *footprint_type_label;
00087 GtkWidget *footprint_name_label;
00088 GtkWidget *package_body_height_entry;
00089 GtkWidget *package_body_height_label;
00090 GtkWidget *pacakge_body_width_label;
00091 GtkWidget *package_body_length_label;
00092 GtkWidget *footprint_value_label;
00093 GtkWidget *package_body_width_entry;
00094 GtkWidget *package_body_length_entry;
00095 GtkWidget *footprint_value_entry;
00096 GtkWidget *footprint_refdes_label;
00097 GtkWidget *footprint_refdes_entry;
00098 GtkWidget *add_license_checkbutton;
00099 GtkWidget *package_is_radial_checkbutton;
00100 GtkWidget *add_attribs_checkbutton;
00101 GtkWidget *footprint_frame_label;
00102 GtkWidget *footprint_tab_label;
00103
00104 GtkWidget *pins_pads_table;
00105 GtkWidget *pads_frame;
00106 GtkWidget *pads_alignment;
00107 GtkWidget *pads_table;
00108 GtkWidget *pad_solder_mask_clearance_label;
00109 GtkWidget *pad_solder_mask_clearance_entry;
00110 GtkWidget *pad_clearance_label;
00111 GtkWidget *pad_width_label;
00112 GtkWidget *pad_length_label;
00113 GtkWidget *pad_clearance_entry;
00114 GtkWidget *pad_width_entry;
00115 GtkWidget *pad_length_entry;
00116 GtkWidget *pad_shape_label;
00117 GtkWidget *pad_shape_entry;
00118 GtkWidget *pads_label;
00119 GtkWidget *pins_frame;
00120 GtkWidget *pins_alignment;
00121 GtkWidget *pins_table;
00122 GtkWidget *pad_diameter_entry;
00123 GtkWidget *pin_drill_diameter_label;
00124 GtkWidget *pin_pad_diameter_label;
00125 GtkWidget *pin_square_checkbutton;
00126 GtkWidget *pin_drill_diameter_entry;
00127 GtkWidget *pins_label;
00128 GtkWidget *pins_pads_pattern_frame;
00129 GtkWidget *pins_pads_pattern_alignment;
00130 GtkWidget *pins_pads_pattern_table;
00131 GtkWidget *total_pins_and_pads_label;
00132 GtkWidget *pitch_x_label;
00133 GtkWidget *pitch_y_label;
00134 GtkWidget *number_total_pins_entry;
00135 GtkWidget *pitch_x_entry;
00136 GtkWidget *pitch_y_entry;
00137 GtkWidget *label1;
00138 GtkWidget *label2;
00139 GtkWidget *count_x_entry;
00140 GtkWidget *count_y_entry;
00141 GtkWidget *number_1_position_label;
00142 GtkWidget *number_1_position_entry;
00143 GtkWidget *number_of_columns_label;
00144 GtkWidget *number_of_columns_entry;
00145 GtkWidget *number_of_rows_label;
00146 GtkWidget *number_of_rows_entry;
00147 GtkWidget *pin_pad_exceptions_entry;
00148 GtkWidget *pin_pad_exceptions_button;
00149 GtkWidget *pins_pads_pattern_label;
00150 GtkWidget *pins_pads_tab_tab_label;
00151
00152 GtkWidget *silkscreen_tab_label;
00153 GtkWidget *silkscreen_table;
00154 GtkWidget *silkscreen_package_outline_checkbutton;
00155 GtkWidget *silkscreen_indicate_1_checkbutton;
00156 GtkWidget *silkscreen_line_width_label;
00157 GtkWidget *silkscreen_line_width_entry;
00158 GtkWidget *courtyard_label;
00159 GtkWidget *courtyard_frame;
00160 GtkWidget *courtyard_alignment;
00161 GtkWidget *courtyard_table;
00162 GtkWidget *courtyard_checkbutton;
00163 GtkWidget *courtyard_width_label;
00164 GtkWidget *courtyard_length_label;
00165 GtkWidget *courtyard_length_entry;
00166 GtkWidget *courtyard_width_entry;
00167 GtkWidget *courtyard_line_width_label;
00168 GtkWidget *courtyard_line_width_entry;
00169 GtkWidget *courtyard_clearance_with_package_label;
00170 GtkWidget *courtyard_clearance_with_package_entry;
00171 GtkWidget *package_frame;
00172 GtkWidget *package_alignment;
00173 GtkWidget *package_table;
00174 GtkWidget *package_label;
00175
00176 GtkWidget *thermal_pad_tab_label;
00177 GtkWidget *thermal_table;
00178 GtkWidget *thermal_pad_frame;
00179 GtkWidget *thermal_pad_alignment;
00180 GtkWidget *thermal_pad_table;
00181 GtkWidget *thermal_checkbutton;
00182 GtkWidget *thermal_pad_length_label;
00183 GtkWidget *thermal_pad_width_label;
00184 GtkWidget *thermal_width_entry;
00185 GtkWidget *thermal_length_entry;
00186 GtkWidget *thermal_nopaste_checkbutton;
00187 GtkWidget *thermal_pad_solder_mask_clearance_label;
00188 GtkWidget *thermal_pad_clearance_label;
00189 GtkWidget *thermal_solder_mask_clearance_entry;
00190 GtkWidget *thermal_clearance_entry;
00191 GtkWidget *thermal_pad_label;
00192 GtkWidget *fiducials_frame;
00193 GtkWidget *fiducials_alignment;
00194 GtkWidget *fiducials_table;
00195 GtkWidget *fiducial_pad_diameter_label;
00196 GtkWidget *fiducial_pad_diameter_entry;
00197 GtkWidget *fiducial_checkbutton;
00198 GtkWidget *fiducial_solder_mask_clearance_label;
00199 GtkWidget *fiducial_pad_solder_mask_clearance_entry;
00200 GtkWidget *fiducial_pad_clearance_label;
00201 GtkWidget *fiducial_pad_clearance_entry;
00202 GtkWidget *fiducials_label;
00203
00204 GtkWidget *heel_and_toe_goals_tab_label;
00205 GtkWidget *heel_and_toe_goals_vbox;
00206 GtkWidget *top_to_bottom_frame;
00207 GtkWidget *top_to_bottom_alignment;
00208 GtkWidget *top_to_bottom_table;
00209 GtkWidget *top_to_bottom_label;
00210 GSList *G1_radiobutton_group = NULL;
00211 GtkWidget *G1_radiobutton;
00212 GtkWidget *C1_radiobutton;
00213 GtkWidget *Z1_radiobutton;
00214 GtkWidget *G1_entry;
00215 GtkWidget *C1_entry;
00216 GtkWidget *Z1_entry;
00217 GSList *G2_radiobutton_group = NULL;
00218 GtkWidget *G2_radiobutton;
00219 GtkWidget *C2_radiobutton;
00220 GtkWidget *Z2_radiobutton;
00221 GtkWidget *G2_entry;
00222 GtkWidget *C2_entry;
00223 GtkWidget *Z2_entry;
00224 GtkWidget *left_to_right_frame;
00225 GtkWidget *left_to_right_alignment;
00226 GtkWidget *left_to_right_table;
00227 GtkWidget *left_to_right_label;
00228 GtkWidget *hbuttonbox0;
00229 GtkWidget *refresh_button;
00230 GtkWidget *dimensions_button;
00231 GtkWidget *alignment4;
00232 GtkWidget *hbox4;
00233 GtkWidget *image4;
00234 GtkWidget *label6;
00235 GtkWidget *preview_button;
00236 GtkWidget *alignment1;
00237 GtkWidget *hbox1;
00238 GtkWidget *image1;
00239 GtkWidget *label3;
00240 GtkWidget *clear_button;
00241 GtkWidget *hbuttonbox1;
00242 GtkWidget *close_button;
00243 GtkWidget *footprint_button;
00244 GtkWidget *alignment3;
00245 GtkWidget *hbox3;
00246 GtkWidget *image3;
00247 GtkWidget *label5;
00248 GtkWidget *open_button;
00249 GtkWidget *save_button;
00250 GtkWidget *statusbar;
00251 GtkTooltips *tooltips;
00252
00253 tooltips = gtk_tooltips_new ();
00254
00255 pcb_gfpw = gtk_window_new (GTK_WINDOW_TOPLEVEL);
00256 gtk_widget_set_name (pcb_gfpw, "pcb_gfpw");
00257 gtk_tooltips_set_tip (tooltips, pcb_gfpw, _("FootPrintWizard for pcb footprints"), NULL);
00258 gtk_window_set_title (GTK_WINDOW (pcb_gfpw), _("pcb-gfpw FootPrint Wizard"));
00259 pcb_gfpw_icon_pixbuf = create_pixbuf ("gFootprintWizard.xpm");
00260 if (pcb_gfpw_icon_pixbuf)
00261 {
00262 gtk_window_set_icon (GTK_WINDOW (pcb_gfpw), pcb_gfpw_icon_pixbuf);
00263 gdk_pixbuf_unref (pcb_gfpw_icon_pixbuf);
00264 }
00265
00266 vbox = gtk_vbox_new (FALSE, 0);
00267 gtk_widget_set_name (vbox, "vbox");
00268 gtk_widget_show (vbox);
00269 gtk_container_add (GTK_CONTAINER (pcb_gfpw), vbox);
00270
00271 hbox = gtk_hbox_new (FALSE, 0);
00272 gtk_widget_set_name (hbox, "hbox");
00273 gtk_widget_show (hbox);
00274 gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
00275
00276 notebook = gtk_notebook_new ();
00277 gtk_widget_set_name (notebook, "notebook");
00278 gtk_widget_show (notebook);
00279 gtk_box_pack_start (GTK_BOX (hbox), notebook, TRUE, TRUE, 0);
00280 gtk_container_set_border_width (GTK_CONTAINER (notebook), 10);
00281
00282 footprint_tab_table = gtk_table_new (2, 1, FALSE);
00283 gtk_widget_set_name (footprint_tab_table, "footprint_tab_table");
00284 gtk_widget_show (footprint_tab_table);
00285 gtk_container_add (GTK_CONTAINER (notebook), footprint_tab_table);
00286 gtk_notebook_set_tab_label_packing
00287 (
00288 GTK_NOTEBOOK (notebook),
00289 footprint_tab_table,
00290 FALSE,
00291 FALSE,
00292 GTK_PACK_START
00293 );
00294 gtk_container_set_border_width (GTK_CONTAINER (footprint_tab_table), 5);
00295 gtk_table_set_row_spacings (GTK_TABLE (footprint_tab_table), 10);
00296
00297 author_frame = gtk_frame_new (NULL);
00298 gtk_widget_set_name (author_frame, "author_frame");
00299 gtk_widget_show (author_frame);
00300 gtk_table_attach
00301 (
00302 GTK_TABLE (footprint_tab_table),
00303 author_frame, 0, 1, 1, 2,
00304 (GtkAttachOptions) (GTK_FILL),
00305 (GtkAttachOptions) (0),
00306 0, 0
00307 );
00308 gtk_frame_set_shadow_type (GTK_FRAME (author_frame), GTK_SHADOW_NONE);
00309
00310 author_frame_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
00311 gtk_widget_set_name (author_frame_alignment, "author_frame_alignment");
00312 gtk_widget_show (author_frame_alignment);
00313 gtk_container_add (GTK_CONTAINER (author_frame), author_frame_alignment);
00314 gtk_alignment_set_padding (GTK_ALIGNMENT (author_frame_alignment), 0, 0, 12, 0);
00315
00316 author_table = gtk_table_new (4, 2, FALSE);
00317 gtk_widget_set_name (author_table, "author_table");
00318 gtk_widget_show (author_table);
00319 gtk_container_add (GTK_CONTAINER (author_frame_alignment), author_table);
00320
00321 footprint_author_label = gtk_label_new (_("Author"));
00322 gtk_widget_set_name (footprint_author_label, "footprint_author_label");
00323 gtk_widget_show (footprint_author_label);
00324 gtk_table_attach
00325 (
00326 GTK_TABLE (author_table),
00327 footprint_author_label, 0, 1, 0, 1,
00328 (GtkAttachOptions) (GTK_FILL),
00329 (GtkAttachOptions) (0),
00330 0, 0
00331 );
00332 gtk_misc_set_alignment (GTK_MISC (footprint_author_label), 0, 0.5);
00333
00334 footprint_dist_license_label = gtk_label_new (_("Distribution license "));
00335 gtk_widget_set_name (footprint_dist_license_label, "footprint_dist_license_label");
00336 gtk_widget_show (footprint_dist_license_label);
00337 gtk_table_attach (GTK_TABLE (author_table), footprint_dist_license_label, 0, 1, 1, 2,
00338 (GtkAttachOptions) (GTK_FILL),
00339 (GtkAttachOptions) (0), 0, 0);
00340 gtk_misc_set_alignment (GTK_MISC (footprint_dist_license_label), 0, 0.5);
00341
00342 footprint_author_entry = gtk_entry_new ();
00343 gtk_widget_set_name (footprint_author_entry, "footprint_author_entry");
00344 gtk_widget_show (footprint_author_entry);
00345 gtk_table_attach (GTK_TABLE (author_table), footprint_author_entry, 1, 2, 0, 1,
00346 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00347 (GtkAttachOptions) (0), 0, 0);
00348 gtk_tooltips_set_tip (tooltips, footprint_author_entry, _("Type your name here"), NULL);
00349 gtk_entry_set_invisible_char (GTK_ENTRY (footprint_author_entry), 8226);
00350
00351 footprint_dist_license_entry = gtk_entry_new ();
00352 gtk_widget_set_name (footprint_dist_license_entry, "footprint_dist_license_entry");
00353 gtk_widget_show (footprint_dist_license_entry);
00354 gtk_table_attach (GTK_TABLE (author_table), footprint_dist_license_entry, 1, 2, 1, 2,
00355 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00356 (GtkAttachOptions) (0), 0, 0);
00357 gtk_tooltips_set_tip (tooltips, footprint_dist_license_entry, _("License under which you distribute the file"), NULL);
00358 gtk_entry_set_text (GTK_ENTRY (footprint_dist_license_entry), _("GPL"));
00359 gtk_entry_set_invisible_char (GTK_ENTRY (footprint_dist_license_entry), 8226);
00360
00361 footprint_use_license_entry = gtk_entry_new ();
00362 gtk_widget_set_name (footprint_use_license_entry, "footprint_use_license_entry");
00363 gtk_widget_show (footprint_use_license_entry);
00364 gtk_table_attach (GTK_TABLE (author_table), footprint_use_license_entry, 1, 2, 2, 3,
00365 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00366 (GtkAttachOptions) (0), 0, 0);
00367 gtk_tooltips_set_tip (tooltips, footprint_use_license_entry, _("Allowable usage"), NULL);
00368 gtk_entry_set_text (GTK_ENTRY (footprint_use_license_entry), _("unlimited"));
00369 gtk_entry_set_invisible_char (GTK_ENTRY (footprint_use_license_entry), 8226);
00370
00371 footprint_use_license_label = gtk_label_new (_("Use license"));
00372 gtk_widget_set_name (footprint_use_license_label, "footprint_use_license_label");
00373 gtk_widget_show (footprint_use_license_label);
00374 gtk_table_attach (GTK_TABLE (author_table), footprint_use_license_label, 0, 1, 2, 3,
00375 (GtkAttachOptions) (GTK_FILL),
00376 (GtkAttachOptions) (0), 0, 0);
00377 gtk_misc_set_alignment (GTK_MISC (footprint_use_license_label), 0, 0.5);
00378
00379 footprint_status_label = gtk_label_new (_("Status"));
00380 gtk_widget_set_name (footprint_status_label, "footprint_status_label");
00381 gtk_widget_show (footprint_status_label);
00382 gtk_table_attach (GTK_TABLE (author_table), footprint_status_label, 0, 1, 3, 4,
00383 (GtkAttachOptions) (GTK_FILL),
00384 (GtkAttachOptions) (0), 0, 0);
00385 gtk_misc_set_alignment (GTK_MISC (footprint_status_label), 0, 0.5);
00386
00387 footprint_status_entry = gtk_combo_box_entry_new_text ();
00388 gtk_widget_set_name (footprint_status_entry, "footprint_status_entry");
00389 gtk_widget_show (footprint_status_entry);
00390 gtk_table_attach (GTK_TABLE (author_table), footprint_status_entry, 1, 2, 3, 4,
00391 (GtkAttachOptions) (GTK_FILL),
00392 (GtkAttachOptions) (GTK_FILL), 0, 0);
00393 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_status_entry), "");
00394 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_status_entry), _("Experimental"));
00395 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_status_entry), _("Private (not published)"));
00396 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_status_entry), _("Public (released)"));
00397 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_status_entry), _("Stable (confirmed by peers)"));
00398
00399 author_frame_label = gtk_label_new (_("<b>Author</b>"));
00400 gtk_widget_set_name (author_frame_label, "author_frame_label");
00401 gtk_widget_show (author_frame_label);
00402 gtk_frame_set_label_widget (GTK_FRAME (author_frame), author_frame_label);
00403 gtk_label_set_use_markup (GTK_LABEL (author_frame_label), TRUE);
00404
00405 footprint_frame = gtk_frame_new (NULL);
00406 gtk_widget_set_name (footprint_frame, "footprint_frame");
00407 gtk_widget_show (footprint_frame);
00408 gtk_table_attach (GTK_TABLE (footprint_tab_table), footprint_frame, 0, 1, 0, 1,
00409 (GtkAttachOptions) (GTK_FILL),
00410 (GtkAttachOptions) (0), 0, 0);
00411 gtk_frame_set_shadow_type (GTK_FRAME (footprint_frame), GTK_SHADOW_NONE);
00412
00413 footprint_frame_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
00414 gtk_widget_set_name (footprint_frame_alignment, "footprint_frame_alignment");
00415 gtk_widget_show (footprint_frame_alignment);
00416 gtk_container_add (GTK_CONTAINER (footprint_frame), footprint_frame_alignment);
00417 gtk_alignment_set_padding (GTK_ALIGNMENT (footprint_frame_alignment), 0, 0, 12, 0);
00418
00419 footprint_table = gtk_table_new (11, 2, FALSE);
00420 gtk_widget_set_name (footprint_table, "footprint_table");
00421 gtk_widget_show (footprint_table);
00422 gtk_container_add (GTK_CONTAINER (footprint_frame_alignment), footprint_table);
00423
00424 footprint_units_label = gtk_label_new (_("Units"));
00425 gtk_widget_set_name (footprint_units_label, "footprint_units_label");
00426 gtk_widget_show (footprint_units_label);
00427 gtk_table_attach (GTK_TABLE (footprint_table), footprint_units_label, 0, 1, 2, 3,
00428 (GtkAttachOptions) (GTK_FILL),
00429 (GtkAttachOptions) (0), 0, 0);
00430 gtk_misc_set_alignment (GTK_MISC (footprint_units_label), 0, 0.5);
00431
00432 footprint_units_entry = gtk_combo_box_entry_new_text ();
00433 gtk_widget_set_name (footprint_units_entry, "footprint_units_entry");
00434 gtk_widget_show (footprint_units_entry);
00435 gtk_table_attach (GTK_TABLE (footprint_table), footprint_units_entry, 1, 2, 2, 3,
00436 (GtkAttachOptions) (GTK_FILL),
00437 (GtkAttachOptions) (GTK_FILL), 0, 0);
00438 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_units_entry), "");
00439 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_units_entry), _("mil"));
00440 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_units_entry), _("mil/100"));
00441 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_units_entry), _("mm"));
00442
00443 footprint_name_entry = gtk_entry_new ();
00444 gtk_widget_set_name (footprint_name_entry, "footprint_name_entry");
00445 gtk_widget_show (footprint_name_entry);
00446 gtk_table_attach (GTK_TABLE (footprint_table), footprint_name_entry, 1, 2, 1, 2,
00447 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00448 (GtkAttachOptions) (0), 0, 0);
00449 gtk_tooltips_set_tip (tooltips, footprint_name_entry, _("Type the name of the footprint here, no suffix please"), NULL);
00450 gtk_entry_set_invisible_char (GTK_ENTRY (footprint_name_entry), 8226);
00451
00452 footprint_type_entry = gtk_combo_box_entry_new_text ();
00453 gtk_widget_set_name (footprint_type_entry, "footprint_type_entry");
00454 gtk_widget_show (footprint_type_entry);
00455 gtk_table_attach (GTK_TABLE (footprint_table), footprint_type_entry, 1, 2, 0, 1,
00456 (GtkAttachOptions) (GTK_FILL),
00457 (GtkAttachOptions) (GTK_FILL), 0, 0);
00458 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), "");
00459 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("BGA"));
00460 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CAPA"));
00461 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CAPAE"));
00462 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CAPC"));
00463 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CAPM"));
00464 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CAPMP"));
00465 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CAPPR"));
00466 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CON_DIL"));
00467 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CON_DIP"));
00468 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CON_HDR"));
00469 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("CON_SIL"));
00470 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("DIL"));
00471 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("DIOM"));
00472 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("DIOMELF"));
00473 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("DIP"));
00474 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("DIPS"));
00475 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("DO"));
00476 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("INDC"));
00477 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("INDM"));
00478 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("INDP"));
00479 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("PGA"));
00480 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("PLCC"));
00481 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("QFN"));
00482 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("QFP"));
00483 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("RES"));
00484 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("RESC"));
00485 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("RESM"));
00486 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("RESMELF"));
00487 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("SIL"));
00488 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("SIP"));
00489 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("SO"));
00490 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("SOT"));
00491 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("TO"));
00492 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("TO92"));
00493 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("TO220"));
00494 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("TO220S"));
00495 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("TO220SW"));
00496 gtk_combo_box_append_text (GTK_COMBO_BOX (footprint_type_entry), _("TO220W"));
00497
00498 footprint_type_label = gtk_label_new (_("Type"));
00499 gtk_widget_set_name (footprint_type_label, "footprint_type_label");
00500 gtk_widget_show (footprint_type_label);
00501 gtk_table_attach (GTK_TABLE (footprint_table), footprint_type_label, 0, 1, 0, 1,
00502 (GtkAttachOptions) (GTK_FILL),
00503 (GtkAttachOptions) (0), 0, 0);
00504 gtk_misc_set_alignment (GTK_MISC (footprint_type_label), 0, 0.5);
00505
00506 footprint_name_label = gtk_label_new (_("Name"));
00507 gtk_widget_set_name (footprint_name_label, "footprint_name_label");
00508 gtk_widget_show (footprint_name_label);
00509 gtk_table_attach (GTK_TABLE (footprint_table), footprint_name_label, 0, 1, 1, 2,
00510 (GtkAttachOptions) (GTK_FILL),
00511 (GtkAttachOptions) (0), 0, 0);
00512 gtk_misc_set_alignment (GTK_MISC (footprint_name_label), 0, 0.5);
00513
00514 package_body_height_entry = gtk_entry_new ();
00515 gtk_widget_set_name (package_body_height_entry, "package_body_height_entry");
00516 gtk_widget_show (package_body_height_entry);
00517 gtk_table_attach (GTK_TABLE (footprint_table), package_body_height_entry, 1, 2, 7, 8,
00518 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00519 (GtkAttachOptions) (0), 0, 0);
00520 gtk_tooltips_set_tip (tooltips, package_body_height_entry, _("Type the height dimension of the package body here"), NULL);
00521 gtk_entry_set_invisible_char (GTK_ENTRY (package_body_height_entry), 8226);
00522
00523 package_body_height_label = gtk_label_new (_("Body height (Z) "));
00524 gtk_widget_set_name (package_body_height_label, "package_body_height_label");
00525 gtk_widget_show (package_body_height_label);
00526 gtk_table_attach (GTK_TABLE (footprint_table), package_body_height_label, 0, 1, 7, 8,
00527 (GtkAttachOptions) (GTK_FILL),
00528 (GtkAttachOptions) (0), 0, 0);
00529 gtk_misc_set_alignment (GTK_MISC (package_body_height_label), 0, 0.5);
00530
00531 package_body_width_label = gtk_label_new (_("Body width (Y)"));
00532 gtk_widget_set_name (package_body_width_label, "pacakge_body_width_label");
00533 gtk_widget_show (package_body_width_label);
00534 gtk_table_attach (GTK_TABLE (footprint_table), package_body_width_label, 0, 1, 6, 7,
00535 (GtkAttachOptions) (GTK_FILL),
00536 (GtkAttachOptions) (0), 0, 0);
00537 gtk_misc_set_alignment (GTK_MISC (package_body_width_label), 0, 0.5);
00538
00539 package_body_length_label = gtk_label_new (_("Body length (X)"));
00540 gtk_widget_set_name (package_body_length_label, "package_body_length_label");
00541 gtk_widget_show (package_body_length_label);
00542 gtk_table_attach (GTK_TABLE (footprint_table), package_body_length_label, 0, 1, 5, 6,
00543 (GtkAttachOptions) (GTK_FILL),
00544 (GtkAttachOptions) (0), 0, 0);
00545 gtk_misc_set_alignment (GTK_MISC (package_body_length_label), 0, 0.5);
00546
00547 footprint_value_label = gtk_label_new (_("Value"));
00548 gtk_widget_set_name (footprint_value_label, "footprint_value_label");
00549 gtk_widget_show (footprint_value_label);
00550 gtk_table_attach (GTK_TABLE (footprint_table), footprint_value_label, 0, 1, 4, 5,
00551 (GtkAttachOptions) (GTK_FILL),
00552 (GtkAttachOptions) (0), 0, 0);
00553 gtk_misc_set_alignment (GTK_MISC (footprint_value_label), 0, 0.5);
00554
00555 package_body_width_entry = gtk_entry_new ();
00556 gtk_widget_set_name (package_body_width_entry, "package_body_width_entry");
00557 gtk_widget_show (package_body_width_entry);
00558 gtk_table_attach (GTK_TABLE (footprint_table), package_body_width_entry, 1, 2, 6, 7,
00559 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00560 (GtkAttachOptions) (0), 0, 0);
00561 gtk_tooltips_set_tip (tooltips, package_body_width_entry, _("Type the width dimension of the package body here"), NULL);
00562 gtk_entry_set_invisible_char (GTK_ENTRY (package_body_width_entry), 8226);
00563
00564 package_body_length_entry = gtk_entry_new ();
00565 gtk_widget_set_name (package_body_length_entry, "package_body_length_entry");
00566 gtk_widget_show (package_body_length_entry);
00567 gtk_table_attach (GTK_TABLE (footprint_table), package_body_length_entry, 1, 2, 5, 6,
00568 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00569 (GtkAttachOptions) (0), 0, 0);
00570 gtk_tooltips_set_tip (tooltips, package_body_length_entry, _("Type the length dimension of the package body here"), NULL);
00571 gtk_entry_set_invisible_char (GTK_ENTRY (package_body_length_entry), 8226);
00572
00573 footprint_value_entry = gtk_entry_new ();
00574 gtk_widget_set_name (footprint_value_entry, "footprint_value_entry");
00575 gtk_widget_show (footprint_value_entry);
00576 gtk_table_attach (GTK_TABLE (footprint_table), footprint_value_entry, 1, 2, 4, 5,
00577 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00578 (GtkAttachOptions) (0), 0, 0);
00579 gtk_tooltips_set_tip (tooltips, footprint_value_entry, _("Type the value of the package here"), NULL);
00580 gtk_entry_set_invisible_char (GTK_ENTRY (footprint_value_entry), 8226);
00581
00582 footprint_refdes_label = gtk_label_new (_("Refdes prefix"));
00583 gtk_widget_set_name (footprint_refdes_label, "footprint_refdes_label");
00584 gtk_widget_show (footprint_refdes_label);
00585 gtk_table_attach (GTK_TABLE (footprint_table), footprint_refdes_label, 0, 1, 3, 4,
00586 (GtkAttachOptions) (GTK_FILL),
00587 (GtkAttachOptions) (0), 0, 0);
00588 gtk_misc_set_alignment (GTK_MISC (footprint_refdes_label), 0, 0.5);
00589
00590 footprint_refdes_entry = gtk_entry_new ();
00591 gtk_widget_set_name (footprint_refdes_entry, "footprint_refdes_entry");
00592 gtk_widget_show (footprint_refdes_entry);
00593 gtk_table_attach (GTK_TABLE (footprint_table), footprint_refdes_entry, 1, 2, 3, 4,
00594 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00595 (GtkAttachOptions) (0), 0, 0);
00596 gtk_tooltips_set_tip (tooltips, footprint_refdes_entry, _("Type a refdes prefix here, without the ? please"), NULL);
00597 gtk_entry_set_invisible_char (GTK_ENTRY (footprint_refdes_entry), 8226);
00598
00599 add_license_checkbutton = gtk_check_button_new_with_mnemonic (_("Add license to footprint"));
00600 gtk_widget_set_name (add_license_checkbutton, "add_license_checkbutton");
00601 gtk_widget_show (add_license_checkbutton);
00602 gtk_table_attach (GTK_TABLE (footprint_table), add_license_checkbutton, 0, 2, 9, 10,
00603 (GtkAttachOptions) (GTK_FILL),
00604 (GtkAttachOptions) (0), 0, 0);
00605 gtk_tooltips_set_tip (tooltips, add_license_checkbutton, _("Check to add a license text to the footprint."), NULL);
00606
00607 package_is_radial_checkbutton = gtk_check_button_new_with_mnemonic (_("Radial package "));
00608 gtk_widget_set_name (package_is_radial_checkbutton, "package_is_radial_checkbutton");
00609 gtk_widget_show (package_is_radial_checkbutton);
00610 gtk_table_attach (GTK_TABLE (footprint_table), package_is_radial_checkbutton, 0, 2, 8, 9,
00611 (GtkAttachOptions) (GTK_FILL),
00612 (GtkAttachOptions) (0), 0, 0);
00613 gtk_tooltips_set_tip (tooltips, package_is_radial_checkbutton, _("Check for a radial package"), NULL);
00614
00615 add_attribs_checkbutton = gtk_check_button_new_with_mnemonic (_("Add attributes to footprint"));
00616 gtk_widget_set_name (add_attribs_checkbutton, "add_attribs_checkbutton");
00617 gtk_widget_show (add_attribs_checkbutton);
00618 gtk_table_attach (GTK_TABLE (footprint_table), add_attribs_checkbutton, 0, 2, 10, 11,
00619 (GtkAttachOptions) (GTK_FILL),
00620 (GtkAttachOptions) (0), 0, 0);
00621 gtk_tooltips_set_tip (tooltips, add_attribs_checkbutton, _("Check to add attributes to the footprint."), NULL);
00622
00623 footprint_frame_label = gtk_label_new (_("<b>Footprint</b>"));
00624 gtk_widget_set_name (footprint_frame_label, "footprint_frame_label");
00625 gtk_widget_show (footprint_frame_label);
00626 gtk_frame_set_label_widget (GTK_FRAME (footprint_frame), footprint_frame_label);
00627 gtk_label_set_use_markup (GTK_LABEL (footprint_frame_label), TRUE);
00628
00629 footprint_tab_label = gtk_label_new (_("Footprint"));
00630 gtk_widget_set_name (footprint_tab_label, "footprint_tab_label");
00631 gtk_widget_show (footprint_tab_label);
00632 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 0), footprint_tab_label);
00633
00634 pins_pads_table = gtk_table_new (3, 1, FALSE);
00635 gtk_widget_set_name (pins_pads_table, "pins_pads_table");
00636 gtk_widget_show (pins_pads_table);
00637 gtk_container_add (GTK_CONTAINER (notebook), pins_pads_table);
00638 gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (notebook), pins_pads_table,
00639 FALSE, FALSE, GTK_PACK_START);
00640 gtk_container_set_border_width (GTK_CONTAINER (pins_pads_table), 5);
00641 gtk_table_set_row_spacings (GTK_TABLE (pins_pads_table), 10);
00642
00643 pads_frame = gtk_frame_new (NULL);
00644 gtk_widget_set_name (pads_frame, "pads_frame");
00645 gtk_widget_show (pads_frame);
00646 gtk_table_attach (GTK_TABLE (pins_pads_table), pads_frame, 0, 1, 2, 3,
00647 (GtkAttachOptions) (GTK_FILL),
00648 (GtkAttachOptions) (0), 0, 0);
00649 gtk_frame_set_shadow_type (GTK_FRAME (pads_frame), GTK_SHADOW_NONE);
00650
00651 pads_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
00652 gtk_widget_set_name (pads_alignment, "pads_alignment");
00653 gtk_widget_show (pads_alignment);
00654 gtk_container_add (GTK_CONTAINER (pads_frame), pads_alignment);
00655 gtk_alignment_set_padding (GTK_ALIGNMENT (pads_alignment), 0, 0, 12, 0);
00656
00657 pads_table = gtk_table_new (5, 2, FALSE);
00658 gtk_widget_set_name (pads_table, "pads_table");
00659 gtk_widget_show (pads_table);
00660 gtk_container_add (GTK_CONTAINER (pads_alignment), pads_table);
00661
00662 pad_solder_mask_clearance_label = gtk_label_new (_("Pad solder mask clearance "));
00663 gtk_widget_set_name (pad_solder_mask_clearance_label, "pad_solder_mask_clearance_label");
00664 gtk_widget_show (pad_solder_mask_clearance_label);
00665 gtk_table_attach (GTK_TABLE (pads_table), pad_solder_mask_clearance_label, 0, 1, 4, 5,
00666 (GtkAttachOptions) (GTK_FILL),
00667 (GtkAttachOptions) (0), 0, 0);
00668 gtk_misc_set_alignment (GTK_MISC (pad_solder_mask_clearance_label), 0, 0.5);
00669
00670 pad_solder_mask_clearance_entry = gtk_entry_new ();
00671 gtk_widget_set_name (pad_solder_mask_clearance_entry, "pad_solder_mask_clearance_entry");
00672 gtk_widget_show (pad_solder_mask_clearance_entry);
00673 gtk_table_attach (GTK_TABLE (pads_table), pad_solder_mask_clearance_entry, 1, 2, 4, 5,
00674 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00675 (GtkAttachOptions) (0), 0, 0);
00676 gtk_tooltips_set_tip (tooltips, pad_solder_mask_clearance_entry, _("Clearance distance with solder mask"), NULL);
00677 gtk_entry_set_invisible_char (GTK_ENTRY (pad_solder_mask_clearance_entry), 8226);
00678
00679 pad_clearance_label = gtk_label_new (_("Pad clearance"));
00680 gtk_widget_set_name (pad_clearance_label, "pad_clearance_label");
00681 gtk_widget_show (pad_clearance_label);
00682 gtk_table_attach (GTK_TABLE (pads_table), pad_clearance_label, 0, 1, 3, 4,
00683 (GtkAttachOptions) (GTK_FILL),
00684 (GtkAttachOptions) (0), 0, 0);
00685 gtk_misc_set_alignment (GTK_MISC (pad_clearance_label), 0, 0.5);
00686
00687 pad_width_label = gtk_label_new (_("Pad width (Y)"));
00688 gtk_widget_set_name (pad_width_label, "pad_width_label");
00689 gtk_widget_show (pad_width_label);
00690 gtk_table_attach (GTK_TABLE (pads_table), pad_width_label, 0, 1, 2, 3,
00691 (GtkAttachOptions) (GTK_FILL),
00692 (GtkAttachOptions) (0), 0, 0);
00693 gtk_misc_set_alignment (GTK_MISC (pad_width_label), 0, 0.5);
00694
00695 pad_length_label = gtk_label_new (_("Pad length (X) "));
00696 gtk_widget_set_name (pad_length_label, "pad_length_label");
00697 gtk_widget_show (pad_length_label);
00698 gtk_table_attach (GTK_TABLE (pads_table), pad_length_label, 0, 1, 1, 2,
00699 (GtkAttachOptions) (GTK_FILL),
00700 (GtkAttachOptions) (0), 0, 0);
00701 gtk_misc_set_alignment (GTK_MISC (pad_length_label), 0, 0.5);
00702
00703 pad_clearance_entry = gtk_entry_new ();
00704 gtk_widget_set_name (pad_clearance_entry, "pad_clearance_entry");
00705 gtk_widget_show (pad_clearance_entry);
00706 gtk_table_attach (GTK_TABLE (pads_table), pad_clearance_entry, 1, 2, 3, 4,
00707 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00708 (GtkAttachOptions) (0), 0, 0);
00709 gtk_tooltips_set_tip (tooltips, pad_clearance_entry, _("Clearance distance with polygons"), NULL);
00710 gtk_entry_set_invisible_char (GTK_ENTRY (pad_clearance_entry), 8226);
00711
00712 pad_width_entry = gtk_entry_new ();
00713 gtk_widget_set_name (pad_width_entry, "pad_width_entry");
00714 gtk_widget_show (pad_width_entry);
00715 gtk_table_attach (GTK_TABLE (pads_table), pad_width_entry, 1, 2, 2, 3,
00716 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00717 (GtkAttachOptions) (0), 0, 0);
00718 gtk_tooltips_set_tip (tooltips, pad_width_entry, _("Width of pads"), NULL);
00719 gtk_entry_set_invisible_char (GTK_ENTRY (pad_width_entry), 8226);
00720
00721 pad_length_entry = gtk_entry_new ();
00722 gtk_widget_set_name (pad_length_entry, "pad_length_entry");
00723 gtk_widget_show (pad_length_entry);
00724 gtk_table_attach (GTK_TABLE (pads_table), pad_length_entry, 1, 2, 1, 2,
00725 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00726 (GtkAttachOptions) (0), 0, 0);
00727 gtk_tooltips_set_tip (tooltips, pad_length_entry, _("Length of pads"), NULL);
00728 gtk_entry_set_invisible_char (GTK_ENTRY (pad_length_entry), 8226);
00729
00730 pad_shape_label = gtk_label_new (_("Pad shape"));
00731 gtk_widget_set_name (pad_shape_label, "pad_shape_label");
00732 gtk_widget_show (pad_shape_label);
00733 gtk_table_attach (GTK_TABLE (pads_table), pad_shape_label, 0, 1, 0, 1,
00734 (GtkAttachOptions) (GTK_FILL),
00735 (GtkAttachOptions) (0), 0, 0);
00736 gtk_misc_set_alignment (GTK_MISC (pad_shape_label), 0, 0.5);
00737
00738 pad_shape_entry = gtk_combo_box_entry_new_text ();
00739 gtk_widget_set_name (pad_shape_entry, "pad_shape_entry");
00740 gtk_widget_show (pad_shape_entry);
00741 gtk_table_attach (GTK_TABLE (pads_table), pad_shape_entry, 1, 2, 0, 1,
00742 (GtkAttachOptions) (GTK_FILL),
00743 (GtkAttachOptions) (GTK_FILL), 0, 0);
00744 gtk_combo_box_append_text (GTK_COMBO_BOX (pad_shape_entry), "");
00745 gtk_combo_box_append_text (GTK_COMBO_BOX (pad_shape_entry), _("circular pad"));
00746 gtk_combo_box_append_text (GTK_COMBO_BOX (pad_shape_entry), _("rectangular pad"));
00747 gtk_combo_box_append_text (GTK_COMBO_BOX (pad_shape_entry), _("octagonal pad"));
00748 gtk_combo_box_append_text (GTK_COMBO_BOX (pad_shape_entry), _("rounded pad, elongated"));
00749
00750 pads_label = gtk_label_new (_("<b>Pads</b>"));
00751 gtk_widget_set_name (pads_label, "pads_label");
00752 gtk_widget_show (pads_label);
00753 gtk_frame_set_label_widget (GTK_FRAME (pads_frame), pads_label);
00754 gtk_label_set_use_markup (GTK_LABEL (pads_label), TRUE);
00755
00756 pins_frame = gtk_frame_new (NULL);
00757 gtk_widget_set_name (pins_frame, "pins_frame");
00758 gtk_widget_show (pins_frame);
00759 gtk_table_attach (GTK_TABLE (pins_pads_table), pins_frame, 0, 1, 1, 2,
00760 (GtkAttachOptions) (GTK_FILL),
00761 (GtkAttachOptions) (0), 0, 0);
00762 gtk_frame_set_shadow_type (GTK_FRAME (pins_frame), GTK_SHADOW_NONE);
00763
00764 pins_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
00765 gtk_widget_set_name (pins_alignment, "pins_alignment");
00766 gtk_widget_show (pins_alignment);
00767 gtk_container_add (GTK_CONTAINER (pins_frame), pins_alignment);
00768 gtk_alignment_set_padding (GTK_ALIGNMENT (pins_alignment), 0, 0, 12, 0);
00769
00770 pins_table = gtk_table_new (3, 2, FALSE);
00771 gtk_widget_set_name (pins_table, "pins_table");
00772 gtk_widget_show (pins_table);
00773 gtk_container_add (GTK_CONTAINER (pins_alignment), pins_table);
00774
00775 pad_diameter_entry = gtk_entry_new ();
00776 gtk_widget_set_name (pad_diameter_entry, "pad_diameter_entry");
00777 gtk_widget_show (pad_diameter_entry);
00778 gtk_table_attach (GTK_TABLE (pins_table), pad_diameter_entry, 1, 2, 0, 1,
00779 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00780 (GtkAttachOptions) (0), 0, 0);
00781 gtk_tooltips_set_tip (tooltips, pad_diameter_entry, _("Diameter of pad for pins"), NULL);
00782 gtk_entry_set_invisible_char (GTK_ENTRY (pad_diameter_entry), 8226);
00783
00784 pin_drill_diameter_label = gtk_label_new (_("Pin drill diameter (d) "));
00785 gtk_widget_set_name (pin_drill_diameter_label, "pin_drill_diameter_label");
00786 gtk_widget_show (pin_drill_diameter_label);
00787 gtk_table_attach (GTK_TABLE (pins_table), pin_drill_diameter_label, 0, 1, 1, 2,
00788 (GtkAttachOptions) (GTK_FILL),
00789 (GtkAttachOptions) (0), 0, 0);
00790 gtk_misc_set_alignment (GTK_MISC (pin_drill_diameter_label), 0, 0.5);
00791
00792 pin_pad_diameter_label = gtk_label_new (_("Pin pad diameter (D) "));
00793 gtk_widget_set_name (pin_pad_diameter_label, "pin_pad_diameter_label");
00794 gtk_widget_show (pin_pad_diameter_label);
00795 gtk_table_attach (GTK_TABLE (pins_table), pin_pad_diameter_label, 0, 1, 0, 1,
00796 (GtkAttachOptions) (GTK_FILL),
00797 (GtkAttachOptions) (0), 0, 0);
00798 gtk_misc_set_alignment (GTK_MISC (pin_pad_diameter_label), 0, 0.5);
00799
00800 pin_square_checkbutton = gtk_check_button_new_with_mnemonic (_("Pin #1 square "));
00801 gtk_widget_set_name (pin_square_checkbutton, "pin_square_checkbutton");
00802 gtk_widget_show (pin_square_checkbutton);
00803 gtk_table_attach (GTK_TABLE (pins_table), pin_square_checkbutton, 0, 1, 2, 3,
00804 (GtkAttachOptions) (GTK_FILL),
00805 (GtkAttachOptions) (0), 0, 0);
00806 gtk_tooltips_set_tip (tooltips, pin_square_checkbutton, _("Check to draw square pin #1"), NULL);
00807
00808 pin_drill_diameter_entry = gtk_entry_new ();
00809 gtk_widget_set_name (pin_drill_diameter_entry, "pin_drill_diameter_entry");
00810 gtk_widget_show (pin_drill_diameter_entry);
00811 gtk_table_attach (GTK_TABLE (pins_table), pin_drill_diameter_entry, 1, 2, 1, 2,
00812 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00813 (GtkAttachOptions) (0), 0, 0);
00814 gtk_widget_set_size_request (pin_drill_diameter_entry, 158, -1);
00815 gtk_tooltips_set_tip (tooltips, pin_drill_diameter_entry, _("Diameter of drill hole for pins"), NULL);
00816 gtk_entry_set_invisible_char (GTK_ENTRY (pin_drill_diameter_entry), 8226);
00817
00818 pins_label = gtk_label_new (_("<b>Pins</b>"));
00819 gtk_widget_set_name (pins_label, "pins_label");
00820 gtk_widget_show (pins_label);
00821 gtk_frame_set_label_widget (GTK_FRAME (pins_frame), pins_label);
00822 gtk_label_set_use_markup (GTK_LABEL (pins_label), TRUE);
00823
00824 pins_pads_pattern_frame = gtk_frame_new (NULL);
00825 gtk_widget_set_name (pins_pads_pattern_frame, "pins_pads_pattern_frame");
00826 gtk_widget_show (pins_pads_pattern_frame);
00827 gtk_table_attach (GTK_TABLE (pins_pads_table), pins_pads_pattern_frame, 0, 1, 0, 1,
00828 (GtkAttachOptions) (GTK_FILL),
00829 (GtkAttachOptions) (0), 0, 0);
00830 gtk_frame_set_shadow_type (GTK_FRAME (pins_pads_pattern_frame), GTK_SHADOW_NONE);
00831
00832 pins_pads_pattern_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
00833 gtk_widget_set_name (pins_pads_pattern_alignment, "pins_pads_pattern_alignment");
00834 gtk_widget_show (pins_pads_pattern_alignment);
00835 gtk_container_add (GTK_CONTAINER (pins_pads_pattern_frame), pins_pads_pattern_alignment);
00836 gtk_alignment_set_padding (GTK_ALIGNMENT (pins_pads_pattern_alignment), 0, 0, 12, 0);
00837
00838 pins_pads_pattern_table = gtk_table_new (9, 2, FALSE);
00839 gtk_widget_set_name (pins_pads_pattern_table, "pins_pads_pattern_table");
00840 gtk_widget_show (pins_pads_pattern_table);
00841 gtk_container_add (GTK_CONTAINER (pins_pads_pattern_alignment), pins_pads_pattern_table);
00842
00843 total_pins_and_pads_label = gtk_label_new (_("Total pins and pads "));
00844 gtk_widget_set_name (total_pins_and_pads_label, "total_pins_and_pads_label");
00845 gtk_widget_show (total_pins_and_pads_label);
00846 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), total_pins_and_pads_label, 0, 1, 0, 1,
00847 (GtkAttachOptions) (GTK_FILL),
00848 (GtkAttachOptions) (0), 0, 0);
00849 gtk_misc_set_alignment (GTK_MISC (total_pins_and_pads_label), 0, 0.5);
00850
00851 pitch_x_label = gtk_label_new (_("Pitch X-direction"));
00852 gtk_widget_set_name (pitch_x_label, "pitch_x_label");
00853 gtk_widget_show (pitch_x_label);
00854 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), pitch_x_label, 0, 1, 3, 4,
00855 (GtkAttachOptions) (GTK_FILL),
00856 (GtkAttachOptions) (0), 0, 0);
00857 gtk_misc_set_alignment (GTK_MISC (pitch_x_label), 0, 0.5);
00858
00859 pitch_y_label = gtk_label_new (_("Pitch Y-direction"));
00860 gtk_widget_set_name (pitch_y_label, "pitch_y_label");
00861 gtk_widget_show (pitch_y_label);
00862 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), pitch_y_label, 0, 1, 4, 5,
00863 (GtkAttachOptions) (GTK_FILL),
00864 (GtkAttachOptions) (0), 0, 0);
00865 gtk_misc_set_alignment (GTK_MISC (pitch_y_label), 0, 0.5);
00866
00867 number_total_pins_entry = gtk_entry_new ();
00868 gtk_widget_set_name (number_total_pins_entry, "number_total_pins_entry");
00869 gtk_widget_show (number_total_pins_entry);
00870 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), number_total_pins_entry, 1, 2, 0, 1,
00871 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00872 (GtkAttachOptions) (0), 0, 0);
00873 gtk_tooltips_set_tip (tooltips, number_total_pins_entry, _("Total number of pins and pads"), NULL);
00874 gtk_entry_set_invisible_char (GTK_ENTRY (number_total_pins_entry), 8226);
00875
00876 pitch_x_entry = gtk_entry_new ();
00877 gtk_widget_set_name (pitch_x_entry, "pitch_x_entry");
00878 gtk_widget_show (pitch_x_entry);
00879 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), pitch_x_entry, 1, 2, 3, 4,
00880 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00881 (GtkAttachOptions) (0), 0, 0);
00882 gtk_tooltips_set_tip (tooltips, pitch_x_entry, _("Horizontal pin/pad pitch"), NULL);
00883 gtk_entry_set_invisible_char (GTK_ENTRY (pitch_x_entry), 8226);
00884
00885 pitch_y_entry = gtk_entry_new ();
00886 gtk_widget_set_name (pitch_y_entry, "pitch_y_entry");
00887 gtk_widget_show (pitch_y_entry);
00888 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), pitch_y_entry, 1, 2, 4, 5,
00889 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00890 (GtkAttachOptions) (0), 0, 0);
00891 gtk_tooltips_set_tip (tooltips, pitch_y_entry, _("Vertical pin/pad pitch"), NULL);
00892 gtk_entry_set_invisible_char (GTK_ENTRY (pitch_y_entry), 8226);
00893
00894 label1 = gtk_label_new (_("Count X-direction"));
00895 gtk_widget_set_name (label1, "label1");
00896 gtk_widget_show (label1);
00897 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), label1, 0, 1, 5, 6,
00898 (GtkAttachOptions) (GTK_FILL),
00899 (GtkAttachOptions) (0), 0, 0);
00900 gtk_misc_set_alignment (GTK_MISC (label1), 0, 0.5);
00901
00902 label2 = gtk_label_new (_("Count Y-direction"));
00903 gtk_widget_set_name (label2, "label2");
00904 gtk_widget_show (label2);
00905 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), label2, 0, 1, 6, 7,
00906 (GtkAttachOptions) (GTK_FILL),
00907 (GtkAttachOptions) (0), 0, 0);
00908 gtk_misc_set_alignment (GTK_MISC (label2), 0, 0.5);
00909
00910 count_x_entry = gtk_entry_new ();
00911 gtk_widget_set_name (count_x_entry, "count_x_entry");
00912 gtk_widget_show (count_x_entry);
00913 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), count_x_entry, 1, 2, 5, 6,
00914 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00915 (GtkAttachOptions) (0), 0, 0);
00916 gtk_tooltips_set_tip (tooltips, count_x_entry, _("Number of horizontal pin/pads"), NULL);
00917 gtk_entry_set_invisible_char (GTK_ENTRY (count_x_entry), 8226);
00918
00919 count_y_entry = gtk_entry_new ();
00920 gtk_widget_set_name (count_y_entry, "count_y_entry");
00921 gtk_widget_show (count_y_entry);
00922 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), count_y_entry, 1, 2, 6, 7,
00923 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00924 (GtkAttachOptions) (0), 0, 0);
00925 gtk_tooltips_set_tip (tooltips, count_y_entry, _("Number of vertical pin/pads"), NULL);
00926 gtk_entry_set_invisible_char (GTK_ENTRY (count_y_entry), 8226);
00927
00928 number_1_position_label = gtk_label_new (_("Pin/pad #1 position "));
00929 gtk_widget_set_name (number_1_position_label, "number_1_position_label");
00930 gtk_widget_show (number_1_position_label);
00931 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), number_1_position_label, 0, 1, 7, 8,
00932 (GtkAttachOptions) (GTK_FILL),
00933 (GtkAttachOptions) (0), 0, 0);
00934 gtk_misc_set_alignment (GTK_MISC (number_1_position_label), 0, 0.5);
00935
00936 number_1_position_entry = gtk_combo_box_entry_new_text ();
00937 gtk_widget_set_name (number_1_position_entry, "number_1_position_entry");
00938 gtk_widget_show (number_1_position_entry);
00939 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), number_1_position_entry, 1, 2, 7, 8,
00940 (GtkAttachOptions) (GTK_FILL),
00941 (GtkAttachOptions) (GTK_FILL), 0, 0);
00942 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), "");
00943 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Upper left"));
00944 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Middle left"));
00945 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Lower left"));
00946 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Upper middle"));
00947 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Middle middle"));
00948 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Lower middle"));
00949 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Upper right"));
00950 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Middle right"));
00951 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _("Lower right"));
00952 gtk_combo_box_append_text (GTK_COMBO_BOX (number_1_position_entry), _(" "));
00953
00954 number_of_columns_label = gtk_label_new (_("Columns"));
00955 gtk_widget_set_name (number_of_columns_label, "number_of_columns_label");
00956 gtk_widget_show (number_of_columns_label);
00957 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), number_of_columns_label, 0, 1, 1, 2,
00958 (GtkAttachOptions) (GTK_FILL),
00959 (GtkAttachOptions) (0), 0, 0);
00960 gtk_misc_set_alignment (GTK_MISC (number_of_columns_label), 0, 0.5);
00961
00962 number_of_columns_entry = gtk_entry_new ();
00963 gtk_widget_set_name (number_of_columns_entry, "number_of_columns_entry");
00964 gtk_widget_show (number_of_columns_entry);
00965 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), number_of_columns_entry, 1, 2, 1, 2,
00966 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00967 (GtkAttachOptions) (0), 0, 0);
00968 gtk_tooltips_set_tip (tooltips, number_of_columns_entry, _("Number of columns"), NULL);
00969 gtk_entry_set_invisible_char (GTK_ENTRY (number_of_columns_entry), 8226);
00970
00971 number_of_rows_label = gtk_label_new (_("Rows"));
00972 gtk_widget_set_name (number_of_rows_label, "number_of_rows_label");
00973 gtk_widget_show (number_of_rows_label);
00974 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), number_of_rows_label, 0, 1, 2, 3,
00975 (GtkAttachOptions) (GTK_FILL),
00976 (GtkAttachOptions) (0), 0, 0);
00977 gtk_misc_set_alignment (GTK_MISC (number_of_rows_label), 0, 0.5);
00978
00979 number_of_rows_entry = gtk_entry_new ();
00980 gtk_widget_set_name (number_of_rows_entry, "number_of_rows_entry");
00981 gtk_widget_show (number_of_rows_entry);
00982 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), number_of_rows_entry, 1, 2, 2, 3,
00983 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00984 (GtkAttachOptions) (0), 0, 0);
00985 gtk_tooltips_set_tip (tooltips, number_of_rows_entry, _("Number of rows"), NULL);
00986 gtk_entry_set_invisible_char (GTK_ENTRY (number_of_rows_entry), 8226);
00987
00988 pin_pad_exceptions_entry = gtk_entry_new ();
00989 gtk_widget_set_name (pin_pad_exceptions_entry, "pin_pad_exceptions_entry");
00990 gtk_widget_show (pin_pad_exceptions_entry);
00991 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), pin_pad_exceptions_entry, 1, 2, 8, 9,
00992 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
00993 (GtkAttachOptions) (0), 0, 0);
00994 gtk_tooltips_set_tip (tooltips, pin_pad_exceptions_entry, _("Enter non-existing pins or pads here"), NULL);
00995 gtk_entry_set_invisible_char (GTK_ENTRY (pin_pad_exceptions_entry), 8226);
00996
00997 pin_pad_exceptions_button = gtk_button_new_with_mnemonic (_("Pin/Pad exceptions"));
00998 gtk_widget_set_name (pin_pad_exceptions_button, "pin_pad_exceptions_button");
00999 gtk_widget_show (pin_pad_exceptions_button);
01000 gtk_table_attach (GTK_TABLE (pins_pads_pattern_table), pin_pad_exceptions_button, 0, 1, 8, 9,
01001 (GtkAttachOptions) (GTK_FILL),
01002 (GtkAttachOptions) (0), 0, 0);
01003 gtk_tooltips_set_tip (tooltips, pin_pad_exceptions_button, _("Click to select pin/pad exceptions"), NULL);
01004
01005 pins_pads_pattern_label = gtk_label_new (_("<b>Pattern</b>"));
01006 gtk_widget_set_name (pins_pads_pattern_label, "pins_pads_pattern_label");
01007 gtk_widget_show (pins_pads_pattern_label);
01008 gtk_frame_set_label_widget (GTK_FRAME (pins_pads_pattern_frame), pins_pads_pattern_label);
01009 gtk_label_set_use_markup (GTK_LABEL (pins_pads_pattern_label), TRUE);
01010
01011 pins_pads_tab_tab_label = gtk_label_new (_("Pins/Pads"));
01012 gtk_widget_set_name (pins_pads_tab_tab_label, "pins_pads_tab_tab_label");
01013 gtk_widget_show (pins_pads_tab_tab_label);
01014 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 1), pins_pads_tab_tab_label);
01015
01016 silkscreen_table = gtk_table_new (2, 1, FALSE);
01017 gtk_widget_set_name (silkscreen_table, "silkscreen_table");
01018 gtk_widget_show (silkscreen_table);
01019 gtk_container_add (GTK_CONTAINER (notebook), silkscreen_table);
01020 gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (notebook), silkscreen_table,
01021 FALSE, FALSE, GTK_PACK_START);
01022 gtk_container_set_border_width (GTK_CONTAINER (silkscreen_table), 5);
01023 gtk_table_set_row_spacings (GTK_TABLE (silkscreen_table), 10);
01024
01025 courtyard_frame = gtk_frame_new (NULL);
01026 gtk_widget_set_name (courtyard_frame, "courtyard_frame");
01027 gtk_widget_show (courtyard_frame);
01028 gtk_table_attach (GTK_TABLE (silkscreen_table), courtyard_frame, 0, 1, 1, 2,
01029 (GtkAttachOptions) (GTK_FILL),
01030 (GtkAttachOptions) (0), 0, 0);
01031 gtk_frame_set_shadow_type (GTK_FRAME (courtyard_frame), GTK_SHADOW_NONE);
01032
01033 courtyard_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
01034 gtk_widget_set_name (courtyard_alignment, "courtyard_alignment");
01035 gtk_widget_show (courtyard_alignment);
01036 gtk_container_add (GTK_CONTAINER (courtyard_frame), courtyard_alignment);
01037 gtk_alignment_set_padding (GTK_ALIGNMENT (courtyard_alignment), 0, 0, 12, 0);
01038
01039 courtyard_table = gtk_table_new (5, 2, FALSE);
01040 gtk_widget_set_name (courtyard_table, "courtyard_table");
01041 gtk_widget_show (courtyard_table);
01042 gtk_container_add (GTK_CONTAINER (courtyard_alignment), courtyard_table);
01043
01044 courtyard_checkbutton = gtk_check_button_new_with_mnemonic (_("Print courtyard "));
01045 gtk_widget_set_name (courtyard_checkbutton, "courtyard_checkbutton");
01046 gtk_widget_show (courtyard_checkbutton);
01047 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_checkbutton, 0, 1, 0, 1,
01048 (GtkAttachOptions) (GTK_FILL),
01049 (GtkAttachOptions) (0), 0, 0);
01050 gtk_tooltips_set_tip (tooltips, courtyard_checkbutton, _("Check to draw a courtyard (keepout)"), NULL);
01051
01052 courtyard_width_label = gtk_label_new (_("Width (Y)"));
01053 gtk_widget_set_name (courtyard_width_label, "courtyard_width_label");
01054 gtk_widget_show (courtyard_width_label);
01055 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_width_label, 0, 1, 2, 3,
01056 (GtkAttachOptions) (GTK_FILL),
01057 (GtkAttachOptions) (0), 0, 0);
01058 gtk_misc_set_alignment (GTK_MISC (courtyard_width_label), 0, 0.5);
01059
01060 courtyard_length_label = gtk_label_new (_("Length or diameter (X) "));
01061 gtk_widget_set_name (courtyard_length_label, "courtyard_length_label");
01062 gtk_widget_show (courtyard_length_label);
01063 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_length_label, 0, 1, 1, 2,
01064 (GtkAttachOptions) (GTK_FILL),
01065 (GtkAttachOptions) (0), 0, 0);
01066 gtk_misc_set_alignment (GTK_MISC (courtyard_length_label), 0, 0.5);
01067
01068 courtyard_length_entry = gtk_entry_new ();
01069 gtk_widget_set_name (courtyard_length_entry, "courtyard_length_entry");
01070 gtk_widget_show (courtyard_length_entry);
01071 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_length_entry, 1, 2, 1, 2,
01072 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01073 (GtkAttachOptions) (0), 0, 0);
01074 gtk_tooltips_set_tip (tooltips, courtyard_length_entry, _("Length of courtyard"), NULL);
01075 gtk_entry_set_invisible_char (GTK_ENTRY (courtyard_length_entry), 8226);
01076
01077 courtyard_width_entry = gtk_entry_new ();
01078 gtk_widget_set_name (courtyard_width_entry, "courtyard_width_entry");
01079 gtk_widget_show (courtyard_width_entry);
01080 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_width_entry, 1, 2, 2, 3,
01081 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01082 (GtkAttachOptions) (0), 0, 0);
01083 gtk_tooltips_set_tip (tooltips, courtyard_width_entry, _("Width of courtyard"), NULL);
01084 gtk_entry_set_invisible_char (GTK_ENTRY (courtyard_width_entry), 8226);
01085
01086 courtyard_line_width_label = gtk_label_new (_("Line width"));
01087 gtk_widget_set_name (courtyard_line_width_label, "courtyard_line_width_label");
01088 gtk_widget_show (courtyard_line_width_label);
01089 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_line_width_label, 0, 1, 3, 4,
01090 (GtkAttachOptions) (GTK_FILL),
01091 (GtkAttachOptions) (0), 0, 0);
01092 gtk_misc_set_alignment (GTK_MISC (courtyard_line_width_label), 0, 0.5);
01093
01094 courtyard_line_width_entry = gtk_entry_new ();
01095 gtk_widget_set_name (courtyard_line_width_entry, "courtyard_line_width_entry");
01096 gtk_widget_show (courtyard_line_width_entry);
01097 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_line_width_entry, 1, 2, 3, 4,
01098 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01099 (GtkAttachOptions) (0), 0, 0);
01100 gtk_tooltips_set_tip (tooltips, courtyard_line_width_entry, _("Line width for courtyard"), NULL);
01101 gtk_entry_set_invisible_char (GTK_ENTRY (courtyard_line_width_entry), 8226);
01102
01103 courtyard_clearance_with_package_label = gtk_label_new (_("Clearance with package "));
01104 gtk_widget_set_name (courtyard_clearance_with_package_label, "courtyard_clearance_with_package_label");
01105 gtk_widget_show (courtyard_clearance_with_package_label);
01106 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_clearance_with_package_label, 0, 1, 4, 5,
01107 (GtkAttachOptions) (GTK_FILL),
01108 (GtkAttachOptions) (0), 0, 0);
01109 gtk_misc_set_alignment (GTK_MISC (courtyard_clearance_with_package_label), 0, 0.5);
01110
01111 courtyard_clearance_with_package_entry = gtk_entry_new ();
01112 gtk_widget_set_name (courtyard_clearance_with_package_entry, "courtyard_clearance_with_package_entry");
01113 gtk_widget_show (courtyard_clearance_with_package_entry);
01114 gtk_table_attach (GTK_TABLE (courtyard_table), courtyard_clearance_with_package_entry, 1, 2, 4, 5,
01115 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01116 (GtkAttachOptions) (0), 0, 0);
01117 gtk_tooltips_set_tip (tooltips, courtyard_clearance_with_package_entry, _("Clearance distance with package"), NULL);
01118 gtk_entry_set_invisible_char (GTK_ENTRY (courtyard_clearance_with_package_entry), 8226);
01119
01120 courtyard_label = gtk_label_new (_("<b>Courtyard</b>"));
01121 gtk_widget_set_name (courtyard_label, "courtyard_label");
01122 gtk_widget_show (courtyard_label);
01123 gtk_frame_set_label_widget (GTK_FRAME (courtyard_frame), courtyard_label);
01124 gtk_label_set_use_markup (GTK_LABEL (courtyard_label), TRUE);
01125
01126 package_frame = gtk_frame_new (NULL);
01127 gtk_widget_set_name (package_frame, "package_frame");
01128 gtk_widget_show (package_frame);
01129 gtk_table_attach (GTK_TABLE (silkscreen_table), package_frame, 0, 1, 0, 1,
01130 (GtkAttachOptions) (GTK_FILL),
01131 (GtkAttachOptions) (0), 0, 0);
01132 gtk_frame_set_shadow_type (GTK_FRAME (package_frame), GTK_SHADOW_NONE);
01133
01134 package_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
01135 gtk_widget_set_name (package_alignment, "package_alignment");
01136 gtk_widget_show (package_alignment);
01137 gtk_container_add (GTK_CONTAINER (package_frame), package_alignment);
01138 gtk_alignment_set_padding (GTK_ALIGNMENT (package_alignment), 0, 0, 12, 0);
01139
01140 package_table = gtk_table_new (2, 2, FALSE);
01141 gtk_widget_set_name (package_table, "package_table");
01142 gtk_widget_show (package_table);
01143 gtk_container_add (GTK_CONTAINER (package_alignment), package_table);
01144
01145 silkscreen_package_outline_checkbutton = gtk_check_button_new_with_mnemonic (_("Print package outline "));
01146 gtk_widget_set_name (silkscreen_package_outline_checkbutton, "silkscreen_package_outline_checkbutton");
01147 gtk_widget_show (silkscreen_package_outline_checkbutton);
01148 gtk_table_attach (GTK_TABLE (package_table), silkscreen_package_outline_checkbutton, 0, 1, 0, 1,
01149 (GtkAttachOptions) (GTK_FILL),
01150 (GtkAttachOptions) (0), 0, 0);
01151 gtk_tooltips_set_tip (tooltips, silkscreen_package_outline_checkbutton, _("Check to draw package outline"), NULL);
01152
01153 silkscreen_indicate_1_checkbutton = gtk_check_button_new_with_mnemonic (_("Pin/Pad #1 indicator "));
01154 gtk_widget_set_name (silkscreen_indicate_1_checkbutton, "silkscreen_indicate_1_checkbutton");
01155 gtk_widget_show (silkscreen_indicate_1_checkbutton);
01156 gtk_table_attach (GTK_TABLE (package_table), silkscreen_indicate_1_checkbutton, 1, 2, 0, 1,
01157 (GtkAttachOptions) (GTK_FILL),
01158 (GtkAttachOptions) (0), 0, 0);
01159 gtk_tooltips_set_tip (tooltips, silkscreen_indicate_1_checkbutton, _("Check to draw indicator for pin/pad #1"), NULL);
01160
01161 silkscreen_line_width_label = gtk_label_new (_("Line width"));
01162 gtk_widget_set_name (silkscreen_line_width_label, "silkscreen_line_width_label");
01163 gtk_widget_show (silkscreen_line_width_label);
01164 gtk_table_attach (GTK_TABLE (package_table), silkscreen_line_width_label, 0, 1, 1, 2,
01165 (GtkAttachOptions) (GTK_FILL),
01166 (GtkAttachOptions) (0), 0, 0);
01167 gtk_misc_set_alignment (GTK_MISC (silkscreen_line_width_label), 0, 0.5);
01168
01169 silkscreen_line_width_entry = gtk_entry_new ();
01170 gtk_widget_set_name (silkscreen_line_width_entry, "silkscreen_line_width_entry");
01171 gtk_widget_show (silkscreen_line_width_entry);
01172 gtk_table_attach (GTK_TABLE (package_table), silkscreen_line_width_entry, 1, 2, 1, 2,
01173 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01174 (GtkAttachOptions) (0), 0, 0);
01175 gtk_tooltips_set_tip (tooltips, silkscreen_line_width_entry, _("Line width for silkscreen"), NULL);
01176 gtk_entry_set_invisible_char (GTK_ENTRY (silkscreen_line_width_entry), 8226);
01177
01178 package_label = gtk_label_new (_("<b>Package</b>"));
01179 gtk_widget_set_name (package_label, "package_label");
01180 gtk_widget_show (package_label);
01181 gtk_frame_set_label_widget (GTK_FRAME (package_frame), package_label);
01182 gtk_label_set_use_markup (GTK_LABEL (package_label), TRUE);
01183
01184 silkscreen_tab_label = gtk_label_new (_("Silkscreen"));
01185 gtk_widget_set_name (silkscreen_tab_label, "silkscreen_tab_label");
01186 gtk_widget_show (silkscreen_tab_label);
01187 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 2), silkscreen_tab_label);
01188
01189 thermal_table = gtk_table_new (2, 1, FALSE);
01190 gtk_widget_set_name (thermal_table, "thermal_table");
01191 gtk_widget_show (thermal_table);
01192 gtk_container_add (GTK_CONTAINER (notebook), thermal_table);
01193 gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (notebook), thermal_table,
01194 FALSE, FALSE, GTK_PACK_START);
01195 gtk_container_set_border_width (GTK_CONTAINER (thermal_table), 5);
01196 gtk_table_set_row_spacings (GTK_TABLE (thermal_table), 10);
01197
01198 thermal_pad_frame = gtk_frame_new (NULL);
01199 gtk_widget_set_name (thermal_pad_frame, "thermal_pad_frame");
01200 gtk_widget_show (thermal_pad_frame);
01201 gtk_table_attach (GTK_TABLE (thermal_table), thermal_pad_frame, 0, 1, 0, 1,
01202 (GtkAttachOptions) (GTK_FILL),
01203 (GtkAttachOptions) (0), 0, 0);
01204 gtk_frame_set_shadow_type (GTK_FRAME (thermal_pad_frame), GTK_SHADOW_NONE);
01205
01206 thermal_pad_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
01207 gtk_widget_set_name (thermal_pad_alignment, "thermal_pad_alignment");
01208 gtk_widget_show (thermal_pad_alignment);
01209 gtk_container_add (GTK_CONTAINER (thermal_pad_frame), thermal_pad_alignment);
01210 gtk_alignment_set_padding (GTK_ALIGNMENT (thermal_pad_alignment), 0, 0, 12, 0);
01211
01212 thermal_pad_table = gtk_table_new (5, 2, FALSE);
01213 gtk_widget_set_name (thermal_pad_table, "thermal_pad_table");
01214 gtk_widget_show (thermal_pad_table);
01215 gtk_container_add (GTK_CONTAINER (thermal_pad_alignment), thermal_pad_table);
01216
01217 thermal_checkbutton = gtk_check_button_new_with_mnemonic (_("Thermal pad"));
01218 gtk_widget_set_name (thermal_checkbutton, "thermal_checkbutton");
01219 gtk_widget_show (thermal_checkbutton);
01220 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_checkbutton, 0, 1, 0, 1,
01221 (GtkAttachOptions) (GTK_FILL),
01222 (GtkAttachOptions) (0), 0, 0);
01223 gtk_tooltips_set_tip (tooltips, thermal_checkbutton, _("Check for a thermal pad"), NULL);
01224
01225 thermal_pad_length_label = gtk_label_new (_("Pad length (X)"));
01226 gtk_widget_set_name (thermal_pad_length_label, "thermal_pad_length_label");
01227 gtk_widget_show (thermal_pad_length_label);
01228 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_pad_length_label, 0, 1, 1, 2,
01229 (GtkAttachOptions) (GTK_FILL),
01230 (GtkAttachOptions) (0), 0, 0);
01231 gtk_misc_set_alignment (GTK_MISC (thermal_pad_length_label), 0, 0.5);
01232
01233 thermal_pad_width_label = gtk_label_new (_("Pad width (Y)"));
01234 gtk_widget_set_name (thermal_pad_width_label, "thermal_pad_width_label");
01235 gtk_widget_show (thermal_pad_width_label);
01236 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_pad_width_label, 0, 1, 2, 3,
01237 (GtkAttachOptions) (GTK_FILL),
01238 (GtkAttachOptions) (0), 0, 0);
01239 gtk_misc_set_alignment (GTK_MISC (thermal_pad_width_label), 0, 0.5);
01240
01241 thermal_width_entry = gtk_entry_new ();
01242 gtk_widget_set_name (thermal_width_entry, "thermal_width_entry");
01243 gtk_widget_show (thermal_width_entry);
01244 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_width_entry, 1, 2, 2, 3,
01245 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01246 (GtkAttachOptions) (0), 0, 0);
01247 gtk_tooltips_set_tip (tooltips, thermal_width_entry, _("Width of thermal pad"), NULL);
01248 gtk_entry_set_invisible_char (GTK_ENTRY (thermal_width_entry), 8226);
01249
01250 thermal_length_entry = gtk_entry_new ();
01251 gtk_widget_set_name (thermal_length_entry, "thermal_length_entry");
01252 gtk_widget_show (thermal_length_entry);
01253 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_length_entry, 1, 2, 1, 2,
01254 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01255 (GtkAttachOptions) (0), 0, 0);
01256 gtk_tooltips_set_tip (tooltips, thermal_length_entry, _("Length of thermal pad"), NULL);
01257 gtk_entry_set_invisible_char (GTK_ENTRY (thermal_length_entry), 8226);
01258
01259 thermal_nopaste_checkbutton = gtk_check_button_new_with_mnemonic (_("No paste on pad"));
01260 gtk_widget_set_name (thermal_nopaste_checkbutton, "thermal_nopaste_checkbutton");
01261 gtk_widget_show (thermal_nopaste_checkbutton);
01262 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_nopaste_checkbutton, 1, 2, 0, 1,
01263 (GtkAttachOptions) (GTK_FILL),
01264 (GtkAttachOptions) (0), 0, 0);
01265 gtk_tooltips_set_tip (tooltips, thermal_nopaste_checkbutton, _("Check for no paste on pad"), NULL);
01266
01267 thermal_pad_solder_mask_clearance_label = gtk_label_new (_("Pad solder mask clearance "));
01268 gtk_widget_set_name (thermal_pad_solder_mask_clearance_label, "thermal_pad_solder_mask_clearance_label");
01269 gtk_widget_show (thermal_pad_solder_mask_clearance_label);
01270 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_pad_solder_mask_clearance_label, 0, 1, 4, 5,
01271 (GtkAttachOptions) (GTK_FILL),
01272 (GtkAttachOptions) (0), 0, 0);
01273 gtk_misc_set_alignment (GTK_MISC (thermal_pad_solder_mask_clearance_label), 0, 0.5);
01274
01275 thermal_pad_clearance_label = gtk_label_new (_("Pad Clearance "));
01276 gtk_widget_set_name (thermal_pad_clearance_label, "thermal_pad_clearance_label");
01277 gtk_widget_show (thermal_pad_clearance_label);
01278 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_pad_clearance_label, 0, 1, 3, 4,
01279 (GtkAttachOptions) (GTK_FILL),
01280 (GtkAttachOptions) (0), 0, 0);
01281 gtk_misc_set_alignment (GTK_MISC (thermal_pad_clearance_label), 0, 0.5);
01282
01283 thermal_solder_mask_clearance_entry = gtk_entry_new ();
01284 gtk_widget_set_name (thermal_solder_mask_clearance_entry, "thermal_solder_mask_clearance_entry");
01285 gtk_widget_show (thermal_solder_mask_clearance_entry);
01286 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_solder_mask_clearance_entry, 1, 2, 4, 5,
01287 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01288 (GtkAttachOptions) (0), 0, 0);
01289 gtk_tooltips_set_tip (tooltips, thermal_solder_mask_clearance_entry, _("Clearance distance with solder mask"), NULL);
01290 gtk_entry_set_invisible_char (GTK_ENTRY (thermal_solder_mask_clearance_entry), 8226);
01291
01292 thermal_clearance_entry = gtk_entry_new ();
01293 gtk_widget_set_name (thermal_clearance_entry, "thermal_clearance_entry");
01294 gtk_widget_show (thermal_clearance_entry);
01295 gtk_table_attach (GTK_TABLE (thermal_pad_table), thermal_clearance_entry, 1, 2, 3, 4,
01296 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01297 (GtkAttachOptions) (0), 0, 0);
01298 gtk_tooltips_set_tip (tooltips, thermal_clearance_entry, _("Clearance distance with polygons"), NULL);
01299 gtk_entry_set_invisible_char (GTK_ENTRY (thermal_clearance_entry), 8226);
01300
01301 thermal_pad_label = gtk_label_new (_("<b>Thermal pad</b>"));
01302 gtk_widget_set_name (thermal_pad_label, "thermal_pad_label");
01303 gtk_widget_show (thermal_pad_label);
01304 gtk_frame_set_label_widget (GTK_FRAME (thermal_pad_frame), thermal_pad_label);
01305 gtk_label_set_use_markup (GTK_LABEL (thermal_pad_label), TRUE);
01306
01307 fiducials_frame = gtk_frame_new (NULL);
01308 gtk_widget_set_name (fiducials_frame, "fiducials_frame");
01309 gtk_widget_show (fiducials_frame);
01310 gtk_table_attach (GTK_TABLE (thermal_table), fiducials_frame, 0, 1, 1, 2,
01311 (GtkAttachOptions) (GTK_FILL),
01312 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
01313 gtk_frame_set_shadow_type (GTK_FRAME (fiducials_frame), GTK_SHADOW_NONE);
01314
01315 fiducials_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
01316 gtk_widget_set_name (fiducials_alignment, "fiducials_alignment");
01317 gtk_widget_show (fiducials_alignment);
01318 gtk_container_add (GTK_CONTAINER (fiducials_frame), fiducials_alignment);
01319 gtk_alignment_set_padding (GTK_ALIGNMENT (fiducials_alignment), 0, 0, 12, 0);
01320
01321 fiducials_table = gtk_table_new (4, 2, FALSE);
01322 gtk_widget_set_name (fiducials_table, "fiducials_table");
01323 gtk_widget_show (fiducials_table);
01324 gtk_container_add (GTK_CONTAINER (fiducials_alignment), fiducials_table);
01325
01326 fiducial_pad_diameter_label = gtk_label_new (_("Fiducial pad diameter (D)"));
01327 gtk_widget_set_name (fiducial_pad_diameter_label, "fiducial_pad_diameter_label");
01328 gtk_widget_show (fiducial_pad_diameter_label);
01329 gtk_table_attach (GTK_TABLE (fiducials_table), fiducial_pad_diameter_label, 0, 1, 1, 2,
01330 (GtkAttachOptions) (GTK_FILL),
01331 (GtkAttachOptions) (0), 0, 0);
01332 gtk_misc_set_alignment (GTK_MISC (fiducial_pad_diameter_label), 0, 0.5);
01333
01334 fiducial_pad_diameter_entry = gtk_entry_new ();
01335 gtk_widget_set_name (fiducial_pad_diameter_entry, "fiducial_pad_diameter_entry");
01336 gtk_widget_show (fiducial_pad_diameter_entry);
01337 gtk_table_attach (GTK_TABLE (fiducials_table), fiducial_pad_diameter_entry, 1, 2, 1, 2,
01338 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01339 (GtkAttachOptions) (0), 0, 0);
01340 gtk_tooltips_set_tip (tooltips, fiducial_pad_diameter_entry, _("Diameter of fiducial pad"), NULL);
01341 gtk_entry_set_invisible_char (GTK_ENTRY (fiducial_pad_diameter_entry), 8226);
01342
01343 fiducial_checkbutton = gtk_check_button_new_with_mnemonic (_("Fiducials"));
01344 gtk_widget_set_name (fiducial_checkbutton, "fiducial_checkbutton");
01345 gtk_widget_show (fiducial_checkbutton);
01346 gtk_table_attach (GTK_TABLE (fiducials_table), fiducial_checkbutton, 0, 1, 0, 1,
01347 (GtkAttachOptions) (GTK_FILL),
01348 (GtkAttachOptions) (0), 0, 0);
01349
01350 fiducial_solder_mask_clearance_label = gtk_label_new (_("Fiducial solder mask clearance"));
01351 gtk_widget_set_name (fiducial_solder_mask_clearance_label, "fiducial_solder_mask_clearance_label");
01352 gtk_widget_show (fiducial_solder_mask_clearance_label);
01353 gtk_table_attach (GTK_TABLE (fiducials_table), fiducial_solder_mask_clearance_label, 0, 1, 3, 4,
01354 (GtkAttachOptions) (GTK_FILL),
01355 (GtkAttachOptions) (0), 0, 0);
01356 gtk_misc_set_alignment (GTK_MISC (fiducial_solder_mask_clearance_label), 0, 0.5);
01357
01358 fiducial_pad_solder_mask_clearance_entry = gtk_entry_new ();
01359 gtk_widget_set_name (fiducial_pad_solder_mask_clearance_entry, "fiducial_pad_solder_mask_clearance_entry");
01360 gtk_widget_show (fiducial_pad_solder_mask_clearance_entry);
01361 gtk_table_attach (GTK_TABLE (fiducials_table), fiducial_pad_solder_mask_clearance_entry, 1, 2, 3, 4,
01362 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01363 (GtkAttachOptions) (0), 0, 0);
01364 gtk_tooltips_set_tip (tooltips, fiducial_pad_solder_mask_clearance_entry, _("Clearance distance with solder mask"), NULL);
01365 gtk_entry_set_invisible_char (GTK_ENTRY (fiducial_pad_solder_mask_clearance_entry), 8226);
01366
01367 fiducial_pad_clearance_label = gtk_label_new (_("Fiducial Pad Clearance"));
01368 gtk_widget_set_name (fiducial_pad_clearance_label, "fiducial_pad_clearance_label");
01369 gtk_widget_show (fiducial_pad_clearance_label);
01370 gtk_table_attach (GTK_TABLE (fiducials_table), fiducial_pad_clearance_label, 0, 1, 2, 3,
01371 (GtkAttachOptions) (GTK_FILL),
01372 (GtkAttachOptions) (0), 0, 0);
01373 gtk_misc_set_alignment (GTK_MISC (fiducial_pad_clearance_label), 0, 0.5);
01374
01375 fiducial_pad_clearance_entry = gtk_entry_new ();
01376 gtk_widget_set_name (fiducial_pad_clearance_entry, "fiducial_pad_clearance_entry");
01377 gtk_widget_show (fiducial_pad_clearance_entry);
01378 gtk_table_attach (GTK_TABLE (fiducials_table), fiducial_pad_clearance_entry, 1, 2, 2, 3,
01379 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01380 (GtkAttachOptions) (0), 0, 0);
01381 gtk_tooltips_set_tip (tooltips, fiducial_pad_clearance_entry, _("Clearance distance with polygons"), NULL);
01382 gtk_entry_set_invisible_char (GTK_ENTRY (fiducial_pad_clearance_entry), 8226);
01383
01384 fiducials_label = gtk_label_new (_("<b>Fiducials</b>"));
01385 gtk_widget_set_name (fiducials_label, "fiducials_label");
01386 gtk_widget_show (fiducials_label);
01387 gtk_frame_set_label_widget (GTK_FRAME (fiducials_frame), fiducials_label);
01388 gtk_label_set_use_markup (GTK_LABEL (fiducials_label), TRUE);
01389
01390 thermal_pad_tab_label = gtk_label_new (_("Thermal pad"));
01391 gtk_widget_set_name (thermal_pad_tab_label, "thermal_pad_tab_label");
01392 gtk_widget_show (thermal_pad_tab_label);
01393 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 3), thermal_pad_tab_label);
01394
01395 heel_and_toe_goals_vbox = gtk_vbox_new (FALSE, 10);
01396 gtk_widget_set_name (heel_and_toe_goals_vbox, "heel_and_toe_goals_vbox");
01397 gtk_widget_show (heel_and_toe_goals_vbox);
01398 gtk_container_add (GTK_CONTAINER (notebook), heel_and_toe_goals_vbox);
01399
01400 top_to_bottom_frame = gtk_frame_new (NULL);
01401 gtk_widget_set_name (top_to_bottom_frame, "top_to_bottom_frame");
01402 gtk_widget_show (top_to_bottom_frame);
01403 gtk_box_pack_start (GTK_BOX (heel_and_toe_goals_vbox), top_to_bottom_frame, FALSE, TRUE, 0);
01404 gtk_frame_set_shadow_type (GTK_FRAME (top_to_bottom_frame), GTK_SHADOW_NONE);
01405
01406 top_to_bottom_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
01407 gtk_widget_set_name (top_to_bottom_alignment, "top_to_bottom_alignment");
01408 gtk_widget_show (top_to_bottom_alignment);
01409 gtk_container_add (GTK_CONTAINER (top_to_bottom_frame), top_to_bottom_alignment);
01410 gtk_alignment_set_padding (GTK_ALIGNMENT (top_to_bottom_alignment), 0, 0, 12, 0);
01411
01412 top_to_bottom_table = gtk_table_new (3, 2, FALSE);
01413 gtk_widget_set_name (top_to_bottom_table, "top_to_bottom_table");
01414 gtk_widget_show (top_to_bottom_table);
01415 gtk_container_add (GTK_CONTAINER (top_to_bottom_alignment), top_to_bottom_table);
01416
01417 G1_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Inner-Inner (G1)"));
01418 gtk_widget_set_name (G1_radiobutton, "G1_radiobutton");
01419 gtk_widget_show (G1_radiobutton);
01420 gtk_table_attach (GTK_TABLE (top_to_bottom_table), G1_radiobutton, 0, 1, 0, 1,
01421 (GtkAttachOptions) (GTK_FILL),
01422 (GtkAttachOptions) (0), 0, 0);
01423 gtk_radio_button_set_group (GTK_RADIO_BUTTON (G1_radiobutton), G1_radiobutton_group);
01424 G1_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (G1_radiobutton));
01425
01426 C1_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Center-Center (C1)"));
01427 gtk_widget_set_name (C1_radiobutton, "C1_radiobutton");
01428 gtk_widget_show (C1_radiobutton);
01429 gtk_table_attach (GTK_TABLE (top_to_bottom_table), C1_radiobutton, 0, 1, 1, 2,
01430 (GtkAttachOptions) (GTK_FILL),
01431 (GtkAttachOptions) (0), 0, 0);
01432 gtk_radio_button_set_group (GTK_RADIO_BUTTON (C1_radiobutton), G1_radiobutton_group);
01433 G1_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (C1_radiobutton));
01434 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (C1_radiobutton), TRUE);
01435
01436 Z1_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Outer-Outer (Z1)"));
01437 gtk_widget_set_name (Z1_radiobutton, "Z1_radiobutton");
01438 gtk_widget_show (Z1_radiobutton);
01439 gtk_table_attach (GTK_TABLE (top_to_bottom_table), Z1_radiobutton, 0, 1, 2, 3,
01440 (GtkAttachOptions) (GTK_FILL),
01441 (GtkAttachOptions) (0), 0, 0);
01442 gtk_radio_button_set_group (GTK_RADIO_BUTTON (Z1_radiobutton), G1_radiobutton_group);
01443 G1_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (Z1_radiobutton));
01444
01445 G1_entry = gtk_entry_new ();
01446 gtk_widget_set_name (G1_entry, "G1_entry");
01447 gtk_widget_show (G1_entry);
01448 gtk_table_attach (GTK_TABLE (top_to_bottom_table), G1_entry, 1, 2, 0, 1,
01449 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01450 (GtkAttachOptions) (0), 0, 0);
01451 gtk_tooltips_set_tip (tooltips, G1_entry, _("Top to bottom inner distance between pads"), NULL);
01452 gtk_entry_set_invisible_char (GTK_ENTRY (G1_entry), 8226);
01453
01454 C1_entry = gtk_entry_new ();
01455 gtk_widget_set_name (C1_entry, "C1_entry");
01456 gtk_widget_show (C1_entry);
01457 gtk_table_attach (GTK_TABLE (top_to_bottom_table), C1_entry, 1, 2, 1, 2,
01458 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01459 (GtkAttachOptions) (0), 0, 0);
01460 gtk_tooltips_set_tip (tooltips, C1_entry, _("Top to bottom center distance between pads"), NULL);
01461 gtk_entry_set_invisible_char (GTK_ENTRY (C1_entry), 8226);
01462
01463 Z1_entry = gtk_entry_new ();
01464 gtk_widget_set_name (Z1_entry, "Z1_entry");
01465 gtk_widget_show (Z1_entry);
01466 gtk_table_attach (GTK_TABLE (top_to_bottom_table), Z1_entry, 1, 2, 2, 3,
01467 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01468 (GtkAttachOptions) (0), 0, 0);
01469 gtk_tooltips_set_tip (tooltips, Z1_entry, _("Top to bottom outer distance between pads"), NULL);
01470 gtk_entry_set_invisible_char (GTK_ENTRY (Z1_entry), 8226);
01471
01472 top_to_bottom_label = gtk_label_new (_("<b>Top to Bottom</b>"));
01473 gtk_widget_set_name (top_to_bottom_label, "top_to_bottom_label");
01474 gtk_widget_show (top_to_bottom_label);
01475 gtk_frame_set_label_widget (GTK_FRAME (top_to_bottom_frame), top_to_bottom_label);
01476 gtk_label_set_use_markup (GTK_LABEL (top_to_bottom_label), TRUE);
01477
01478 left_to_right_frame = gtk_frame_new (NULL);
01479 gtk_widget_set_name (left_to_right_frame, "left_to_right_frame");
01480 gtk_widget_show (left_to_right_frame);
01481 gtk_box_pack_start (GTK_BOX (heel_and_toe_goals_vbox), left_to_right_frame, FALSE, TRUE, 0);
01482 gtk_frame_set_shadow_type (GTK_FRAME (left_to_right_frame), GTK_SHADOW_NONE);
01483
01484 left_to_right_alignment = gtk_alignment_new (0.5, 0.5, 1, 1);
01485 gtk_widget_set_name (left_to_right_alignment, "left_to_right_alignment");
01486 gtk_widget_show (left_to_right_alignment);
01487 gtk_container_add (GTK_CONTAINER (left_to_right_frame), left_to_right_alignment);
01488 gtk_alignment_set_padding (GTK_ALIGNMENT (left_to_right_alignment), 0, 0, 12, 0);
01489
01490 left_to_right_table = gtk_table_new (3, 2, FALSE);
01491 gtk_widget_set_name (left_to_right_table, "left_to_right_table");
01492 gtk_widget_show (left_to_right_table);
01493 gtk_container_add (GTK_CONTAINER (left_to_right_alignment), left_to_right_table);
01494
01495 G2_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Inner-Inner (G2)"));
01496 gtk_widget_set_name (G2_radiobutton, "G2_radiobutton");
01497 gtk_widget_show (G2_radiobutton);
01498 gtk_table_attach (GTK_TABLE (left_to_right_table), G2_radiobutton, 0, 1, 0, 1,
01499 (GtkAttachOptions) (GTK_FILL),
01500 (GtkAttachOptions) (0), 0, 0);
01501 gtk_radio_button_set_group (GTK_RADIO_BUTTON (G2_radiobutton), G2_radiobutton_group);
01502 G2_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (G2_radiobutton));
01503
01504 C2_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Center-Center (C2)"));
01505 gtk_widget_set_name (C2_radiobutton, "C2_radiobutton");
01506 gtk_widget_show (C2_radiobutton);
01507 gtk_table_attach (GTK_TABLE (left_to_right_table), C2_radiobutton, 0, 1, 1, 2,
01508 (GtkAttachOptions) (GTK_FILL),
01509 (GtkAttachOptions) (0), 0, 0);
01510 gtk_radio_button_set_group (GTK_RADIO_BUTTON (C2_radiobutton), G2_radiobutton_group);
01511 G2_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (C2_radiobutton));
01512 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (C2_radiobutton), TRUE);
01513
01514 Z2_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Outer-Outer (Z2)"));
01515 gtk_widget_set_name (Z2_radiobutton, "Z2_radiobutton");
01516 gtk_widget_show (Z2_radiobutton);
01517 gtk_table_attach (GTK_TABLE (left_to_right_table), Z2_radiobutton, 0, 1, 2, 3,
01518 (GtkAttachOptions) (GTK_FILL),
01519 (GtkAttachOptions) (0), 0, 0);
01520 gtk_radio_button_set_group (GTK_RADIO_BUTTON (Z2_radiobutton), G2_radiobutton_group);
01521 G2_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (Z2_radiobutton));
01522
01523 G2_entry = gtk_entry_new ();
01524 gtk_widget_set_name (G2_entry, "G2_entry");
01525 gtk_widget_show (G2_entry);
01526 gtk_table_attach (GTK_TABLE (left_to_right_table), G2_entry, 1, 2, 0, 1,
01527 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01528 (GtkAttachOptions) (0), 0, 0);
01529 gtk_tooltips_set_tip (tooltips, G2_entry, _("Left to right inner distance between pads"), NULL);
01530 gtk_entry_set_invisible_char (GTK_ENTRY (G2_entry), 8226);
01531
01532 C2_entry = gtk_entry_new ();
01533 gtk_widget_set_name (C2_entry, "C2_entry");
01534 gtk_widget_show (C2_entry);
01535 gtk_table_attach (GTK_TABLE (left_to_right_table), C2_entry, 1, 2, 1, 2,
01536 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01537 (GtkAttachOptions) (0), 0, 0);
01538 gtk_tooltips_set_tip (tooltips, C2_entry, _("Left to right center distance between pads"), NULL);
01539 gtk_entry_set_invisible_char (GTK_ENTRY (C2_entry), 8226);
01540
01541 Z2_entry = gtk_entry_new ();
01542 gtk_widget_set_name (Z2_entry, "Z2_entry");
01543 gtk_widget_show (Z2_entry);
01544 gtk_table_attach (GTK_TABLE (left_to_right_table), Z2_entry, 1, 2, 2, 3,
01545 (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
01546 (GtkAttachOptions) (0), 0, 0);
01547 gtk_tooltips_set_tip (tooltips, Z2_entry, _("Left to right outer distance between pads"), NULL);
01548 gtk_entry_set_invisible_char (GTK_ENTRY (Z2_entry), 8226);
01549
01550 left_to_right_label = gtk_label_new (_("<b>Left to Right</b>"));
01551 gtk_widget_set_name (left_to_right_label, "left_to_right_label");
01552 gtk_widget_show (left_to_right_label);
01553 gtk_frame_set_label_widget (GTK_FRAME (left_to_right_frame), left_to_right_label);
01554 gtk_label_set_use_markup (GTK_LABEL (left_to_right_label), TRUE);
01555
01556 heel_and_toe_goals_tab_label = gtk_label_new (_("Heel & Toe goals"));
01557 gtk_widget_set_name (heel_and_toe_goals_tab_label, "heel_and_toe_goals_tab_label");
01558 gtk_widget_show (heel_and_toe_goals_tab_label);
01559 gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook), 4), heel_and_toe_goals_tab_label);
01560
01561 hbuttonbox0 = gtk_hbutton_box_new ();
01562 gtk_widget_set_name (hbuttonbox0, "hbuttonbox0");
01563 gtk_widget_show (hbuttonbox0);
01564 gtk_box_pack_start (GTK_BOX (vbox), hbuttonbox0, FALSE, FALSE, 0);
01565 gtk_container_set_border_width (GTK_CONTAINER (hbuttonbox0), 10);
01566
01567 refresh_button = gtk_button_new_from_stock ("gtk-refresh");
01568 gtk_widget_set_name (refresh_button, "refresh_button");
01569 gtk_widget_show (refresh_button);
01570 gtk_container_add (GTK_CONTAINER (hbuttonbox0), refresh_button);
01571 GTK_WIDGET_SET_FLAGS (refresh_button, GTK_CAN_DEFAULT);
01572 gtk_tooltips_set_tip (tooltips, refresh_button, _("Click on the refresh button to refresh the preview"), NULL);
01573
01574 dimensions_button = gtk_button_new ();
01575 gtk_widget_set_name (dimensions_button, "dimensions_button");
01576 gtk_widget_show (dimensions_button);
01577 gtk_container_add (GTK_CONTAINER (hbuttonbox0), dimensions_button);
01578 GTK_WIDGET_SET_FLAGS (dimensions_button, GTK_CAN_DEFAULT);
01579 gtk_tooltips_set_tip (tooltips, dimensions_button, _("Click on the Dimensions button for the package dimensions"), NULL);
01580
01581 alignment4 = gtk_alignment_new (0.5, 0.5, 0, 0);
01582 gtk_widget_set_name (alignment4, "alignment4");
01583 gtk_widget_show (alignment4);
01584 gtk_container_add (GTK_CONTAINER (dimensions_button), alignment4);
01585
01586 hbox4 = gtk_hbox_new (FALSE, 2);
01587 gtk_widget_set_name (hbox4, "hbox4");
01588 gtk_widget_show (hbox4);
01589 gtk_container_add (GTK_CONTAINER (alignment4), hbox4);
01590
01591 image4 = gtk_image_new_from_stock ("gtk-info", GTK_ICON_SIZE_BUTTON);
01592 gtk_widget_set_name (image4, "image4");
01593 gtk_widget_show (image4);
01594 gtk_box_pack_start (GTK_BOX (hbox4), image4, FALSE, FALSE, 0);
01595
01596 label6 = gtk_label_new_with_mnemonic (_("Dimensions"));
01597 gtk_widget_set_name (label6, "label6");
01598 gtk_widget_show (label6);
01599 gtk_box_pack_start (GTK_BOX (hbox4), label6, FALSE, FALSE, 0);
01600
01601 preview_button = gtk_button_new ();
01602 gtk_widget_set_name (preview_button, "preview_button");
01603 gtk_widget_show (preview_button);
01604 gtk_container_add (GTK_CONTAINER (hbuttonbox0), preview_button);
01605 GTK_WIDGET_SET_FLAGS (preview_button, GTK_CAN_DEFAULT);
01606 gtk_tooltips_set_tip (tooltips, preview_button, _("Click on the Preview button to view the footprint"), NULL);
01607
01608 alignment1 = gtk_alignment_new (0.5, 0.5, 0, 0);
01609 gtk_widget_set_name (alignment1, "alignment1");
01610 gtk_widget_show (alignment1);
01611 gtk_container_add (GTK_CONTAINER (preview_button), alignment1);
01612
01613 hbox1 = gtk_hbox_new (FALSE, 2);
01614 gtk_widget_set_name (hbox1, "hbox1");
01615 gtk_widget_show (hbox1);
01616 gtk_container_add (GTK_CONTAINER (alignment1), hbox1);
01617
01618 image1 = gtk_image_new_from_stock ("gtk-zoom-fit", GTK_ICON_SIZE_BUTTON);
01619 gtk_widget_set_name (image1, "image1");
01620 gtk_widget_show (image1);
01621 gtk_box_pack_start (GTK_BOX (hbox1), image1, FALSE, FALSE, 0);
01622
01623 label3 = gtk_label_new_with_mnemonic (_("Preview"));
01624 gtk_widget_set_name (label3, "label3");
01625 gtk_widget_show (label3);
01626 gtk_box_pack_start (GTK_BOX (hbox1), label3, FALSE, FALSE, 0);
01627
01628 clear_button = gtk_button_new_from_stock ("gtk-clear");
01629 gtk_widget_set_name (clear_button, "clear_button");
01630 gtk_widget_show (clear_button);
01631 gtk_container_add (GTK_CONTAINER (hbuttonbox0), clear_button);
01632 GTK_WIDGET_SET_FLAGS (clear_button, GTK_CAN_DEFAULT);
01633 gtk_tooltips_set_tip (tooltips, clear_button, _("Click on the Clear button to clear all entries"), NULL);
01634
01635 hbuttonbox1 = gtk_hbutton_box_new ();
01636 gtk_widget_set_name (hbuttonbox1, "hbuttonbox1");
01637 gtk_widget_show (hbuttonbox1);
01638 gtk_box_pack_start (GTK_BOX (vbox), hbuttonbox1, FALSE, FALSE, 0);
01639 gtk_container_set_border_width (GTK_CONTAINER (hbuttonbox1), 10);
01640
01641 close_button = gtk_button_new_from_stock ("gtk-close");
01642 gtk_widget_set_name (close_button, "close_button");
01643 gtk_widget_show (close_button);
01644 gtk_container_add (GTK_CONTAINER (hbuttonbox1), close_button);
01645 GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT);
01646 gtk_tooltips_set_tip (tooltips, close_button, _("Click the Close button to exit"), NULL);
01647
01648 footprint_button = gtk_button_new ();
01649 gtk_widget_set_name (footprint_button, "footprint_button");
01650 gtk_widget_show (footprint_button);
01651 gtk_container_add (GTK_CONTAINER (hbuttonbox1), footprint_button);
01652 GTK_WIDGET_SET_FLAGS (footprint_button, GTK_CAN_DEFAULT);
01653 gtk_tooltips_set_tip (tooltips, footprint_button, _("Click the Footprint button to write a footprint file"), NULL);
01654
01655 alignment3 = gtk_alignment_new (0.5, 0.5, 0, 0);
01656 gtk_widget_set_name (alignment3, "alignment3");
01657 gtk_widget_show (alignment3);
01658 gtk_container_add (GTK_CONTAINER (footprint_button), alignment3);
01659
01660 hbox3 = gtk_hbox_new (FALSE, 2);
01661 gtk_widget_set_name (hbox3, "hbox3");
01662 gtk_widget_show (hbox3);
01663 gtk_container_add (GTK_CONTAINER (alignment3), hbox3);
01664
01665 image3 = gtk_image_new_from_stock ("gtk-file", GTK_ICON_SIZE_BUTTON);
01666 gtk_widget_set_name (image3, "image3");
01667 gtk_widget_show (image3);
01668 gtk_box_pack_start (GTK_BOX (hbox3), image3, FALSE, FALSE, 0);
01669
01670 label5 = gtk_label_new_with_mnemonic ("Footprint");
01671 gtk_widget_set_name (label5, "label5");
01672 gtk_widget_show (label5);
01673 gtk_box_pack_start (GTK_BOX (hbox3), label5, FALSE, FALSE, 0);
01674
01675 open_button = gtk_button_new_from_stock ("gtk-open");
01676 gtk_widget_set_name (open_button, "open_button");
01677 gtk_widget_show (open_button);
01678 gtk_container_add (GTK_CONTAINER (hbuttonbox1), open_button);
01679 GTK_WIDGET_SET_FLAGS (open_button, GTK_CAN_DEFAULT);
01680 gtk_tooltips_set_tip (tooltips, open_button, _("Click the Open button to read an existing footprint file"), NULL);
01681
01682 save_button = gtk_button_new_from_stock ("gtk-save");
01683 gtk_widget_set_name (save_button, "save_button");
01684 gtk_widget_show (save_button);
01685 gtk_container_add (GTK_CONTAINER (hbuttonbox1), save_button);
01686 GTK_WIDGET_SET_FLAGS (save_button, GTK_CAN_DEFAULT);
01687 gtk_tooltips_set_tip (tooltips, save_button, _("Click the Save button to write the footprintwizard file"), NULL);
01688
01689 statusbar = gtk_statusbar_new ();
01690 gtk_widget_set_name (statusbar, "statusbar");
01691 gtk_widget_show (statusbar);
01692 gtk_box_pack_start (GTK_BOX (vbox), statusbar, FALSE, FALSE, 0);
01693
01694 g_signal_connect ((gpointer) pcb_gfpw, "destroy",
01695 G_CALLBACK (on_pcb_gfpw_destroy),
01696 NULL);
01697 g_signal_connect ((gpointer) footprint_author_entry, "changed",
01698 G_CALLBACK (on_footprint_author_entry_changed),
01699 NULL);
01700 g_signal_connect ((gpointer) footprint_dist_license_entry, "changed",
01701 G_CALLBACK (on_footprint_dist_license_entry_changed),
01702 NULL);
01703 g_signal_connect ((gpointer) footprint_use_license_entry, "changed",
01704 G_CALLBACK (on_footprint_use_license_entry_changed),
01705 NULL);
01706 g_signal_connect ((gpointer) footprint_status_entry, "changed",
01707 G_CALLBACK (on_footprint_status_entry_changed),
01708 NULL);
01709 g_signal_connect ((gpointer) footprint_units_entry, "changed",
01710 G_CALLBACK (on_footprint_units_entry_changed),
01711 NULL);
01712 g_signal_connect ((gpointer) footprint_name_entry, "changed",
01713 G_CALLBACK (on_footprint_name_entry_changed),
01714 NULL);
01715 g_signal_connect ((gpointer) footprint_type_entry, "changed",
01716 G_CALLBACK (on_footprint_type_entry_changed),
01717 NULL);
01718 g_signal_connect ((gpointer) package_body_height_entry, "changed",
01719 G_CALLBACK (on_package_body_height_entry_changed),
01720 NULL);
01721 g_signal_connect ((gpointer) package_body_width_entry, "changed",
01722 G_CALLBACK (on_package_body_width_entry_changed),
01723 NULL);
01724 g_signal_connect ((gpointer) package_body_length_entry, "changed",
01725 G_CALLBACK (on_package_body_length_entry_changed),
01726 NULL);
01727 g_signal_connect ((gpointer) footprint_value_entry, "changed",
01728 G_CALLBACK (on_footprint_value_entry_changed),
01729 NULL);
01730 g_signal_connect ((gpointer) footprint_refdes_entry, "changed",
01731 G_CALLBACK (on_footprint_refdes_entry_changed),
01732 NULL);
01733 g_signal_connect ((gpointer) add_license_checkbutton, "toggled",
01734 G_CALLBACK (on_add_license_checkbutton_toggled),
01735 NULL);
01736 g_signal_connect ((gpointer) package_is_radial_checkbutton, "toggled",
01737 G_CALLBACK (on_package_is_radial_checkbutton_toggled),
01738 NULL);
01739 g_signal_connect ((gpointer) add_attribs_checkbutton, "toggled",
01740 G_CALLBACK (on_add_attribs_checkbutton_toggled),
01741 NULL);
01742 g_signal_connect ((gpointer) pad_solder_mask_clearance_entry, "changed",
01743 G_CALLBACK (on_pad_solder_mask_clearance_entry_changed),
01744 NULL);
01745 g_signal_connect ((gpointer) pad_clearance_entry, "changed",
01746 G_CALLBACK (on_pad_clearance_entry_changed),
01747 NULL);
01748 g_signal_connect ((gpointer) pad_width_entry, "changed",
01749 G_CALLBACK (on_pad_width_entry_changed),
01750 NULL);
01751 g_signal_connect ((gpointer) pad_length_entry, "changed",
01752 G_CALLBACK (on_pad_length_entry_changed),
01753 NULL);
01754 g_signal_connect ((gpointer) pad_shape_entry, "changed",
01755 G_CALLBACK (on_pad_shape_entry_changed),
01756 NULL);
01757 g_signal_connect ((gpointer) pad_diameter_entry, "changed",
01758 G_CALLBACK (on_pad_diameter_entry_changed),
01759 NULL);
01760 g_signal_connect ((gpointer) pin_square_checkbutton, "toggled",
01761 G_CALLBACK (on_pin_square_checkbutton_toggled),
01762 NULL);
01763 g_signal_connect ((gpointer) pin_drill_diameter_entry, "changed",
01764 G_CALLBACK (on_pin_drill_diameter_entry_changed),
01765 NULL);
01766 g_signal_connect ((gpointer) number_total_pins_entry, "changed",
01767 G_CALLBACK (on_number_total_pins_entry_changed),
01768 NULL);
01769 g_signal_connect ((gpointer) pitch_x_entry, "changed",
01770 G_CALLBACK (on_pitch_x_entry_changed),
01771 NULL);
01772 g_signal_connect ((gpointer) pitch_y_entry, "changed",
01773 G_CALLBACK (on_pitch_y_entry_changed),
01774 NULL);
01775 g_signal_connect ((gpointer) count_x_entry, "changed",
01776 G_CALLBACK (on_count_x_entry_changed),
01777 NULL);
01778 g_signal_connect ((gpointer) count_y_entry, "changed",
01779 G_CALLBACK (on_count_y_entry_changed),
01780 NULL);
01781 g_signal_connect ((gpointer) number_1_position_entry, "changed",
01782 G_CALLBACK (on_number_1_position_entry_changed),
01783 NULL);
01784 g_signal_connect ((gpointer) number_of_columns_entry, "changed",
01785 G_CALLBACK (on_number_of_columns_entry_changed),
01786 NULL);
01787 g_signal_connect ((gpointer) number_of_rows_entry, "changed",
01788 G_CALLBACK (on_number_of_rows_entry_changed),
01789 NULL);
01790 g_signal_connect ((gpointer) pin_pad_exceptions_entry, "changed",
01791 G_CALLBACK (on_pin_pad_exceptions_entry_changed),
01792 NULL);
01793 g_signal_connect ((gpointer) pin_pad_exceptions_button, "clicked",
01794 G_CALLBACK (on_pin_pad_exceptions_button_clicked),
01795 NULL);
01796 g_signal_connect ((gpointer) courtyard_checkbutton, "toggled",
01797 G_CALLBACK (on_courtyard_checkbutton_toggled),
01798 NULL);
01799 g_signal_connect ((gpointer) courtyard_length_entry, "changed",
01800 G_CALLBACK (on_courtyard_length_entry_changed),
01801 NULL);
01802 g_signal_connect ((gpointer) courtyard_width_entry, "changed",
01803 G_CALLBACK (on_courtyard_width_entry_changed),
01804 NULL);
01805 g_signal_connect ((gpointer) courtyard_line_width_entry, "changed",
01806 G_CALLBACK (on_courtyard_line_width_entry_changed),
01807 NULL);
01808 g_signal_connect ((gpointer) courtyard_clearance_with_package_entry, "changed",
01809 G_CALLBACK (on_courtyard_clearance_with_package_entry_changed),
01810 NULL);
01811 g_signal_connect ((gpointer) silkscreen_package_outline_checkbutton, "toggled",
01812 G_CALLBACK (on_silkscreen_package_outline_checkbutton_toggled),
01813 NULL);
01814 g_signal_connect ((gpointer) silkscreen_indicate_1_checkbutton, "toggled",
01815 G_CALLBACK (on_silkscreen_indicate_1_checkbutton_toggled),
01816 NULL);
01817 g_signal_connect ((gpointer) silkscreen_line_width_entry, "changed",
01818 G_CALLBACK (on_silkscreen_line_width_entry_changed),
01819 NULL);
01820 g_signal_connect ((gpointer) thermal_checkbutton, "toggled",
01821 G_CALLBACK (on_thermal_checkbutton_toggled),
01822 NULL);
01823 g_signal_connect ((gpointer) thermal_width_entry, "changed",
01824 G_CALLBACK (on_thermal_width_entry_changed),
01825 NULL);
01826 g_signal_connect ((gpointer) thermal_length_entry, "changed",
01827 G_CALLBACK (on_thermal_length_entry_changed),
01828 NULL);
01829 g_signal_connect ((gpointer) thermal_nopaste_checkbutton, "toggled",
01830 G_CALLBACK (on_thermal_nopaste_checkbutton_toggled),
01831 NULL);
01832 g_signal_connect ((gpointer) thermal_solder_mask_clearance_entry, "changed",
01833 G_CALLBACK (on_thermal_solder_mask_clearance_entry_changed),
01834 NULL);
01835 g_signal_connect ((gpointer) thermal_clearance_entry, "changed",
01836 G_CALLBACK (on_thermal_clearance_entry_changed),
01837 NULL);
01838 g_signal_connect ((gpointer) fiducial_pad_diameter_entry, "changed",
01839 G_CALLBACK (on_fiducial_pad_diameter_entry_changed),
01840 NULL);
01841 g_signal_connect ((gpointer) fiducial_checkbutton, "toggled",
01842 G_CALLBACK (on_fiducial_checkbutton_toggled),
01843 NULL);
01844 g_signal_connect ((gpointer) fiducial_pad_solder_mask_clearance_entry, "changed",
01845 G_CALLBACK (on_fiducial_pad_solder_mask_clearance_entry_changed),
01846 NULL);
01847 g_signal_connect ((gpointer) fiducial_pad_clearance_entry, "changed",
01848 G_CALLBACK (on_fiducial_pad_clearance_entry_changed),
01849 NULL);
01850 g_signal_connect ((gpointer) G1_radiobutton, "toggled",
01851 G_CALLBACK (on_G1_radiobutton_toggled),
01852 NULL);
01853 g_signal_connect ((gpointer) C1_radiobutton, "toggled",
01854 G_CALLBACK (on_C1_radiobutton_toggled),
01855 NULL);
01856 g_signal_connect ((gpointer) Z1_radiobutton, "toggled",
01857 G_CALLBACK (on_Z1_radiobutton_toggled),
01858 NULL);
01859 g_signal_connect ((gpointer) G1_entry, "changed",
01860 G_CALLBACK (on_G1_entry_changed),
01861 NULL);
01862 g_signal_connect ((gpointer) C1_entry, "changed",
01863 G_CALLBACK (on_C1_entry_changed),
01864 NULL);
01865 g_signal_connect ((gpointer) Z1_entry, "changed",
01866 G_CALLBACK (on_Z1_entry_changed),
01867 NULL);
01868 g_signal_connect ((gpointer) G2_radiobutton, "toggled",
01869 G_CALLBACK (on_G2_radiobutton_toggled),
01870 NULL);
01871 g_signal_connect ((gpointer) C2_radiobutton, "toggled",
01872 G_CALLBACK (on_C2_radiobutton_toggled),
01873 NULL);
01874 g_signal_connect ((gpointer) Z2_radiobutton, "toggled",
01875 G_CALLBACK (on_Z2_radiobutton_toggled),
01876 NULL);
01877 g_signal_connect ((gpointer) G2_entry, "changed",
01878 G_CALLBACK (on_G2_entry_changed),
01879 NULL);
01880 g_signal_connect ((gpointer) C2_entry, "changed",
01881 G_CALLBACK (on_C2_entry_changed),
01882 NULL);
01883 g_signal_connect ((gpointer) Z2_entry, "changed",
01884 G_CALLBACK (on_Z2_entry_changed),
01885 NULL);
01886 g_signal_connect ((gpointer) refresh_button, "clicked",
01887 G_CALLBACK (on_refresh_button_clicked),
01888 NULL);
01889 g_signal_connect ((gpointer) dimensions_button, "clicked",
01890 G_CALLBACK (on_dimensions_button_clicked),
01891 NULL);
01892 g_signal_connect ((gpointer) preview_button, "clicked",
01893 G_CALLBACK (on_preview_button_clicked),
01894 NULL);
01895 g_signal_connect ((gpointer) clear_button, "clicked",
01896 G_CALLBACK (on_clear_button_clicked),
01897 NULL);
01898 g_signal_connect ((gpointer) close_button, "clicked",
01899 G_CALLBACK (on_close_button_clicked),
01900 NULL);
01901 g_signal_connect ((gpointer) footprint_button, "clicked",
01902 G_CALLBACK (on_footprint_button_clicked),
01903 NULL);
01904 g_signal_connect ((gpointer) open_button, "clicked",
01905 G_CALLBACK (on_open_button_clicked),
01906 NULL);
01907 g_signal_connect ((gpointer) save_button, "clicked",
01908 G_CALLBACK (on_save_button_clicked),
01909 NULL);
01910
01911
01912 GLADE_HOOKUP_OBJECT_NO_REF (pcb_gfpw, pcb_gfpw, "pcb_gfpw");
01913 GLADE_HOOKUP_OBJECT (pcb_gfpw, vbox, "vbox");
01914 GLADE_HOOKUP_OBJECT (pcb_gfpw, hbox, "hbox");
01915 GLADE_HOOKUP_OBJECT (pcb_gfpw, notebook, "notebook");
01916 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_tab_table, "footprint_tab_table");
01917 GLADE_HOOKUP_OBJECT (pcb_gfpw, author_frame, "author_frame");
01918 GLADE_HOOKUP_OBJECT (pcb_gfpw, author_frame_alignment, "author_frame_alignment");
01919 GLADE_HOOKUP_OBJECT (pcb_gfpw, author_table, "author_table");
01920 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_author_label, "footprint_author_label");
01921 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_dist_license_label, "footprint_dist_license_label");
01922 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_author_entry, "footprint_author_entry");
01923 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_dist_license_entry, "footprint_dist_license_entry");
01924 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_use_license_entry, "footprint_use_license_entry");
01925 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_use_license_label, "footprint_use_license_label");
01926 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_status_label, "footprint_status_label");
01927 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_status_entry, "footprint_status_entry");
01928 GLADE_HOOKUP_OBJECT (pcb_gfpw, author_frame_label, "author_frame_label");
01929 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_frame, "footprint_frame");
01930 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_frame_alignment, "footprint_frame_alignment");
01931 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_table, "footprint_table");
01932 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_units_label, "footprint_units_label");
01933 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_units_entry, "footprint_units_entry");
01934 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_name_entry, "footprint_name_entry");
01935 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_type_entry, "footprint_type_entry");
01936 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_type_label, "footprint_type_label");
01937 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_name_label, "footprint_name_label");
01938 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_body_height_entry, "package_body_height_entry");
01939 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_body_height_label, "package_body_height_label");
01940 GLADE_HOOKUP_OBJECT (pcb_gfpw, pacakge_body_width_label, "pacakge_body_width_label");
01941 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_body_length_label, "package_body_length_label");
01942 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_value_label, "footprint_value_label");
01943 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_body_width_entry, "package_body_width_entry");
01944 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_body_length_entry, "package_body_length_entry");
01945 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_value_entry, "footprint_value_entry");
01946 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_refdes_label, "footprint_refdes_label");
01947 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_refdes_entry, "footprint_refdes_entry");
01948 GLADE_HOOKUP_OBJECT (pcb_gfpw, add_license_checkbutton, "add_license_checkbutton");
01949 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_is_radial_checkbutton, "package_is_radial_checkbutton");
01950 GLADE_HOOKUP_OBJECT (pcb_gfpw, add_attribs_checkbutton, "add_attribs_checkbutton");
01951 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_frame_label, "footprint_frame_label");
01952 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_tab_label, "footprint_tab_label");
01953 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_pads_table, "pins_pads_table");
01954 GLADE_HOOKUP_OBJECT (pcb_gfpw, pads_frame, "pads_frame");
01955 GLADE_HOOKUP_OBJECT (pcb_gfpw, pads_alignment, "pads_alignment");
01956 GLADE_HOOKUP_OBJECT (pcb_gfpw, pads_table, "pads_table");
01957 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_solder_mask_clearance_label, "pad_solder_mask_clearance_label");
01958 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_solder_mask_clearance_entry, "pad_solder_mask_clearance_entry");
01959 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_clearance_label, "pad_clearance_label");
01960 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_width_label, "pad_width_label");
01961 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_length_label, "pad_length_label");
01962 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_clearance_entry, "pad_clearance_entry");
01963 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_width_entry, "pad_width_entry");
01964 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_length_entry, "pad_length_entry");
01965 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_shape_label, "pad_shape_label");
01966 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_shape_entry, "pad_shape_entry");
01967 GLADE_HOOKUP_OBJECT (pcb_gfpw, pads_label, "pads_label");
01968 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_frame, "pins_frame");
01969 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_alignment, "pins_alignment");
01970 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_table, "pins_table");
01971 GLADE_HOOKUP_OBJECT (pcb_gfpw, pad_diameter_entry, "pad_diameter_entry");
01972 GLADE_HOOKUP_OBJECT (pcb_gfpw, pin_drill_diameter_label, "pin_drill_diameter_label");
01973 GLADE_HOOKUP_OBJECT (pcb_gfpw, pin_pad_diameter_label, "pin_pad_diameter_label");
01974 GLADE_HOOKUP_OBJECT (pcb_gfpw, pin_square_checkbutton, "pin_square_checkbutton");
01975 GLADE_HOOKUP_OBJECT (pcb_gfpw, pin_drill_diameter_entry, "pin_drill_diameter_entry");
01976 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_label, "pins_label");
01977 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_pads_pattern_frame, "pins_pads_pattern_frame");
01978 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_pads_pattern_alignment, "pins_pads_pattern_alignment");
01979 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_pads_pattern_table, "pins_pads_pattern_table");
01980 GLADE_HOOKUP_OBJECT (pcb_gfpw, total_pins_and_pads_label, "total_pins_and_pads_label");
01981 GLADE_HOOKUP_OBJECT (pcb_gfpw, pitch_x_label, "pitch_x_label");
01982 GLADE_HOOKUP_OBJECT (pcb_gfpw, pitch_y_label, "pitch_y_label");
01983 GLADE_HOOKUP_OBJECT (pcb_gfpw, number_total_pins_entry, "number_total_pins_entry");
01984 GLADE_HOOKUP_OBJECT (pcb_gfpw, pitch_x_entry, "pitch_x_entry");
01985 GLADE_HOOKUP_OBJECT (pcb_gfpw, pitch_y_entry, "pitch_y_entry");
01986 GLADE_HOOKUP_OBJECT (pcb_gfpw, label1, "label1");
01987 GLADE_HOOKUP_OBJECT (pcb_gfpw, label2, "label2");
01988 GLADE_HOOKUP_OBJECT (pcb_gfpw, count_x_entry, "count_x_entry");
01989 GLADE_HOOKUP_OBJECT (pcb_gfpw, count_y_entry, "count_y_entry");
01990 GLADE_HOOKUP_OBJECT (pcb_gfpw, number_1_position_label, "number_1_position_label");
01991 GLADE_HOOKUP_OBJECT (pcb_gfpw, number_1_position_entry, "number_1_position_entry");
01992 GLADE_HOOKUP_OBJECT (pcb_gfpw, number_of_columns_label, "number_of_columns_label");
01993 GLADE_HOOKUP_OBJECT (pcb_gfpw, number_of_columns_entry, "number_of_columns_entry");
01994 GLADE_HOOKUP_OBJECT (pcb_gfpw, number_of_rows_label, "number_of_rows_label");
01995 GLADE_HOOKUP_OBJECT (pcb_gfpw, number_of_rows_entry, "number_of_rows_entry");
01996 GLADE_HOOKUP_OBJECT (pcb_gfpw, pin_pad_exceptions_entry, "pin_pad_exceptions_entry");
01997 GLADE_HOOKUP_OBJECT (pcb_gfpw, pin_pad_exceptions_button, "pin_pad_exceptions_button");
01998 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_pads_pattern_label, "pins_pads_pattern_label");
01999 GLADE_HOOKUP_OBJECT (pcb_gfpw, pins_pads_tab_tab_label, "pins_pads_tab_tab_label");
02000 GLADE_HOOKUP_OBJECT (pcb_gfpw, silkscreen_table, "silkscreen_table");
02001 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_frame, "courtyard_frame");
02002 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_alignment, "courtyard_alignment");
02003 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_table, "courtyard_table");
02004 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_checkbutton, "courtyard_checkbutton");
02005 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_width_label, "courtyard_width_label");
02006 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_length_label, "courtyard_length_label");
02007 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_length_entry, "courtyard_length_entry");
02008 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_width_entry, "courtyard_width_entry");
02009 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_line_width_label, "courtyard_line_width_label");
02010 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_line_width_entry, "courtyard_line_width_entry");
02011 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_clearance_with_package_label, "courtyard_clearance_with_package_label");
02012 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_clearance_with_package_entry, "courtyard_clearance_with_package_entry");
02013 GLADE_HOOKUP_OBJECT (pcb_gfpw, courtyard_label, "courtyard_label");
02014 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_frame, "package_frame");
02015 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_alignment, "package_alignment");
02016 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_table, "package_table");
02017 GLADE_HOOKUP_OBJECT (pcb_gfpw, silkscreen_package_outline_checkbutton, "silkscreen_package_outline_checkbutton");
02018 GLADE_HOOKUP_OBJECT (pcb_gfpw, silkscreen_indicate_1_checkbutton, "silkscreen_indicate_1_checkbutton");
02019 GLADE_HOOKUP_OBJECT (pcb_gfpw, silkscreen_line_width_label, "silkscreen_line_width_label");
02020 GLADE_HOOKUP_OBJECT (pcb_gfpw, silkscreen_line_width_entry, "silkscreen_line_width_entry");
02021 GLADE_HOOKUP_OBJECT (pcb_gfpw, package_label, "package_label");
02022 GLADE_HOOKUP_OBJECT (pcb_gfpw, silkscreen_tab_label, "silkscreen_tab_label");
02023 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_table, "thermal_table");
02024 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_frame, "thermal_pad_frame");
02025 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_alignment, "thermal_pad_alignment");
02026 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_table, "thermal_pad_table");
02027 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_checkbutton, "thermal_checkbutton");
02028 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_length_label, "thermal_pad_length_label");
02029 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_width_label, "thermal_pad_width_label");
02030 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_width_entry, "thermal_width_entry");
02031 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_length_entry, "thermal_length_entry");
02032 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_nopaste_checkbutton, "thermal_nopaste_checkbutton");
02033 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_solder_mask_clearance_label, "thermal_pad_solder_mask_clearance_label");
02034 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_clearance_label, "thermal_pad_clearance_label");
02035 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_solder_mask_clearance_entry, "thermal_solder_mask_clearance_entry");
02036 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_clearance_entry, "thermal_clearance_entry");
02037 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_label, "thermal_pad_label");
02038 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducials_frame, "fiducials_frame");
02039 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducials_alignment, "fiducials_alignment");
02040 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducials_table, "fiducials_table");
02041 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducial_pad_diameter_label, "fiducial_pad_diameter_label");
02042 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducial_pad_diameter_entry, "fiducial_pad_diameter_entry");
02043 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducial_checkbutton, "fiducial_checkbutton");
02044 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducial_solder_mask_clearance_label, "fiducial_solder_mask_clearance_label");
02045 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducial_pad_solder_mask_clearance_entry, "fiducial_pad_solder_mask_clearance_entry");
02046 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducial_pad_clearance_label, "fiducial_pad_clearance_label");
02047 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducial_pad_clearance_entry, "fiducial_pad_clearance_entry");
02048 GLADE_HOOKUP_OBJECT (pcb_gfpw, fiducials_label, "fiducials_label");
02049 GLADE_HOOKUP_OBJECT (pcb_gfpw, thermal_pad_tab_label, "thermal_pad_tab_label");
02050 GLADE_HOOKUP_OBJECT (pcb_gfpw, heel_and_toe_goals_vbox, "heel_and_toe_goals_vbox");
02051 GLADE_HOOKUP_OBJECT (pcb_gfpw, top_to_bottom_frame, "top_to_bottom_frame");
02052 GLADE_HOOKUP_OBJECT (pcb_gfpw, top_to_bottom_alignment, "top_to_bottom_alignment");
02053 GLADE_HOOKUP_OBJECT (pcb_gfpw, top_to_bottom_table, "top_to_bottom_table");
02054 GLADE_HOOKUP_OBJECT (pcb_gfpw, G1_radiobutton, "G1_radiobutton");
02055 GLADE_HOOKUP_OBJECT (pcb_gfpw, C1_radiobutton, "C1_radiobutton");
02056 GLADE_HOOKUP_OBJECT (pcb_gfpw, Z1_radiobutton, "Z1_radiobutton");
02057 GLADE_HOOKUP_OBJECT (pcb_gfpw, G1_entry, "G1_entry");
02058 GLADE_HOOKUP_OBJECT (pcb_gfpw, C1_entry, "C1_entry");
02059 GLADE_HOOKUP_OBJECT (pcb_gfpw, Z1_entry, "Z1_entry");
02060 GLADE_HOOKUP_OBJECT (pcb_gfpw, top_to_bottom_label, "top_to_bottom_label");
02061 GLADE_HOOKUP_OBJECT (pcb_gfpw, left_to_right_frame, "left_to_right_frame");
02062 GLADE_HOOKUP_OBJECT (pcb_gfpw, left_to_right_alignment, "left_to_right_alignment");
02063 GLADE_HOOKUP_OBJECT (pcb_gfpw, left_to_right_table, "left_to_right_table");
02064 GLADE_HOOKUP_OBJECT (pcb_gfpw, G2_radiobutton, "G2_radiobutton");
02065 GLADE_HOOKUP_OBJECT (pcb_gfpw, C2_radiobutton, "C2_radiobutton");
02066 GLADE_HOOKUP_OBJECT (pcb_gfpw, Z2_radiobutton, "Z2_radiobutton");
02067 GLADE_HOOKUP_OBJECT (pcb_gfpw, G2_entry, "G2_entry");
02068 GLADE_HOOKUP_OBJECT (pcb_gfpw, C2_entry, "C2_entry");
02069 GLADE_HOOKUP_OBJECT (pcb_gfpw, Z2_entry, "Z2_entry");
02070 GLADE_HOOKUP_OBJECT (pcb_gfpw, left_to_right_label, "left_to_right_label");
02071 GLADE_HOOKUP_OBJECT (pcb_gfpw, heel_and_toe_goals_tab_label, "heel_and_toe_goals_tab_label");
02072 GLADE_HOOKUP_OBJECT (pcb_gfpw, hbuttonbox0, "hbuttonbox0");
02073 GLADE_HOOKUP_OBJECT (pcb_gfpw, refresh_button, "refresh_button");
02074 GLADE_HOOKUP_OBJECT (pcb_gfpw, dimensions_button, "dimensions_button");
02075 GLADE_HOOKUP_OBJECT (pcb_gfpw, alignment4, "alignment4");
02076 GLADE_HOOKUP_OBJECT (pcb_gfpw, hbox4, "hbox4");
02077 GLADE_HOOKUP_OBJECT (pcb_gfpw, image4, "image4");
02078 GLADE_HOOKUP_OBJECT (pcb_gfpw, label6, "label6");
02079 GLADE_HOOKUP_OBJECT (pcb_gfpw, preview_button, "preview_button");
02080 GLADE_HOOKUP_OBJECT (pcb_gfpw, alignment1, "alignment1");
02081 GLADE_HOOKUP_OBJECT (pcb_gfpw, hbox1, "hbox1");
02082 GLADE_HOOKUP_OBJECT (pcb_gfpw, image1, "image1");
02083 GLADE_HOOKUP_OBJECT (pcb_gfpw, label3, "label3");
02084 GLADE_HOOKUP_OBJECT (pcb_gfpw, clear_button, "clear_button");
02085 GLADE_HOOKUP_OBJECT (pcb_gfpw, hbuttonbox1, "hbuttonbox1");
02086 GLADE_HOOKUP_OBJECT (pcb_gfpw, close_button, "close_button");
02087 GLADE_HOOKUP_OBJECT (pcb_gfpw, footprint_button, "footprint_button");
02088 GLADE_HOOKUP_OBJECT (pcb_gfpw, alignment3, "alignment3");
02089 GLADE_HOOKUP_OBJECT (pcb_gfpw, hbox3, "hbox3");
02090 GLADE_HOOKUP_OBJECT (pcb_gfpw, image3, "image3");
02091 GLADE_HOOKUP_OBJECT (pcb_gfpw, label5, "label5");
02092 GLADE_HOOKUP_OBJECT (pcb_gfpw, open_button, "open_button");
02093 GLADE_HOOKUP_OBJECT (pcb_gfpw, save_button, "save_button");
02094 GLADE_HOOKUP_OBJECT (pcb_gfpw, statusbar, "statusbar");
02095 GLADE_HOOKUP_OBJECT_NO_REF (pcb_gfpw, tooltips, "tooltips");
02096 return pcb_gfpw;
02097 }
02098
02099
02100