Gnome2::Print
- From: Cornel Ghiban <green neomedia ro>
- To: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Gnome2::Print
- Date: Tue, 27 Jan 2004 14:44:07 -0500
Hi,
I am trying to change the page orientation when printing something from
my application from 'Portrait' to 'Landscape'.
I made some tests and successfuly read the values, like:
print $conf->get(Gnome2::Print::Config->key_page_orientation);
# got R0, R90, ..
But when I try to change this by:
print $conf->set(Gnome2::Print::Config->key_page_orientation, 'R90');
I get this error message:
*** unhandled exception in callback:
*** property Settings.Document.Page.LogicalOrientation not found in
object class GnomePrintConfig at-- /scrip/file.pl line xyz
In the manual I found only:
$config->set_boolean
$config->set_int
$config->set_double
$config->set_length
methods, shoud there by one for strings?
Any hints?
Tnx,
Cornel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]