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

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

Go to the documentation of this file.
00001 /*--------------------------------------------------------------------
00002  * vbuttonbar.h
00003  *
00004  */
00005 
00006 #ifndef VBUTTONBAR_H
00007 #define VBUTTONBAR_H
00008 
00009 #include "tcltk_calling_convention.h"
00010 #include "vwidget.h"
00011 
00012 class binding;
00013 class button_info;
00014 
00015 //typedef slist_tos<button_info*> button_info_list;
00016 typedef list<button_info*> button_info_list;
00017 
00018 class vbuttonbar : public vwidget {
00019 protected:
00020   button_info_list *button_list;
00021 
00022 public:
00023 
00024   vbuttonbar(vwidget *par);
00025   ~vbuttonbar(void);
00026   void destroy(void);
00027 
00028   void add_button(binding *b, char *text);
00029   void clear(void);
00030 
00031   virtual int kind(void) { return WIDGET_BUTTONBAR; }
00032 
00033   /* interface with tcl/tk */
00034   static int TCLTK_CALLING_CONVENTION vbuttonbar_cmd(ClientData, Tcl_Interp *interp, int argc,
00035                             char *argv[]);
00036 };
00037 
00038 #endif

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