Thanks Tadej.  I'm using Gtk 2.12.2 and that API is not available. I
destroyed a label and called gtk_builder_add_from_file once again. So how to
create that label once again?

Similarly for a window. At the start all windows are created. If I destroy
one of them how to recreate them later?

Regards,
Harinandan S


On Tue, Nov 18, 2008 at 5:51 PM, Tadej Borovšak <[EMAIL PROTECTED]> wrote:

> You can use gtk_builder_add_objects_from_file function to build just
> part of your GUI. When taht part is not needed any more, destroy it
> the usual way (e.g. gtk_widget_destroy).
>
> 2008/11/18 Harinandan S <[EMAIL PROTECTED]>:
> > 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?
> > Regards,
> > Harinandan S
> >
> >
> > On Tue, Nov 18, 2008 at 4:47 PM, Tadej Borovšak <[EMAIL PROTECTED]>
> wrote:
> >>
> >> Hi,
> >>
> >> 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 <[EMAIL PROTECTED]>:
> >> > 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 <[EMAIL PROTECTED]>
> >> > 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 <[EMAIL PROTECTED]>
> >> >> wrote:
> >> >>>
> >> >>> 2008/11/17 Harinandan S <[EMAIL PROTECTED]>:
> >> >>> > 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
> >> > [email protected]
> >> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >> >
> >> >
> >>
> >>
> >> --
> >> Tadej Borovšak
> >> [EMAIL PROTECTED]
> >> [EMAIL PROTECTED]
> >> _______________________________________________
> >> gtk-list mailing list
> >> [email protected]
> >> http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> >
> > _______________________________________________
> > gtk-list mailing list
> > [email protected]
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> >
>
>
>
> --
> Tadej Borovšak
> 00386 (0)40 613 131
>  [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to