On 02.08.2011 23:45, Torsten Schoenfeld wrote:
On 24.07.2011 18:56, Roderich Schupp wrote:
Maybe gperl_get_object and gperl_get_object_check need
SvGETMAGIC(sv);
*before* checking SvROK(sv)?
Yes, that's exactly the solution. And we have gperl_sv_is_defined for
that. When I added it, I
On 03.08.2011 05:16, Sergei Steshenko wrote:
Does this mean there's going to be Gtk2 release soon ?
Hopefully.
Is there a prior Gtk2 release not affected by this problem ?
I don't think so.
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
On 24.07.2011 18:56, Roderich Schupp wrote:
Maybe gperl_get_object and gperl_get_object_check need
SvGETMAGIC(sv);
*before* checking SvROK(sv)?
Yes, that's exactly the solution. And we have gperl_sv_is_defined for
that. When I added it, I audited each occurrence of SvOK, but
--- On Tue, 8/2/11, Torsten Schoenfeld kaffeeti...@gmx.de wrote:
From: Torsten Schoenfeld kaffeeti...@gmx.de
Subject: Re: GTK2::Button retrieved from Tie::IxHash hash value does not
render
To: gtk-perl-list@gnome.org
Date: Tuesday, August 2, 2011, 2:45 PM
On 24.07.2011 18:56, Roderich
On Sat, Jul 23, 2011 at 1:35 AM, Kevin Ryde use...@zip.com.au wrote:
Clears as in runs the magic I suppose, so as to reach the ixhash
FETCH(). Does that mean gperl_get_object() and friends ought to
SvGETMAGIC() or something before looking into an sv?
Dunno. I instrumented
Roderich Schupp roderich.sch...@googlemail.com writes:
Maybe gperl_get_object and gperl_get_object_check need
SvGETMAGIC(sv);
*before* checking SvROK(sv)?
Yes, I think so. Always seems a bit fraught enquiring into the nature
of an sv with those OK or TYPE macros.
If I intentionally
On Thu, Jul 21, 2011 at 7:29 PM, Emmanuel Rodriguez
emmanuel.rodrig...@gmail.com wrote:
It seems that Tie::IxHash is storing the string representation of the
buttons instead of the real values.
No. Otherwise
$button{qbimport}-signal_connect( clicked = \qbimport );
would already have died.
On Fri, Jul 22, 2011 at 08:45, Roderich Schupp
roderich.sch...@googlemail.com wrote:
On Thu, Jul 21, 2011 at 7:29 PM, Emmanuel Rodriguez
emmanuel.rodrig...@gmail.com wrote:
It seems that Tie::IxHash is storing the string representation of the
buttons instead of the real values.
No. Otherwise
On Fri, Jul 22, 2011 at 10:03 AM, Emmanuel Rodriguez
emmanuel.rodrig...@gmail.com wrote:
There's something odd going on there with the reference to the button.
Right. I guess that $vbox-add is an XS function?
You have to do extra work to correctly access tied magic stuff from XS.
Here's what
Roderich Schupp roderich.sch...@googlemail.com writes:
That's why assigning the value to a dummy variable works: it clears
the tie magic.
Clears as in runs the magic I suppose, so as to reach the ixhash
FETCH(). Does that mean gperl_get_object() and friends ought to
SvGETMAGIC() or something
On Thu, Jul 21, 2011 at 16:59, Terrence Brannon scheme...@gmail.com wrote:
The simple program below:
use Gtk2 -init;
use Tie::IxHash;
# Gtk2-init; works if you didn't use -init on use
my $window = Gtk2::Window-new('toplevel');
my $vbox = Gtk2::VBox-new (FALSE, 0);
$window-add($vbox);
#tie
11 matches
Mail list logo