From: Yasushi Shoji Date: 2000-12-27T07:34:25+09:00 Subject: [ruby-talk:8098] Re: I ported my app from Tk to GTK At Mon, 25 Dec 2000 08:46:09 +0900, Kevin Smith wrote: > >> 1. GTK does not require the distinction between > >> root and toplevel. > > > >with X, it does. You can't create Root window, but you can create > >toplevel windows. dont' know about win32. > > Oh. Well, in my little test, I'm creating two > windows with the TOPLEVEL flag, and everything > seems to be working fine. that's just two toplevel windows. I poked around win32 portion of gdk and seems like win version of gdk window also distinguish top level windows and the root window. take a look at around line 528 of gdkwindow-win32.c if you have cvs version. (gdk_window_new()) or maybe it's just the difference of definition for the word `toplevel' we use under tk and gtk? > >hope this helps, > > Thanks for your response. In case it wasn't > clear, I wasn't criticizing Ruby/GTK. As I have > said, I am quite happy with it. I just hoped to > help anyone else who was porting from Tk. yup, so did I ;) -- yashi