On Mon, Jan 24, 2000 at 07:41:55PM -0500, Edward Muller wrote:
> 
> Then why does this:
> -----------------
> from gtk import *
> 
> foo = GtkObject()
> 
> foo.set_data('fubar','myvalue')

foo is an empty GtkObject wrapper!  There isn't anything underneath.
It's an empty shell.  You can't set data without a GtkObject on the C
side.

from gtk import *

foo = GtkWindow()
foo.set_data('fubar','myvalue')
print foo.get_data('fubar')

returns:
myvalue

Matt


To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to