Bug in frame->set_shadow_type?

Dear perl-gtk-Gurus,

I have just noticed that I can't set the shadow_style of a frame to 
anything but the default if I don't use a style for that frame


This works fine

# Setup the style
$font_names{'UIHead2'} = '-adobe-helvetica-bold-r-normal-*-*-140-*-*-p-*-iso8859-1';
my $gui_head2_style = new Gtk::Style;
# Create a frame
$frame = new Gtk::Frame(" Log- und Warnsystem  ");
$frame->set_shadow_type( 'etched_out' );

Whereas this doesn't change the frame-shadow:
my $fr = new Gtk::Frame($msg_titles[0]);
$fr->set_shadow_type( 'etched_out' );

I found a similar question in the archives:

but that thread seems to be D.B.S (dead before solution ;-)

My System:

1. SuSE Linux 7.1 (not very good BTW)

2. perl -version

This is perl, v5.6.0 built for i586-linux

Copyright 1987-2000, Larry Wall

3. in Gtk.pm:
$VERSION = '0.7000';

Stefan Kamphausen              <kamphausen novelscience com>
Novel Science International GmbH

Postfach    2944                 Tel:   +49 551 / 50 41 6- 0
37019 Goettingen                 Fax:   +49 551 / 50 41 6-99
Germany                          http://www.novelscience.com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]