PCB-FPW developer documentation based on version: 0.0.11

Data Structures | Functions

select_exceptions.h File Reference

Header file for a widget for selecting exception pin/pads in an array type footprint. More...

Go to the source code of this file.

Data Structures

struct  SelectionButtonSet
 Selection button wrapper type. More...

Functions

static void select_exceptions_clear_cb (GtkWidget *, GtkWidget *)
static void select_exceptions_close_cb (GtkWidget *, GtkWidget *)
static void select_exceptions_delete_event (GtkWidget *, GdkEvent *)
static void select_exceptions_ok_cb (GtkWidget *, GtkWidget *)
static void select_exceptions_selection_button_clicked_cb (GtkWidget *, GtkWidget *)
int select_exceptions_create_window (gint, gint)
 Create a selection exceptions window.

Detailed Description

Header file for a widget for selecting exception pin/pads in an array type footprint.

Author:
Copyright (C) 2007, 2008, 2009, 2010 by Bert Timmerman <bert.timmerman@xs4all.nl>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Definition in file select_exceptions.h.


Function Documentation

int select_exceptions_create_window ( gint  number_of_rows,
gint  number_of_columns 
)

Create a selection exceptions window.

  • create only one single window with a title "select exceptions".
  • depending on the package type create the pattern of selection buttons.
  • add "Close", "Clear" and "OK" stock buttons.
Returns:
EXIT_SUCCESS when the function is completed.
Parameters:
number_of_rows : is the number of pin/pad rows (selection buttons).
number_of_columns : is the number of pin/pad columns (selection buttons).

Definition at line 242 of file select_exceptions_dialog.c.

References SelectionButtonSet::active, SelectionButtonSet::button_widget, get_pin_pad_exception(), SelectionButtonSet::id, SelectionButtonSet::name, row_letters, select_exceptions_clear_cb(), select_exceptions_close_cb(), select_exceptions_delete_event(), select_exceptions_ok_cb(), and select_exceptions_selection_button_clicked_cb().

Referenced by on_pin_pad_exceptions_button_clicked().

Here is the call graph for this function: