PIPS
|
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <xview/xview.h>
#include <xview/panel.h>
#include <xview/notice.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 "wpips.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 (Menu menu, Menu_item menu_item) |
void | quit_notify (Menu menu, Menu_item menu_item) |
void | create_quit_button () |
Variables | |
Panel_item | quit_button |
void cd_notify | ( | Menu | menu, |
Menu_item | menu_item | ||
) |
Definition at line 56 of file xv_quit.c.
References direct_change_directory().
Referenced by create_quit_button().
void create_quit_button | ( | ) |
Definition at line 124 of file xv_quit.c.
References CD_HACK_QUIT, cd_notify(), CLOSE_QUIT, DELETE_QUIT, main_panel, QUICK_QUIT, quit_button, and quit_notify().
void quit_notify | ( | Menu | menu, |
Menu_item | menu_item | ||
) |
Send to emacs if we are in the emacs mode:
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 62 of file xv_quit.c.
References check_delete_workspace(), CLOSE_QUIT, close_workspace(), db_get_current_workspace_name(), DELETE_QUIT, edit_frame, main_frame, number_of_wpips_windows, send_notice_prompt_to_emacs(), SMALL_BUFFER_LENGTH, and wpips_emacs_mode.
Referenced by create_quit_button().
Panel_item quit_button |
Definition at line 52 of file xv_quit.c.
Referenced by create_quit_button(), and create_status_subwindow().