Re: Using GLADE for windows



Thanks Tristan.
 
I wasnt aware of GtkBuilder. Nice to know that it is integrated and that would save some of my space which would have been taken by libglade.
 
Also, can I use the same methodology in Windows platform as well?

Regards,
Harinandan S


On Tue, Nov 18, 2008 at 6:52 AM, Tristan Van Berkom <tvb gnome org> wrote:
2008/11/17 Harinandan S <harinandans gmail com>:
> Hi All,
>
> I was using GLADE-2 for sometime now and wanted to look at newer versions of
> GLADE and found GLADE-3. I noticed that code generation has been removed.
> I've noticed even in GLADE-2 that some features such as color of windows,
> color of buttons and other widgets for example cannot be set. So I used to
> edit the code generated by glade2. Since glade3 is not generating code
> anymore how can one change color and do other changes?
>
> Also in glade 2, gtk_widget_show was not called on top level window created
> and user had to call that. Is this the same in glade3 also?

Yes thats the same, Glade 3 sets all widgets visible True by default unless
they are toplevel windows, which are invisible by default (you can change
this in the editor ofcourse anyway).

You should look into using GtkBuilder, its the way of the future, and
there will be a Glade release soon with full builder support.

Cheers,
                    -Tristan



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