Thanks to Matthew and the new GUI(s), you don't need this anymore, but in
case you want more info:
Unfortunately, that was quite a pain: I had to maintain a symbolic
representation of each attribute of the widget object to (re)instantiate it
with the correct arguments, possibly changing the parent
Wonderful! Thanks Matthew, that will make a number of things a lot easier
now.
On Sat, Jan 22, 2011 at 04:30, Matthew Flatt wrote:
> I've added `reparent' as a method of `subwindow<%>'s. The original and
> new parents have to be in the same eventspace.
>
> My initial reaction to Jon's request wa
I've added `reparent' as a method of `subwindow<%>'s. The original and
new parents have to be in the same eventspace.
My initial reaction to Jon's request was that it was too much trouble
to add `reparent', but sometimes I underestimate how much easier things
have become with the `racket/gui' rewr
Can you say more about the serialization required? I found that I could
add a `deep-copy' method that to my gui objects that accepted the new
parent so each object could instantiate itself as needed.
Maybe all the gui objects in racket could implement some deep-copy<%>
interface?
On 01/21/2011 08
Unless it has changed, you have to recreate copies all children under the
new parent, and remove the old ones. MrEd Designer uses that extensively,
but this requires a kind of serialization of the gui objects.
Laurent
On Fri, Jan 21, 2011 at 13:09, Robby Findler wrote:
> No, it isn't possible wi
No, it isn't possible with the current GUI toolkit to do that.
Robby
On Thu, Jan 20, 2011 at 12:34 PM, Jon Rafkind wrote:
> Is there a way to change the parent of a gui object? (anything from the
> framework collection)
> _
> For list-related admi
Is there a way to change the parent of a gui object? (anything from the
framework collection)
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
7 matches
Mail list logo