Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

nci/suif/suif2b/suifbrowser/visual/vtoplevel.h

Go to the documentation of this file.
00001 /*--------------------------------------------------------------------
00002  * vtoplevel.h
00003  *
00004  */
00005 
00006 #ifndef VTOPLEVEL_H
00007 #define VTOPLEVEL_H
00008 
00009 #include "tcltk_calling_convention.h"
00010 #include "vwidget.h"
00011 #include "vtcl.h"
00012 
00013 class window;
00014 
00015 class vtoplevel : public vwidget {
00016 
00017 protected:
00018   window *owner;
00019 
00020 public:
00021   vtoplevel(char *title, window *win);
00022   ~vtoplevel(void);
00023   void destroy(void);
00024   virtual int kind(void) { return WIDGET_TOPLEVEL; }
00025 
00026   /* misc */
00027   void set_title(char *title);
00028   window *win(void) { return owner; }
00029 
00030   /* display */
00031   void raise(void);
00032   void lower(void);
00033   void iconify(void);
00034   void deiconify(void);
00035   void withdraw(void);
00036 
00037   /* interface with tcl/tk */
00038   static int TCLTK_CALLING_CONVENTION vtoplevel_cmd(ClientData clientData, Tcl_Interp *interp,
00039                            int argc, char *argv[]);
00040 };
00041 
00042 #endif

Generated at Mon Jul 31 13:42:36 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000