Re: [Inkscape-devel] handling statusbar messages
On Sun, 2003-12-14 at 22:19, bulia byak wrote:
Here's a quick question. I want to display the warnings on the statusbar (instead of g_warning) in sp_text_insert in sp-text.c. What I have at
this
point is just an SPText object. How do I go from it to SPView? I see no members in _SPText that I could usefully -> to.
There is not a 1:1 relationship between SPTexts and SPViews.
Which means, we need to set the status of the global current desktop, after all?
_________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/photos&pgmarket=en-ca&RU=http%3a%...
On Sun, 2003-12-14 at 22:35, bulia byak wrote:
There is not a 1:1 relationship between SPTexts and SPViews.
Which means, we need to set the status of the global current desktop, after all?
No, it just means that status bar messages need to be set from places that know which SPView they're operating on behalf of (if any), or less likely that an SPView needs to be passed in somewhere that it currently isn't.
Maybe we need to step back a moment though -- which g_warnings do you want to turn into status bar messages, and why?
-mental
participants (2)
-
bulia byak
-
MenTaLguY