Hello All,
I have a GtkBuilder xml created using Glade. I have a top-level window
in it named "act-window". I need to create multiple "act-window" objects
at the same time. How do I do this?
Regards,
Joe
--
Joe Steeve
HiPro IT Solutions Private Limited
http://hipro.co.in/
__
On Sun, 2012-12-02 at 13:35 +0100, Tomasz Jankowski wrote:
> I think, that you cannot easily copy widgets. In such situation I
> usually use gtk_builder_add_objects_from_file().
When we do this, can there be two sets of objects with the same name? I
dont think so. Scenario: There is one top-level
Hi, AFAIK there's no other way than recall the glade parser many times in
different
main windows functions.
Note that if you call your objects in glade ending with "_1" then you copy
and paste
the first copy will be "_2", the second "_3" and so on, it happened to me
to use this trick
and create a v
On Mon, Dec 3, 2012 at 3:12 PM, Joe Steeve wrote:
> On Sun, 2012-12-02 at 13:35 +0100, Tomasz Jankowski wrote:
>> I think, that you cannot easily copy widgets. In such situation I
>> usually use gtk_builder_add_objects_from_file().
>
> When we do this, can there be two sets of objects with the sam
I decided to construct a new GtkBuilder every time, and destroy it. It
works for me. My xml files are not that big anyway.
On Tue, 2012-12-04 at 01:33 +0900, Tristan Van Berkom wrote:
> Probably you want to use GResource to store your builder
> xml (or const gchar* memory) instead of scratching t