A 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 filechooser dialog "close" signal is emitted. | |
void | on_filechooser_dialog_current_folder_changed (GtkFileChooser *filechooser, gpointer user_data) |
The filechooser dialog "current folder changed" signal is emitted. | |
void | on_filechooser_dialog_open_button_clicked (GtkButton *button, gpointer user_data) |
The filechooser dialog "Open" button is clicked. | |
void | on_filechooser_dialog_selection_changed (GtkFileChooser *filechooser, gpointer user_data) |
The filechooser dialog "selection changed" signal is emitted. | |
void | on_filechooser_dialog_update_preview (GtkFileChooser *filechooser, gpointer user_data) |
The filechooser dialog "update preview" signal is emitted. | |
GtkWidget * | create_filechooser_dialog (void) |
Create a filechooser dialog. |
A filechooser dialog for pcb-gfpw (GTK UI).
Definition in file filechooser_dialog.c.
GtkWidget* create_filechooser_dialog | ( | void | ) |
Create a filechooser dialog.
Parameters: void
.
Returns: GtkWidget filechooser
dialog.
Definition at line 310 of file filechooser_dialog.c.
Referenced by on_open_button_clicked().
void on_filechooser_dialog_cancel_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The file chooser dialog "Cancel" button is clicked.
Parameters: *button
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 60 of file filechooser_dialog.c.
void on_filechooser_dialog_close | ( | GtkDialog * | dialog, | |
gpointer | user_data | |||
) |
The filechooser dialog "close" signal is emitted.
The file chooser dialog "close" signal is emitted.
Parameters: *dialog
is the caller widget.
Parameters: user_data
.
Returns: none.
Definition at line 84 of file filechooser_dialog.c.
void on_filechooser_dialog_current_folder_changed | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The filechooser dialog "current folder changed" signal is emitted.
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 113 of file filechooser_dialog.c.
void on_filechooser_dialog_open_button_clicked | ( | GtkButton * | button, | |
gpointer | user_data | |||
) |
The filechooser dialog "Open" button is clicked.
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 177 of file filechooser_dialog.c.
References all_entries_need_updated(), read_footprintwizard_file(), temp_dir, verbose, and work_dir.
void on_filechooser_dialog_selection_changed | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The filechooser dialog "selection changed" signal is emitted.
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 275 of file filechooser_dialog.c.
void on_filechooser_dialog_update_preview | ( | GtkFileChooser * | filechooser, | |
gpointer | user_data | |||
) |
The filechooser dialog "update preview" signal is emitted.
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 295 of file filechooser_dialog.c.