Re: Using GLADE for windows

Thanks Tadej. I was able to get started with GtkBuilder by executing gtk-build-convert on my target platform. I'll install python and use it on windows.
I want to know in case of multi window applications how this methodology works? In GLADE-2 I used to call create_window generated function. In GLADE3 if all windows in an xml file are created but top level windows are not shown, it takes more memory. Also how can I destroy a window  and re create it whenever necessary?

Harinandan S

On Tue, Nov 18, 2008 at 4:47 PM, Tadej Borovšak <tadeboro gmail com> wrote:

gtk-builder-convert is a python script, so in order to use it on
Windows machine, you need to install Python first.

2008/11/18 Harinandan S <harinandans gmail com>:
> Hi All,
> I was looking at GLADE3 for windows. My idea is to design on windows and
> take it to my embedded system running linux. The gtk-builder-convert present
> in bin directory inside Glade3 for windows is not an executable. In this
> case how to use gtk builder in windows?
> Regards,
> Harinandan S
> On Tue, Nov 18, 2008 at 1:04 PM, Harinandan S <harinandans gmail com> wrote:
>> 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
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org

Tadej Borovšak
gtk-list mailing list
gtk-list gnome org

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