Header file for the filechooser dialog for pcb-gfpw (GTK UI). More...
Go to the source code of this file.
Functions | |
void | on_filechooser_dialog_cancel_button_clicked (GtkButton *button, gpointer user_data) |
The file chooser dialog "Cancel" button is clicked. | |
void | on_filechooser_dialog_close (GtkDialog *dialog, gpointer user_data) |
The file chooser dialog "close" signal is emitted. | |
void | on_filechooser_dialog_current_folder_changed (GtkFileChooser *filechooser, gpointer user_data) |
The file chooser dialog "current folder changed" signal is emitted. | |
void | on_filechooser_dialog_open_button_clicked (GtkButton *button, gpointer user_data) |
The file chooser dialog "Open" button is clicked. | |
void | on_filechooser_dialog_selection_changed (GtkFileChooser *filechooser, gpointer user_data) |
The file chooser dialog "selection changed" signal is emitted. | |
void | on_filechooser_dialog_update_preview (GtkFileChooser *filechooser, gpointer user_data) |
The file chooser dialog "update preview" signal is emitted. | |
GtkWidget * | create_filechooser_dialog (void) |
Create a filechooser dialog. |
Header file for the filechooser dialog for pcb-gfpw (GTK UI).
Definition in file filechooser_dialog.h.
GtkWidget* create_filechooser_dialog | ( | void | ) |
Create a filechooser dialog.
Parameters: void
.
Returns: GtkWidget filechooser
dialog.
Definition at line 310 of file filechooser_dialog.c.
References on_filechooser_dialog_cancel_button_clicked(), on_filechooser_dialog_close(), on_filechooser_dialog_current_folder_changed(), on_filechooser_dialog_open_button_clicked(), on_filechooser_dialog_selection_changed(), and on_filechooser_dialog_update_preview().
void on_filechooser_dialog_cancel_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The file chooser dialog "Cancel" button is clicked.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2161 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_close | ( | GtkDialog * | dialog, | |
gpointer | user_data | |||
) |
The file chooser dialog "close" signal is emitted.
Parameters: *dialog
is the caller widget.
Parameters: user_data
.
Returns: none.
The file chooser dialog "close" signal is emitted.
Parameters: *dialog
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2185 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_current_folder_changed | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The file chooser dialog "current folder changed" signal is emitted.
temp_dir
. Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
The file chooser dialog "current folder changed" signal is emitted.
temp_dir
. Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2214 of file callbacks.c.
References temp_dir, and verbose.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_open_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The file chooser dialog "Open" button is clicked.
fpw_filename
. temp_dir
into work_dir
. Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
The file chooser dialog "Open" button is clicked.
fpw_filename
. temp_dir
into work_dir
. Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2278 of file callbacks.c.
References all_entries_need_updated(), read_footprintwizard_file(), temp_dir, verbose, and work_dir.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_selection_changed | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The file chooser dialog "selection changed" signal is emitted.
temp_fpw_filename
. - read the values from the selected footprintwizard file in a temporary set of variables temp_*
.
- generate a new preview image.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
temp_fpw_filename
. - read the values from the selected footprintwizard file in a temporary set of variables temp_*
.
- generate a new preview image.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
The file chooser dialog "selection changed" signal is emitted.
temp_fpw_filename
. - read the values from the selected footprintwizard file in a temporary set of variables temp_*
.
- generate a new preview image.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2376 of file callbacks.c.
Referenced by create_filechooser_dialog().
void on_filechooser_dialog_update_preview | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The file chooser dialog "update preview" signal is emitted.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
The file chooser dialog "update preview" signal is emitted.
- update the preview widget.
Parameters: *filechooser
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 2396 of file callbacks.c.
Referenced by create_filechooser_dialog().