Gnome2::Canvas::Text text-height property oddness
- From: James Muir <hemlock vtlink net>
- To: gtk-perl-list gnome org
- Subject: Gnome2::Canvas::Text text-height property oddness
- Date: Tue, 20 Sep 2005 09:14:34 -0400
Hi,
The Gnome2::Canvas::Text man page indicates that the 'text-height' 
property is writable, yet when I try to set this property I get the 
following message:
GnomeCanvas-WARNING **: gnome-canvas-text.c:1072: invalid property id 41 
for "text-height" of type `GParamDouble' in `GnomeCanvasText' at bug1.pl 
line 32.
I can read the 'text-height' property. A similar issue exists for 
'text-width'. I would have thought that these properties were read only. 
Here is the code snippet that I prepared to demonstrate the problem:
my $text = Gnome2::Canvas::Item->new($root, 'Gnome2::Canvas::Text',
                    x=>10, y=>10,
                    'text-height'=>10,
                    'text'=>'Hello World! What a delightful morning it 
is!',
                    'fill-color'=>'dark green',
                    anchor=>'north-west',
                    font=>'Sans 10');
-James
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]