00001 /*-------------------------------------------------------------------- 00002 * vmessage.h 00003 * 00004 */ 00005 00006 #ifndef VMESSAGE_H 00007 #define VMESSAGE_H 00008 00009 #include "tcltk_calling_convention.h" 00010 #include <tcl.h> 00011 #include <tk.h> 00012 #include "vwidget.h" 00013 00014 class vmessage : public vwidget { 00015 00016 private: 00017 00018 public: 00019 vmessage(vwidget *par); 00020 ~vmessage(void); 00021 void destroy(void); 00022 virtual int kind(void) { return WIDGET_MESSAGE; } 00023 00024 void set_message(char *mesg); 00025 00026 /* interface with tcl/tk */ 00027 static int TCLTK_CALLING_CONVENTION vmessage_cmd(ClientData clientData, Tcl_Interp *interp, int argc, 00028 char *argv[]); 00029 00030 }; 00031 00032 #endif