class TRootGuiBuilder: public TGuiBuilder, public TGMainFrame


 TRootGuiBuilder



                ROOT GUI Builder principles


  With the GUI builder, we try to make the next step from WYSIWYG
  to embedded editing concept - WYSIWYE ("what you see is what you edit").
  The ROOT GUI Builder allows modifying real GUI objects.
  For example, one can edit the existing GUI application created by
  $ROOTSYS/tutorials/gui/guitest.C.
  GUI components can be added to a design area from a widget palette,
  or can be borrowed from another application.
  One can drag and and drop TCanvas's menu bar into the application.
  GUI objects can be resized and dragged, copied and pasted.
  ROOT GUI Builder allows changing the layout, snap to grid, change object's
  layout order via the GUI Builder toolbar, or by options in the right-click
  context menus.
  A final design can be immediatly tested and used, or saved as a C++ macro.
  For example, it's possible to rearrange buttons in control bar,
  add separators etc. and continue to use a new fancy control bar in the
  application.



  The following is a short description of the GUI Builder actions and key shortcuts:

   o Press Ctrl-Double-Click to start/stop edit mode
   o Press Double-Click to activate quick edit action (defined in root.mimes)

                 Selection, grabbing, dropping

    It is possible to select, drag any frame and drop it to any frame

   o Click left mouse button or Ctrl-Click to select an object to edit.
   o Press right mouse button to activate context menu
   o Mutiple selection (grabbing):
      - draw lasso and press Return key
      - press Shift key and draw lasso
   o Dropping:
      - select frame and press Ctrl-Return key
   o Changing layout order:
      - select frame and use arrow keys to change layout order
   o Alignment:
      - draw lasso and press arrow keys (or Shift-Arrow key) to align frames

                    Key shortcuts

   o Return    - grab selected frames
   o Ctrl-Return - drop frames
   o Del       - delete selected frame
   o Shift-Del - crop action
   o Ctrl-X    - cut action
   o Ctrl-C    - copy action
   o Ctrl-V    - paste frame into the last clicked position
   o Ctrl-L    - compact
   o Ctrl-B    - enable/disable layout
   o Ctrl-H    - switch horizontal-vertical layout
   o Ctrl-G    - switch on/off grid
   o Ctrl-S    - save action
   o Ctrl-O    - open and execute a ROOT macro file.  GUI components created
                 after macro execution will be emebedded to currently edited
                 design area.
   o Ctrl-N    - create new main frame


/* */

Function Members (Methods)

public:
TRootGuiBuilder(const TGWindow* p = 0)
virtual~TRootGuiBuilder()
voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
virtual voidAddAction(TGuiBldAction* act, const char* sect)
virtual voidTGCompositeFrame::AddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
virtual voidAddMacro(const char* macro, TImage* img)
virtual voidAddSection(const char* sect)
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
virtual Bool_tTGMainFrame::BindKey(const TGWindow* w, Int_t keycode, Int_t modifier) const
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
static TGFrame*BuildCanvas()
static TGFrame*BuildComboBox()
static TGFrame*BuildH3DLine()
static TGFrame*BuildHProgressBar()
static TGFrame*BuildHScrollBar()
static TGFrame*BuildListBox()
static TGFrame*BuildListTree()
static TGFrame*BuildShutter()
static TGFrame*BuildTab()
static TGFrame*BuildTextEdit()
static TGFrame*BuildV3DLine()
static TGFrame*BuildVProgressBar()
static TGFrame*BuildVScrollBar()
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidChangeSelected(TGFrame* f)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual voidCloseWindow()
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
Bool_tTGFrame::Contains(Int_t x, Int_t y) const
virtual voidTObject::Copy(TObject& object) const
static TGPopupMenu*CreatePopup()
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()SIGNAL
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
voidTGMainFrame::DontCallClose()
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidTGFrame::Dump() const
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
virtual voidEraseStatusBar()
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual TGFrame*ExecuteAction()
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
TGMdiFrame*FindEditableMdiFrame(const TGWindow* win)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TGuiBldAction*TGuiBuilder::GetAction() const
virtual Pixel_tTGFrame::GetBackground() const
static const TGGC&TGFrame::GetBckgndGC()
static ULong_tGetBgnd()
static TGGC*GetBgndGC()
TList*TGMainFrame::GetBindList() const
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
voidTGMainFrame::GetClassHints(const char*& className, const char*& resourceName) const
TGClient*TGObject::GetClient() const
static Int_tTGWindow::GetCounter()
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGCompositeFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGCompositeFrame::GetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual TDNDData*TGFrame::GetDNDData(Atom_t)
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TObject::GetDrawOption() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
TGMdiFrame*GetEditable() const
virtual UInt_tTGWindow::GetEditDisabled() const
TGuiBldEditor*GetEditor() const
UInt_tTGFrame::GetEventMask() const
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGCompositeFrame::GetFrameFromPoint(Int_t x, Int_t y)
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
virtual const char*TGMainFrame::GetIconName() const
const char*TGMainFrame::GetIconPixmap() const
Handle_tTGObject::GetId() const
virtual TGLayoutManager*TGCompositeFrame::GetLayoutManager() const
virtual TList*TGCompositeFrame::GetList() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
TGMdiMainFrame*GetMdiMain() const
UInt_tTGFrame::GetMinHeight() const
UInt_tTGFrame::GetMinWidth() const
voidTGMainFrame::GetMWMHints(UInt_t& value, UInt_t& funcs, UInt_t& input) const
virtual const char*TGWindow::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
const TGWindow*TGWindow::GetParent() const
static ULong_tGetPopupBgnd()
static TGGC*GetPopupBgndGC()
static ULong_tGetPopupHlght()
static TGGC*GetPopupHlghtGC()
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
Int_tTGCompositeFrame::GetState(TGFrame* f) const
virtual const char*TObject::GetTitle() const
TGDockableFrame*GetToolDock() const
virtual UInt_tTObject::GetUniqueID() const
static const TGGC&TGFrame::GetWhiteGC()
static Pixel_tTGFrame::GetWhitePixel()
UInt_tTGFrame::GetWidth() const
const char*TGMainFrame::GetWindowName() const
voidTGMainFrame::GetWMPosition(Int_t& x, Int_t& y) const
voidTGMainFrame::GetWMSize(UInt_t& w, UInt_t& h) const
voidTGMainFrame::GetWMSizeHints(UInt_t& wmin, UInt_t& hmin, UInt_t& wmax, UInt_t& hmax, UInt_t& winc, UInt_t& hinc) const
EInitialStateTGMainFrame::GetWMState() const
Int_tTGFrame::GetX() const
Int_tTGFrame::GetY() const
virtual Bool_tTGMainFrame::HandleButton(Event_t* event)
virtual voidHandleButtons()
virtual Bool_tTGMainFrame::HandleClientMessage(Event_t* event)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleConfigureNotify(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleCrossing(Event_t*)
virtual Bool_tTGFrame::HandleDNDDrop(TDNDData*)
virtual Atom_tTGFrame::HandleDNDEnter(Atom_t*)
virtual Bool_tTGFrame::HandleDNDFinished()
virtual Bool_tTGFrame::HandleDNDLeave()
virtual Atom_tTGFrame::HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
virtual Bool_tTGCompositeFrame::HandleDoubleClick(Event_t*)
virtual Bool_tTGCompositeFrame::HandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tTGCompositeFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGWindow::HandleExpose(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tHandleKey(Event_t* event)
virtual voidHandleMenu(Int_t id)
virtual Bool_tTGMainFrame::HandleMotion(Event_t* event)
virtual Bool_tTGMainFrame::HandleSelection(Event_t* event)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGMainFrame::HandleSelectionRequest(Event_t* event)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual voidHandleWindowClosed(Int_t id)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
virtual voidHide()
virtual voidTGCompositeFrame::HideFrame(TGFrame* f)
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
static TGFrame*HSplitter()
virtual voidTGWindow::IconifyWindow()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTGFrame::Inspect() const
static TGuiBuilder*TGuiBuilder::Instance()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
Bool_tTGCompositeFrame::IsArranged(TGFrame* f) const
Bool_tTGCompositeFrame::IsArranged(TGFrameElement* ptr) const
virtual Bool_tTGCompositeFrame::IsComposite() const
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() const
virtual Bool_tTGCompositeFrame::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
virtual Bool_tTGuiBuilder::IsExecutable() const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tIsGrabButtonDown() const
virtual Bool_tTGCompositeFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGCompositeFrame::IsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSelectMode() const
virtual Bool_tTObject::IsSortable() const
Bool_tTGCompositeFrame::IsVisible(TGFrame* f) const
Bool_tTGCompositeFrame::IsVisible(TGFrameElement* ptr) const
Bool_tTObject::IsZombie() const
virtual voidTGCompositeFrame::Layout()
static voidTQObject::LoadRQ_OBJECT()
virtual voidTGWindow::LowerWindow()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::ls(Option_t* option = "") const
virtual voidTGFrame::MapRaised()
virtual voidTGCompositeFrame::MapSubwindows()
virtual voidTGFrame::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual Int_tTGCompositeFrame::MustCleanup() const
virtual Bool_tNewProject(Event_t* event = 0)
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
virtual Bool_tOpenProject(Event_t* event = 0)
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TGuiBuilder&TGuiBuilder::operator=(const TGuiBuilder&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::Print(Option_t* option = "") const
virtual voidTGFrame::ProcessedEvent(Event_t* event)SIGNAL
virtual Bool_tTGCompositeFrame::ProcessMessage(Long_t, Long_t, Long_t)
static voidPropagateBgndColor(TGFrame* frame, Pixel_t color)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTGCompositeFrame::RemoveAll()
virtual voidTGMainFrame::RemoveBind(const TGWindow* w, Int_t keycode, Int_t modifier) const
virtual voidTGCompositeFrame::RemoveFrame(TGFrame* f)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGFrame::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTGMainFrame::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGCompositeFrame::SavePrimitiveSubframes(ostream& out, Option_t* option = "")
virtual Bool_tSaveProject(Event_t* event = 0)
virtual voidTGMainFrame::SaveSource(const char* filename = "Rootappl.C", Option_t* option = "")MENU
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidTGMainFrame::SendCloseMessage()
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
virtual voidTGuiBuilder::SetAction(TGuiBldAction* act)
virtual voidTGFrame::SetBackgroundColor(Pixel_t back)
virtual voidTGWindow::SetBackgroundPixmap(Pixmap_t pixmap)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidTGMainFrame::SetClassHints(const char* className, const char* resourceName)
virtual voidTGCompositeFrame::SetCleanup(Int_t mode = kLocalCleanup)
voidTGFrame::SetDNDSource(Bool_t onoff)
voidTGFrame::SetDNDTarget(Bool_t onoff)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGFrame::SetDrawOption(Option_t* = "")
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGCompositeFrame::SetEditable(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetEditDisabled(UInt_t on = 1)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGFrame::SetHeight(UInt_t h)
voidTGMainFrame::SetIconName(const char* name)
const TGPicture*TGMainFrame::SetIconPixmap(const char* iconName)
voidTGMainFrame::SetIconPixmap(char** xpm_array)
virtual voidTGCompositeFrame::SetLayoutBroken(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetLayoutManager(TGLayoutManager* l)
virtual voidTGCompositeFrame::SetMapSubwindows(Bool_t on)
virtual voidTGFrame::SetMaxHeight(UInt_t h)
virtual voidTGFrame::SetMaxWidth(UInt_t w)
virtual voidTGFrame::SetMinHeight(UInt_t h)
virtual voidTGFrame::SetMinWidth(UInt_t w)
voidTGMainFrame::SetMWMHints(UInt_t value, UInt_t funcs, UInt_t input)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTGFrame::SetSize(const TGDimension& s)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGFrame::SetWidth(UInt_t w)
virtual voidTGMainFrame::SetWindowName(const char* name = 0)
voidTGMainFrame::SetWMPosition(Int_t x, Int_t y)
voidTGMainFrame::SetWMSize(UInt_t w, UInt_t h)
voidTGMainFrame::SetWMSizeHints(UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
voidTGMainFrame::SetWMState(EInitialState state)
virtual voidTGFrame::SetX(Int_t x)
virtual voidTGFrame::SetY(Int_t y)
virtual voidShow()
virtual voidTGCompositeFrame::ShowFrame(TGFrame* f)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidSwitchToolbarButton()
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual Bool_tTGCompositeFrame::TranslateCoordinates(TGFrame* child, Int_t x, Int_t y, Int_t& fx, Int_t& fy)
virtual voidTGFrame::UnmapWindow()
virtual voidUpdate()
virtual voidUpdateStatusBar(const char* text = 0)
virtual voidTObject::UseCurrentStyle()
static TGFrame*VSplitter()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGFrame::DoRedraw()
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
static Time_tTGFrame::GetLastClick()
TStringTGMainFrame::GetMWMfuncString() const
TStringTGMainFrame::GetMWMinpString() const
TStringTGMainFrame::GetMWMvalueString() const
TStringTGFrame::GetOptionString() const
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidTObject::MakeZombie()
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
private:
voidBindKeys()
voidEnableEditButtons(Bool_t on = kTRUE)
voidEnableLassoButtons(Bool_t on = kTRUE)
voidEnableSelectedButtons(Bool_t on = kTRUE)
TGButton*FindActionButton(const char* name, const char* section)
voidInitMenu()

Data Members

public:
enum TGMainFrame::[unnamed] { kDontCallClose
};
enum TGFrame::[unnamed] { kDeleteWindowCalled
};
enum TGWindow::EEditMode { kEditEnable
kEditDisable
kEditDisableEvents
kEditDisableGrab
kEditDisableLayout
kEditDisableResize
kEditDisableHeight
kEditDisableWidth
kEditDisableBtnEnable
kEditDisableKeyEnable
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TGuiBldAction*TGuiBuilder::fActioncurrent action
Pixel_tTGFrame::fBackgroundframe background color
TList*TGMainFrame::fBindListlist with key bindings
Int_tTGFrame::fBorderWidthframe border width
TStringTGMainFrame::fClassNameWM class name
TGClient*TGObject::fClientConnection to display server
Int_tTGFrame::fDNDStateEDNDFlags
Atom_t*TGMainFrame::fDNDTypeListhandles DND types
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGFrameElement*TGFrame::fFEpointer to frame element
UInt_tTGFrame::fHeightframe height
TStringTGMainFrame::fIconNameicon name
TStringTGMainFrame::fIconPixmapicon pixmap name
Handle_tTGObject::fIdX11/Win32 Window identifier
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
TGLayoutManager*TGCompositeFrame::fLayoutManagerlayout manager
TList*TGCompositeFrame::fListcontainer of frame elements
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
UInt_tTGMainFrame::fMWMFuncsMWM functions
UInt_tTGMainFrame::fMWMInputMWM input modes
UInt_tTGMainFrame::fMWMValueMWM decoration hints
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
UInt_tTGFrame::fMaxHeightmaximal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMinWidthminimal frame width
Int_tTGCompositeFrame::fMustCleanupcleanup mode (see EFrameCleanup)
TStringTGWindow::fNamename of the window used in SavePrimitive()
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
UInt_tTGFrame::fOptionsframe options
const TGWindow*TGWindow::fParentParent window
TStringTGMainFrame::fResourceNameWM resource name
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
UInt_tTGMainFrame::fWMHeightWM height
UInt_tTGMainFrame::fWMHeightIncWM height increments
EInitialStateTGMainFrame::fWMInitStateWM initial state
UInt_tTGMainFrame::fWMMaxHeightWM max height
UInt_tTGMainFrame::fWMMaxWidthWM max width
UInt_tTGMainFrame::fWMMinHeightWM min height
UInt_tTGMainFrame::fWMMinWidthWM min width
UInt_tTGMainFrame::fWMWidthWM width
UInt_tTGMainFrame::fWMWidthIncWM width increments
Int_tTGMainFrame::fWMXWM x position
Int_tTGMainFrame::fWMYWM y position
UInt_tTGFrame::fWidthframe width
TStringTGMainFrame::fWindowNamewindow name
Int_tTGFrame::fXframe x position
Int_tTGFrame::fYframe y position
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals
static const TGGC*TGFrame::fgBckgndGC
static const TGGC*TGFrame::fgBlackGC
static Pixel_tTGFrame::fgBlackPixel
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
static Window_tTGFrame::fgDbw
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Pixel_tTGFrame::fgDefaultFrameBackground
static TGLayoutHints*TGCompositeFrame::fgDefaultHintsdefault hints used by AddFrame()
static Pixel_tTGFrame::fgDefaultSelectedBackground
static const TGGC*TGFrame::fgHilightGC
static Bool_tTGFrame::fgInit
static UInt_tTGFrame::fgLastButton
static Time_tTGFrame::fgLastClick
static const TGGC*TGFrame::fgShadowGC
static UInt_tTGFrame::fgUserColor
static const TGGC*TGFrame::fgWhiteGC
static Pixel_tTGFrame::fgWhitePixel
private:
TGButton*fActionButtonaction button
TGMdiFrame*fEditablemdi frame where editted frame is located
TGuiBldEditor*fEditorframe property editor
const TGPicture*fIconPicicon picture
TGMdiMainFrame*fMainmain mdi frame
TGuiBldDragManager*fManagerdrag and drop manager
TGMdiMenuBar*fMenuBarguibuilder menu bar
TGPopupMenu*fMenuEdit"Edit" popup menu
TGPopupMenu*fMenuFile"File" popup menu
TGPopupMenu*fMenuHelp"Help" popup menu
TGPopupMenu*fMenuWindow"Window" popup menu
TGFrame*fSelectedselected frame
TGShutter*fShutterwidget palette
TGDockableFrame*fShutterDockdockable frame where widget palette is located
TGPictureButton*fStartButtonstart button
TGStatusBar*fStatusBarguibuilder status bar
TGToolBar*fToolBarguibuider toolbar
TGDockableFrame*fToolDockdockable frame where toolbar is located
static TGGC*fgBgnd
static TGGC*fgBgndPopup
static TGGC*fgBgndPopupHlght

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TRootGuiBuilder(const TGWindow* p = 0)
 Create GUI builder application.
~TRootGuiBuilder()
 Destructor.
void CloseWindow()
 Close GUI builder via window manager "Close" button.
TGButton * FindActionButton(const char* name, const char* section)
 Find action by name
void AddAction(TGuiBldAction* act, const char* sect)
 Add new action to widget palette.
void AddSection(const char* sect)
 Add new shutter item.
void HandleButtons()
 Handle buttons in the GUI builder's widget palette.
TGFrame * ExecuteAction()
 Execute an action.
void InitMenu()
 Inititiate GUI Builder menus.
void ChangeSelected(TGFrame* f)
 Set selected frame.
void EnableLassoButtons(Bool_t on = kTRUE)
 Enable toolbar buttons for alignment.
void EnableSelectedButtons(Bool_t on = kTRUE)
 Enable/disable toolbar buttons according to the selected frame.
void EnableEditButtons(Bool_t on = kTRUE)
 Enable/disable toolbar buttons according to the selected frame.
void Update()
 Update gui builder.
Bool_t IsSelectMode()
 Return the status of the selected mode.
Bool_t IsGrabButtonDown()
 Return the status of the grab mode.
Bool_t HandleKey(Event_t* event)
 Handle keys.
Bool_t NewProject(Event_t* event = 0)
 Create a new project.
Bool_t OpenProject(Event_t* event = 0)
 Open new gui builder project.
Bool_t SaveProject(Event_t* event = 0)
 Save selected project.
void AddMacro(const char* macro, TImage* img)
 Add macro to "User's Macros" section
 Input img must be static - do not delete it.
TGMdiFrame * FindEditableMdiFrame(const TGWindow* win)
 Find the editable frame.
void SwitchToolbarButton()
 Switch image of toolbar edit button according to the current state.
void HandleMenu(Int_t id)
 Handle menu items.
void HandleWindowClosed(Int_t id)
 Handler for closed MDI frame.
void UpdateStatusBar(const char* text = 0)
 Update information shown on the status bar.
void EraseStatusBar()
 Clear information shown in the status bar.
void BindKeys()
 Keyborad key binding.
TGFrame * VSplitter()
 Create new vertical splitter (TGVSplitter).
TGFrame * HSplitter()
  Creates new horizontal splitter (TGHSplitter).
void Hide()
 Hide builder.
ULong_t GetBgnd()
 Return default background color.
TGGC * GetBgndGC()
 Return background GC.
void PropagateBgndColor(TGFrame* frame, Pixel_t color)
 Set a background color to frame and all its subframes.
ULong_t GetPopupBgnd()
 Return background color for popup menus.
TGGC * GetPopupBgndGC()
 Return background GC for popup menus.
ULong_t GetPopupHlght()
 Return highlighted color for popup menu entry.
TGGC * GetPopupHlghtGC()
 Return background GC for highlighted popup menu entry.
TGPopupMenu * CreatePopup()
 Return style popup menu.
TGFrame * BuildListTree()
 Helper method used in guibuilding
TGFrame * BuildCanvas()
 Helper method used in guibuilding to create TGCanvas widget
TGFrame * BuildShutter()
 Helper method used in guibuilding to create TGShutter widget
TGFrame * BuildTextEdit()
 Helper method to create TGTextEdit widget
TGFrame * BuildTab()
 Helper method to create TGTab widget
TGFrame * BuildListBox()
 Helper method to create TGListBox widget
TGFrame * BuildComboBox()
 Helper method to create TGComboBox widget
TGFrame * BuildH3DLine()
 Helper method to create TGHorizontal3DLine widget.
TGFrame * BuildV3DLine()
 Helper method to create TGVertical3DLine widget.
TGFrame * BuildHScrollBar()
 Helper method to create TGHScrollBar
TGFrame * BuildVScrollBar()
 Helper method to create TGVScrollBar
TGFrame * BuildHProgressBar()
 Helper method to create TGHProgressBar
TGFrame * BuildVProgressBar()
 Helper method to create TGVProgressBar
void Show()
{ MapRaised(); }
TGuiBldEditor * GetEditor()
{ return fEditor; }
TGDockableFrame * GetToolDock()
{ return fToolDock; }
TGMdiMainFrame * GetMdiMain()
{ return fMain; }
TGMdiFrame * GetEditable()
{ return fEditable; }

Author: Valeriy Onuchin 12/09/04
Last change: root/guibuilder:$Id: TRootGuiBuilder.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:52
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.