Log of /trunk/gui/gui/inc/TGClient.h
Parent Directory
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
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
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
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
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
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
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
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
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
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.
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.