On Sat, Aug 23, 2003 at 02:16:43PM +0100, Peter Stokes wrote: > I am a newbie to Python and Pygtk, so please bear with me if this is the > millionth time you have been asked this. > > I have written my first program with Radio buttons and need to > understand how do I pass AND use a a parameter by reference (list called > Company),
Since variables are always references in python, so are all function parameters. As long as you pass a mutable object like a list, dict, or user-defined object, you should be able to change it in your callback; so something else is going on here. I'd put a print in the callback to see whether the condition is ever met for the insert to happen. Dave Cook _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/