12 #ifndef ROOT_TGMdiDecorFrame 13 #define ROOT_TGMdiDecorFrame 201 const char *
name =
"Untitled");
202 void LayoutButtons(
UInt_t buttonmask,
Bool_t isMinimized,
282 void SetMdiButtons(
ULong_t buttons);
288 void SetWindowIcon(
const TGPicture *pic);
305 void SetDecorBorderWidth(
Int_t bw);
void SetMinUserPlacement(Bool_t place=kTRUE)
virtual Bool_t HandleButton(Event_t *event)
Handle button events in resizer (grab button and resize).
TGMdiCornerWinResizer * fUpperLeftCR
void SetPreResizeHeight(Int_t h)
TGMdiCornerWinResizer * GetLowerLeftCR() const
void Maximize(Bool_t max=kTRUE)
virtual Bool_t ProcessMessage(Long_t, Long_t, Long_t)
Int_t GetPreResizeY() const
TGCompositeFrame * fRFrame
virtual void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0)
Move and/or resize the frame.
TGMdiVerticalWinResizer * fUpperHR
TGMdiTitleIcon * fWinIcon
const TGString * GetText() const
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
void SetLeftButPressed(Bool_t press=kTRUE)
virtual Int_t CloseWindow()
Int_t GetMinimizedX() const
Bool_t fMinimizedUserPlacement
TGPopupMenu * GetPopup() const
void Minimize(Bool_t min=kTRUE)
virtual void DoRedraw()
Redraw the frame.
void SetMinimizedY(Int_t y)
#define ClassDef(name, id)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Int_t GetMinimizedY() const
Bool_t IsMinimized() const
void DrawBox(Int_t x, Int_t y, UInt_t width, UInt_t height)
Draw resize box (rectangle).
void SetPreResizeX(Int_t x)
int main(int argc, char **argv)
const TGPicture * GetPicture() const
TGLayoutHints * fRightHint
void SetMidButPressed(Bool_t press=kTRUE)
TGLabel * GetWinName() const
TGMdiVerticalWinResizer * GetUpperHR() const
TGMdiHorizontalWinResizer * GetRightVR() const
ULong_t GetMdiButtons() const
Int_t GetPreResizeX() const
TGMdiVerticalWinResizer * GetLowerHR() const
Int_t GetPreResizeHeight() const
void SetPreResizeY(Int_t y)
virtual Bool_t HandleMotion(Event_t *)
TGMdiTitleBar * fTitlebar
TGMdiTitleIcon * GetWinIcon() const
TGMdiCornerWinResizer * GetLowerRightCR() const
TGMdiHorizontalWinResizer * GetLeftVR() const
TGMdiHorizontalWinResizer * fRightVR
const TGPicture * GetWindowIcon()
Bool_t IsMaximized() const
virtual void Move(Int_t x, Int_t y)
Move frame.
const char * GetString() const
virtual Bool_t HandleConfigureNotify(Event_t *event)
This event is generated when the frame is resized.
virtual Bool_t CloseWindow()
Close MDI frame window.
Int_t GetPreResizeWidth() const
TGMdiCornerWinResizer * GetUpperRightCR() const
const char * GetWindowName()
void SetMinimizedX(Int_t x)
virtual void DrawBorder()
Draw frame border.
TGMdiTitleBar * GetTitleBar() const
virtual Bool_t HandleDoubleClick(Event_t *)
void SetPreResizeWidth(Int_t w)
void SetCurrent(Bool_t cur=kTRUE)
TGMdiCornerWinResizer * fUpperRightCR
TGMdiWinResizer(const TGWindow *p, const TGWindow *mdiwin, Int_t pos, const TGGC *boxGC, Int_t linew, Int_t mdioptions=kMdiDefaultResizeMode, Int_t w=1, Int_t h=1, UInt_t options=kOwnBackground)
TGMdiWinResizer constructor.
Bool_t IsLeftButPressed()
void SetMinSize(Int_t w=50, Int_t h=20)
TGMdiCornerWinResizer * GetUpperLeftCR() const
void MoveResizeIt()
Move (resize) parent MDI window.
TGMdiMainFrame * fMdiMainFrame
Bool_t GetMinUserPlacement() const
const TGWindow * fMsgWindow
TGMdiButtons * GetButtons() const
void SetResizeMode(Int_t mode)
virtual void SetWindowName(const char *name=0)
Set window name.
TGMdiFrame * GetMdiFrame() const
Bool_t IsRightButPressed()
void SetRightButPressed(Bool_t press=kTRUE)