30 ClassImp(TEveWindowEditor);
35 TEveWindowEditor::TEveWindowEditor(
const TGWindow *p, Int_t width, Int_t height,
36 UInt_t options, Pixel_t back) :
37 TGedFrame(p, width, height, options | kVerticalFrame, back),
41 MakeTitle(
"TEveWindow");
43 fShowTitleBar =
new TGCheckButton(
this,
"Show title-bar");
44 AddFrame(fShowTitleBar);
45 fShowTitleBar->Connect(
"Clicked()",
"TEveWindowEditor",
this,
52 void TEveWindowEditor::SetModel(TObject* obj)
54 fM =
dynamic_cast<TEveWindow*
>(obj);
56 fShowTitleBar->SetState(fM->GetShowTitleBar() ? kButtonDown : kButtonUp);
62 void TEveWindowEditor::DoShowTitleBar()
64 fM->SetShowTitleBar(fShowTitleBar->IsOn());