Re: 'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-10-25 Thread Torsten Schoenfeld
On 09.08.2016 09:53, "Torsten Schönfeld" wrote: > Looks like the Gtk3::Container::child_set* and child_get* methods need > overrides. With the last rounds of commits to G:O:I and Gtk3, the child and style property stuff should now work as it did in Gtk2. Please try it out.

Re: 'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-10-23 Thread Torsten Schoenfeld
On 19.10.2016 12:51, Mike Martin wrote: > Hi , I am migrating an app from gtk2 to gtk3 and when I call child_get > from a table widget I am getting > Gtk3:;Table has no method child_get. > > Could this be related? Yes, it's basically the same issue. To properly support child and style

Re: 'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-08-10 Thread Daniel Kasak
That's it :) Thanks Torsten. Dan On Tue, Aug 9, 2016 at 5:53 PM, "Torsten Schönfeld" wrote: > "Daniel Kasak" : >> I'm trying to set the 'needs-attention' property of a GtkStack's child page. >> >> When I go: >> >> use Glib qw( TRUE FALSE ); >> >> my

Re: 'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-08-09 Thread Torsten Schönfeld
"Daniel Kasak" : > I'm trying to set the 'needs-attention' property of a GtkStack's child page. > > When I go: > > use Glib qw( TRUE FALSE ); > > my $needs_attention = FALSE; > > if ( $self->{ 'Column' . $i . 'Datasheet' }->count ) { > $needs_attention = TRUE; > } >

'Cannot convert arbitrary SV to GValue' when setting child property of GtkStack

2016-08-08 Thread Daniel Kasak
Hi all. I'm trying to set the 'needs-attention' property of a GtkStack's child page. When I go: use Glib qw( TRUE FALSE ); my $needs_attention = FALSE; if ( $self->{ 'Column' . $i . 'Datasheet' }->count ) { $needs_attention = TRUE; } my $child = $self->{stack}->get_child_by_name( 'page'