[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Something wierd with gtype magic on gtk callbacks
From: |
Robert Collins |
Subject: |
[Help-smalltalk] Something wierd with gtype magic on gtk callbacks |
Date: |
Sun, 19 Sep 2004 12:40:29 +1000 |
Heres a weird one for you...
During the creation of a class hierarchy, we create a new GtkTreeView
with its associated GtkTreeSelection:
GTK.GtkTreeView(16r8A3DF18)
GTK.GtkTreeSelection(16r8A47AB8)
the user then clicks in this (the classes list), firing the onChanged:
userData event, but the type of the selection is lost:
onChanged: select data: userData:
select printNl.
self gtkview printNl.
self gtkview getSelection printNl.
=>
CObject(16r8A47AB8)
GTK.GtkTreeView(16r8A3DF18)
CObject(16r8A47AB8)
Note that the TreeSelection base address is still correct.
in 2.1.8 the type of select was determined automatically, and correctly.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-smalltalk] Something wierd with gtype magic on gtk callbacks,
Robert Collins <=