From: Kero van Gelder Date: 2001-10-31T08:09:16+09:00 Subject: [ruby-talk:23880] Re: best way to group objects in Ruby-Tk? > Hi, > > What is the best way to group objects together? > I want to manipulate a group of lines/circles/text and > move them as if it were a (single) widget. You're trying to do things I haven't digged into very much, yet. But you can label the objects and then apply some action to all objects with the same label. I'm not sure how; hope there is some Ruby iterator for it... > Not speaking Japanese, but searching for TkcWindow I first thought that > TkcWindow might be the best way todo it as it allows embedding of other > widgets. > http://www2s.biglobe.ne.jp/~Nori/ruby/ja/tk-faq/rtkFAQ-11.html > But I didn't get it to work; Probably I don't know what > TkcWindows are good for; If it's a Window, it'll probably be square and hide everything beneath it. Otherwise, I can't get it to work, either. Maybe Hidetoshi NAGAI can shed some light on this? +--- Kero ------------------------------ kero@chello.nl ---+ | Don't split your mentality without thinking twice | | Proud like a God -- Guano Apes | +--- M38c ------- http://members.chello.nl/~k.vangelder ---+