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]
- [pygtk] Any Chance the Next release will support? Edward Muller
- Re: [pygtk] Any Chance the Next release will suppo... wrobell
- Re: [pygtk] Any Chance the Next release will suppo... Andreas Degert
- Re: [pygtk] Any Chance the Next release will suppo... Matt Wilson
- Re: [pygtk] Any Chance the Next release will suppo... Matt Wilson
- Re: [pygtk] Any Chance the Next release will s... Fred L. Drake, Jr.
- Re: [pygtk] Any Chance the Next release will suppo... wrobell
- Re: [pygtk] Any Chance the Next release will s... Matt Wilson
- [pygtk] Docs? Enrique Herrera
- Re: [pygtk] Any Chance the Next release will suppo... Edward Muller
- Re: [pygtk] Any Chance the Next release will suppo... David M. Cook
- Re: [pygtk] Any Chance the Next release will s... Fred L. Drake, Jr.
