Re: Gtk2::Style set methods
- From: Emmanuele Bassi <bassi-e libero it>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2::Style set methods
- Date: Tue, 25 May 2004 19:56:46 +0200
* muppet <scott asofyet org>:
Emmanuele Bassi said:
$style = $widget->style->copy;
$style->bg_pixmap('normal') = $pixmap;
it would have to be done as
$style->bg_pixmap('normal', $newpixmap);
This, of course, will do... I've been reading too much PyGTK code today.
;-)
unless we use the xsubs as lvalues stuff, which i've forgotten how to do.
I think, for consistency (e.g. with widget properties), that your method
is definitely better than mine.
will look into that soon; there are memory management issues with handling the
return value of that xsub.
Thanks.
Ciao,
Emmanuele.
--
Emmanuele Bassi (Zefram) [ http://www.emmanuelebassi.net ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]