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 list

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: set custom entry background?

2015-11-15 Thread Allin Cottrell
On Sun, 15 Nov 2015, Allin Cottrell wrote: On Mon, 16 Nov 2015, Stefan Salewski wrote: On Sun, 2015-11-15 at 14:32 -0500, Allin Cottrell wrote: I'm trying to set a custom background for a GtkEntry I think you have to use CSS -- unfortunately that is some work and I can not provide an exampl

Re: set custom entry background?

2015-11-15 Thread Allin Cottrell
On Mon, 16 Nov 2015, Stefan Salewski wrote: On Sun, 2015-11-15 at 14:32 -0500, Allin Cottrell wrote: I'm trying to set a custom background for a GtkEntry I think you have to use CSS -- unfortunately that is some work and I can not provide an example yet. See https://developer.gnome.org/gtk3/

Re: set custom entry background?

2015-11-15 Thread Stefan Salewski
On Sun, 2015-11-15 at 14:32 -0500, Allin Cottrell wrote: > I'm trying to set a custom background for a GtkEntry I think you have to use CSS -- unfortunately that is some work and I can not provide an example yet. See https://developer.gnome.org/gtk3/stable/GtkWidget.html#gtk-widget-overri de-back

set custom entry background?

2015-11-15 Thread Allin Cottrell
I'm trying to set a custom background for a GtkEntry (as a temporary thing, by way of an alert for invalid input). I can do that fine for gtk 2 using gtk_widget_modify_base(), but am struggling with gtk 3. Here's what I've come up with so far (omitting error checking and clean-up for brevity).