At Sat, 23 Dec 2000 16:33:47 +0900, Kevin Smith wrote: > > 1. Gtk::CList does not seem to have a "get > selected" method, nor a "size" method like Tk. So > I had to catch the select and unselect events and > remember the current item for myself. And I had > to keep track of the row count myself, also. It > seems like I must just be missing something. Gtk::CList#columns don't know about tk's "get selected" > 2. Based on the C API, I was expecting to find a > method named CList#remove but it is actually > CList#remove_row. from ChangeLog: - since Gtk::CList#remove conflict with Gtk::Continer#remove in name, rename it to Gtk::CList#remove_row as Gtk--. Gtk+ core team has already admited that CList is broken from design. so can't complain, i guess. > 3. The default size for the Text widget is really > small. So I have to create default sizes for my > outer windows to make it reasonable. how does Tk's widget behave? you can read widget size negotiation (especially GtkAllocation/GtkRequisioion) on GGAD > 4. Widget creation is a bit different. In Tk, you > specify the parent as part of the .new call. With > GTK, you create the widget, and later tell the > parent to add the widget to itself. there was some trick if i'm not misunderstanding. don't remenber exactly. > And the stuff where GTK really helped me out: > > 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. hope this helps, Merry Christmas all, -- yashi