[root] / trunk / gui / gui / inc / TGClient.h Repository:
ViewVC logotype

Log of /trunk/gui/gui/inc/TGClient.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 43719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 12 23:00:08 2012 UTC (2 years, 9 months ago) by rdm
File length: 7311 byte(s)
Diff to previous 38843
From Timur:
MacOS X native Cocoa/Quartz based backend. To build this version do:
   ./configure --enable-cocoa
Code is still rough but will be refined quickly for the May release.

Revision 38843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 14 12:13:31 2011 UTC (3 years, 9 months ago) by bellenot
File length: 7174 byte(s)
Diff to previous 25391
Use the TGClient/TGResourcePool to set-up the style instead of using gEnv->GetValue() from TGMenu

Revision 25391 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 12 12:40:48 2008 UTC (6 years, 4 months ago) by rdm
File length: 6928 byte(s)
Diff to previous 25383
Change some recently added signal names to bring them inline with the
standing signal name convention (used by the recorder):

TGClient::WindowRegistered() -> TGClient::RegisteredWindow()
TGClient::ProcessingEvent() -> TGClient::ProcessedEvent()
TGFrame::ProcessConfigure() -> TGFrame::ProcessedConfigure()

Revision 25383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 10 17:10:06 2008 UTC (6 years, 4 months ago) by bellenot
File length: 6929 byte(s)
Diff to previous 23115
- From Katerina Opocenska and me:
  - Make TGClient inherit from TQObject, allowing to emit signals
  - TGClient: Add several signals used by the coming event recorder:
    WindowRegistered(Window_t w): 
       Emitted when a Window is registered in the client
    ProcessingEvent(Event_t* event, Window_t wid): 
       Emitted when processing one event for the window "wid"
  - TGFrame: Add ProcessConfigure(Event_t *event) signal used by 
    the coming event recorder in HandleConfigureNotify()

Revision 23115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 10 13:35:37 2008 UTC (6 years, 9 months ago) by rdm
File length: 6711 byte(s)
Copied from: trunk/gui/inc/TGClient.h revision 23114
Diff to previous 20882
moved to directory "gui" the following directories:

fitpanel, ged, gui, guibuilder, guihtml, qtgsi, qtroot, sessionviewer

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6711 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6711 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6759 byte(s)
Diff to previous 18121
remove :$ from tag line

Revision 18121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 09:31:24 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6769 byte(s)
Diff to previous 18112
make ctor public again.

Revision 18112 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 01:09:02 2007 UTC (7 years, 10 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6983 byte(s)
Diff to previous 15134
make TGClient ctor protected and allow only a few friend classes to create
a TGClient (prevents accidental new TGClient from CINT).

Revision 15134 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 6719 byte(s)
Diff to previous 15040
From Federico Carminati:

"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."

Revision 15040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 14 10:23:27 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 6736 byte(s)
Diff to previous 14703
From Federico:
More headers changed to support the gcc option effc++

Revision 14703 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 14 17:54:11 2006 UTC (8 years, 9 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 6646 byte(s)
Diff to previous 9991
From Valeriy Onuchin:
- TGClient.
  Two getter methods GetWaitForEvent(), GetWaitForWindow() introduced.
  New method ResetWaitFor(TGWindow *w) allows to interrupt
  WaitForUnmap, WaitForDestroy event loops.

- TGComboBox
  minory mods

- TRootBrowser, TRootCanavas
  more protection against editting was added

Revision 9991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 09:02:37 2004 UTC (10 years, 4 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6470 byte(s)
Diff to previous 9986
add two new methods:
   GetDisplayWidth()
   GetDisplayHeight()
they are more efficient then calling GetWindowSize() of the root window.

Revision 9986 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 12 10:55:26 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 6394 byte(s)
Diff to previous 9925
From Valeriy Onuchin:
 - TGWindow::fEditDisabled value now is inherited from parent window. Setting
     fEditDisabled = kTRUE in parent constructor disables guibulding/editting in all subframes.
 -  Disable editting/guibuilding for TBrowser.
 -  SetEditDisabled, IsEditDisabled() added to TGClient which allow to disable/enable
     editting/guibuilding globally.
 -  Add TVirtualGuiBld::Instance() method which loads plugin and creates gGuiBuilder object.
 -  Correct TGButton::HandleButton when fStayDown is kTRUE. Previously after call
    TGButton::AllowStayDown(kTRUE)  button remains pressed "forever". After this fix
    button is released after next button pressing. TGButton::AllowStayDown(kTRUE)  provides
    "push button behaviour"

Revision 9925 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 16:05:30 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 6296 byte(s)
Diff to previous 9924
From Valeriy Onuchin:
- TGClient::GetWindowByName method added (needed for guibuilding).

Revision 9924 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 14:36:20 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 6235 byte(s)
Diff to previous 9772
From valeriy Onuchin:
- force option added to TGClient::NeedRedraw method.
  If force is kTRUE - TGWindow::DoRedraw method is called  immediatly
  (needed for guibuilder)

Revision 9772 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 17 15:06:56 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6212 byte(s)
Diff to previous 9758
in case of batch mode create via a static object a default TGClient object.
This will allow the creation of GUI widgets in batch mode and avoids to
have to test all gClient and fClient pointers from being 0.

Revision 9758 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 13 17:03:46 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6099 byte(s)
Diff to previous 9654
small changes in comments and white spaces.

Revision 9654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 2 11:43:12 2004 UTC (10 years, 5 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 6092 byte(s)
Diff to previous 9433
add idle event handler which will be called when there are no GUI events
anymore and all scheduled redraws have been performed. Needed for the
TGHtml widget.

Revision 9433 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 8 08:17:52 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 5884 byte(s)
Diff to previous 9427
Fix a wrong return type for GetListOfWindows.
   THashList       *GetListOfWindows() const { return fWlist; }

Revision 9427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 8 08:07:22 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 5883 byte(s)
Diff to previous 8546
From valeriy Onuchin:
add two getters to TGClient class

 - added TGClient::GetListOfWindows returns the list of all ROOT windows
 - added TGClient::GetListOfPopups returns the list of all ROOT popup windows

Revision 8546 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 6 21:12:24 2004 UTC (10 years, 9 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 5755 byte(s)
Diff to previous 8330
added extra argument to GetFont() and GetFontByName() to not load the
"fixed" font by default if the requested font cannot be loaded.

Revision 8330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 5 11:29:02 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 5697 byte(s)
Diff to previous 8329
add comments to GetRoot(), GetDefaultRoot() and SetRoot().

Revision 8329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 5 11:13:04 2004 UTC (10 years, 10 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 5779 byte(s)
Diff to previous 8264
change fgRoot to fDefaultRoot. This allows for potentially more than one
TGClient in case of multiple displays.

Revision 8264 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 15:49:43 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 5668 byte(s)
Diff to previous 8228
Move inline definition of GetDefaultRoot from inline to implementation function.

Revision 8228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 16:17:33 2004 UTC (10 years, 11 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 5687 byte(s)
Diff to previous 7950
From Valeriy:
use gClient->GetDefaultRoot() instead of GetRoot(). This allows the widgets
to be embedded but ensures popups to still be a child of the real X11 root
window.

Revision 7950 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 20 10:41:11 2004 UTC (11 years ago) by brun
Original Path: trunk/gui/inc/TGClient.h
File length: 5681 byte(s)
Diff to previous 7052
From Valeriy Onuchin

I added new method to TGCompositeFrame::SetEditting.
This mode allows to "embed ROOT GUI applications into composite frame".
That is very similar to ActiveX, but multiplatform.
The following example demonstrates how it works:

    TGMainFrame *m = new TGMainFrame(gClient->GetRoot(), 500, 500);
    m->SetEditable();    // activate edit mode
    gSystem->Load("$ROOTSYS/test/Aclock"); // load Aclock demo
    Aclock a;    // create animated aclock canvas
    gROOT->Macro("$ROOTSYS/tutorials/guitest.C"); // execute guitest.C
    m->SetEditable(0); // back to normal mode
    m->MapWindow();

The exposited frame will contain two embedded GUI application with full functionality.

 - mods do not have side effects on ROOT GUI classes
 - tested under win32gdk and linux

Revision 7052 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 6 23:42:39 2003 UTC (11 years, 5 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 5435 byte(s)
Diff to previous 6663
remove erroreous statement from class description.

Revision 6663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 11:55:32 2003 UTC (11 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 5510 byte(s)
Diff to previous 4394
major changes in the resource management of the GUI classes. Introduced the
new class TGResourcePool which loads and keeps track of the 3 main resource
pools: fonts, picture and graphics contexts. Fonts are now handled via the
new TGFont class (and TGFontPool). In the past the loading of these resources
was done in TGClient and required all GUI classes to have TGClient as friend
to have their global statics initialized by TGClient. Adding a new widget
required TGClient.cxx to be changed too. This was obviously not good.
In addition it is now possible to find the full definition of the original
resource back based on a resource handle (GContext_t or FontStruct_t yielding
a TGGC or TGFont) which is needed for the SavePrimitive() functionality.

The resource pool can be found via TGClient (e.g. gClient->GetResourcePool()).
To see all active graphics contexts, fonts and pictures do:
   gClient->GetResourcePool()->GetGCPool()->Print()
   gClient->GetResourcePool()->GetFontPool()->Print()
   gClient->GetResourcePool()->GetPicturePool()->Print()
For more examples see the widget source code.

These changes are largely backward compatible except maybe for some low
level 3rd party widgets that use some TGFrame internals. In these cases
the following sed command will patch the code:
   sed -e "s/fgBlackGC()/GetBlackGC()()/g" \
       -e "s/fgWhiteGC()/GetWhiteGC()()/g" \
       -e "s/fgHilightGC()/GetHilightGC()()/g" \
       -e "s/fgShadowGC()/GetShadowGC()()/g" \
       -e "s/fgBckgndGC()/GetBckgndGC()()/g" \
       widget.cxx > widget.cxx.new

Revision 4394 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 22 18:24:06 2002 UTC (12 years, 9 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 4551 byte(s)
Diff to previous 2966
fix handling of popup menus over transient windows which are waited for
(via WaitFor()). Fix by Daniel Sigg.

Revision 2966 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 3 20:59:59 2001 UTC (13 years, 3 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 4383 byte(s)
Diff to previous 2208
new method ProcessEventsFor(TGWindow *w). Use this method to instead
of TSystem::ProcessEvents() in case you want to allow on events for
the specified TGWindow to be processed (like when this is a progress
meter dialog).

Revision 2208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 15 14:17:48 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 4341 byte(s)
Diff to previous 2099
new method ForceRedraw() which sets a flag that tells the GUI to call
DoRedraw() next time in the event processing loop instead of waiting
till there are no more X11 server events. For example of usage see
test/guiviewer.cxx.

Revision 2099 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 28 16:30:14 2001 UTC (13 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 4219 byte(s)
Diff to previous 3
changes for the handling of foreign windows, i.e. windows not created by
the ROOT GUI. This are typically windows and widgets created by Xt and Xm.
On how to use these new features see the TRootOIViewer.cxx code.

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/gui/inc/TGClient.h
File length: 3910 byte(s)
Copied from: branches/rdm/gui/inc/TGClient.h revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/gui/inc/TGClient.h
File length: 3910 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9