PIPS
|
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "genC.h"
#include "database.h"
#include "misc.h"
#include "linear.h"
#include "ri.h"
#include "ri-util.h"
#include "pipsdbm.h"
#include "top-level.h"
#include <gtk/gtk.h>
#include "gpips.h"
Go to the source code of this file.
Macros | |
#define | QUICK_QUIT "Quit without saving" |
#define | CLOSE_QUIT "Close (save) the Workspace & Quit" |
#define | DELETE_QUIT "Delete the Workspace & Quit" |
#define | CD_HACK_QUIT "Change Directory (tcl/tk hack)" |
Functions | |
void | cd_notify (GtkWidget *widget, gpointer data) |
void | quit_notify (GtkWidget *widget, gpointer data) |
void | create_quit_button () |
Variables | |
GtkWidget * | quit_menu_item |
#define CD_HACK_QUIT "Change Directory (tcl/tk hack)" |
Definition at line 49 of file gtk_quit.c.
#define CLOSE_QUIT "Close (save) the Workspace & Quit" |
Definition at line 47 of file gtk_quit.c.
#define DELETE_QUIT "Delete the Workspace & Quit" |
Definition at line 48 of file gtk_quit.c.
#define QUICK_QUIT "Quit without saving" |
Definition at line 46 of file gtk_quit.c.
void cd_notify | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 53 of file gtk_quit.c.
References direct_change_directory().
Referenced by create_quit_button().
void create_quit_button | ( | ) |
Definition at line 108 of file gtk_quit.c.
References CD_HACK_QUIT, cd_notify(), CLOSE_QUIT, DELETE_QUIT, main_window_menu_bar, QUICK_QUIT, quit_menu_item, and quit_notify().
Referenced by create_menus().
void quit_notify | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Destroy all the windows (close open files)
Clear the log window to avoid the message about the edited state: clear_log_subwindow(NULL, NULL); Does not work... Quit: xv_destroy[_safe](main_frame);
Exit xv_main_loop() at top level:
Definition at line 57 of file gtk_quit.c.
References check_delete_workspace(), CLOSE_QUIT, close_workspace(), db_get_current_workspace_name(), DELETE_QUIT, edit_window, gpips_gtk_menu_item_get_label(), main_window, number_of_gpips_windows, and SMALL_BUFFER_LENGTH.
Referenced by create_quit_button(), and create_windows().
GtkWidget* quit_menu_item |
Definition at line 51 of file gtk_quit.c.
Referenced by create_quit_button().