Hi
I have a newbie question about StatusBar. What's the difference between
SetStatusText and PushStatusText? It seems to me that both do the same
thing. Could anyone give an example how one must be used over the other?
Thanks.
PushStatusText and PopStatustext seem to act like a stack.
For example to save an older one, before displaying another Text
Given: in the statusbar, there is the text: "old text"
PushStatusText ("nex text", 0) (content of field0 is saved and new-text
is displayed)
...
PopStatusText (0) ("old-text" is displayed again)
(But this I haven't tried out, but you could the statusbar sample
with the timer do switch the statustext)
···
On Sun, 20 Mar 2005 23:35:50 EST, xiet@rpi.edu wrote:
Hi
I have a newbie question about StatusBar. What's the difference between
SetStatusText and PushStatusText? It seems to me that both do the same
thing. Could anyone give an example how one must be used over the other?
Thanks.
--
Franz Steinhaeusler
xiet@rpi.edu wrote:
Hi
I have a newbie question about StatusBar. What's the difference between
SetStatusText and PushStatusText? It seems to me that both do the same
thing. Could anyone give an example how one must be used over the other?
SetStatusText will replace the text that is already on the status bar. PushStatusText will save what is already there so that it can be restored later with PopStatusText.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!