Re: [gtk-list] Gtk-- & CList




I dunno answer to your first question :( The code looks ok to me :)

David Abilleira Freijeiro <odaf@nexo.es> writes:
>         Another question: to pack a GTK+ widget in a GTK-- vbox I create
> a C++
> Gtk_Widget to encapsulate it:
> vbox1->pack_start(new Gtk_Widget(lista));
> 
>         Is this the right way?

Yes. Gtk_FileSelection uses the exactly same trick to make wrappers
for ok/cancel/help buttons etc. (hum, just noticed that one of the
widgets inside file selection has changed its type to CList and its
now giving warnings)

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]