I want to attach a signal handler to a signal for a Window
(I would also like to do this for other widgets, but I'll hold
off for now on that)

What I want is a smart widget -- when it gets "shown" I want it
to populate some widgets in it with data.  I would prefer to do this
rather than use whatever causes the window to be shown to handle
it.

Assume I have a simple Window with a single button.
When that button is clicked, the signal handler causes
another window to be shown via show() (i use glade and
it has the 'visible' flag set to off).  When the window
is shown, I want it to populate a list in it with data,
everytime it is shown.  And by 'shown' here I mean made
visible.  How do I do this?

Can I do this for other widgets? Can I make them "smart" so that
when they become visible they populate themselves?
I also use notebooks, but don't want widgets in the notebooks
to trigger every time I switch pages.

Secondly, what are map, realize, show in terms that I can
understand?  I use show() and hide() all the time for stuff,
but what are map and realize?
-- 
Jon Nelson                \|/ ____ \|/   Gort,
[EMAIL PROTECTED]    "@'/ ,. \`@"   Klaatu
C and Python Programmer   /_| \__/ |_\   barada
Motorcycle Enthusiast        \__U_/      nikto.
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to