Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GuiTable.h

Go to the documentation of this file.
00001 
00002 //
00003 // $Id: GuiTable.h,v 1.3 2002/11/14 20:10:38 bv Exp $
00004 //
00005 // GuiTable
00006 //
00007 // Package: MIDAD
00008 //
00009 // A table.
00010 //
00011 // Contact: bv@bnl.gov
00012 //
00013 // Created on: Tue Nov  6 16:18:51 2001
00014 //
00016 
00017 #ifndef MIDAD_GUITABLE_H
00018 #define MIDAD_GUITABLE_H
00019 
00020 #include <Midad/Gui/GuiBase.h>
00021 #include <TGFrame.h>
00022 
00023 // For xopt/yopt in Attach()
00024 #define GUI_NOTHING 0
00025 #define GUI_EXPAND 1<<1
00026 #define GUI_FILL   1<<2
00027 #define GUI_SHRINK 1<<3
00028 #define GUI_CENTER 1<<4
00029 #define GUI_LOW 1<<5
00030 #define GUI_HI 1<<6
00031 #define GUI_ALL (GUI_EXPAND|GUI_FILL|GUI_SHRINK)
00032 
00033 // Don't inherit from GuiCompositeFrameBase since table is a little
00034 // special (doesn't use Add(TGFrame&);
00035 class GuiTable : public TGCompositeFrame, public GuiBase
00036 {
00037 
00038 public:
00039 
00040     GuiTable(TGWindow& parent, int nrows, int ncols,
00041              int width=1, int height=1);
00042     virtual ~GuiTable();
00043     void Attach(TGFrame& child, int left, int right, int top, int bottom,
00044                 unsigned int xopt=GUI_ALL, 
00045                 unsigned int yopt=GUI_ALL);
00046 
00047 };                              // end of class GuiTable
00048 
00049 #endif  // MIDAD_GUITABLE_H

Generated on Mon Feb 15 11:06:47 2010 for loon by  doxygen 1.3.9.1