Re: Get a list of object *names* from GtkBuilder

2015-11-26 Thread Daniel Kasak
OK so based on Emmanuele's suggestion ( thanks, by the way ), I've done it like this, which is dodgy, but still pretty simple, and could be of use for others who might bump into this thread with similar requirements. First, in the abstract 'window' class, I've got a global variable to store the

Re: Get a list of object *names* from GtkBuilder

2015-11-17 Thread Daniel Kasak
I anticipated this question :) Here's what I'm trying to do ... I've got an abstract 'window' class that handles loading windows from a builder file, and attaching some convenience functions and stuff. I want to save the state of various things in a SQLite database. For example, GtkPaned

Re: Get a list of object *names* from GtkBuilder

2015-11-16 Thread Emmanuele Bassi
Hi; On 16 November 2015 at 02:26, Daniel Kasak wrote: > Greetings all. > > I'd like to get a list of object names from a GtkBuilder object ( I'm > using Perl ). I know about > https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-get-objects > - which

Get a list of object *names* from GtkBuilder

2015-11-15 Thread Daniel Kasak
Greetings all. I'd like to get a list of object names from a GtkBuilder object ( I'm using Perl ). I know about https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-get-objects - which returns a list of objects, but I really need the names. Is it possible? Dan

Re: Get a list of object *names* from GtkBuilder

2015-11-15 Thread Tadej Borovšak
Hi. Dne 16.11.2015 (pon) ob 13:26 +1100 je Daniel Kasak napisal(a): > Greetings all. > > I'd like to get a list of object names from a GtkBuilder object ( I'm > using Perl ). I know about > https://developer.gnome.org/gtk3/stable/GtkBuilder.html#gtk-builder-g > et-objects > - which returns a