Gtk2::PrintSettings(3pm) User Contributed Perl Documentation Gtk2::PrintSettings(3pm)NAME
Gtk2::PrintSettings - wrapper for GtkPrintSettings
HIERARCHY
Glib::Object
+----Gtk2::PrintSettings
METHODS
printsettings = Gtk2::PrintSettings->new
printsettings = Gtk2::PrintSettings->new_from_file ($file_name)
o $file_name (localized file name)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12
printsettings = Gtk2::PrintSettings->new_from_key_file ($key_file, $group_name)
o $key_file (Glib::KeyFile)
o $group_name (string or undef)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12
$settings->foreach ($func, $data=undef)
o $func (scalar)
o $data (scalar)
string or undef = $settings->get ($key)
o $key (string)
$settings->set ($key, $value)
o $key (string)
o $value (string or undef)
boolean = $settings->has_key ($key)
o $key (string)
$settings->load_file ($file_name)
o $file_name (string)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.14
$settings->load_key_file ($key_file, $group_name)
o $key_file (Glib::KeyFile)
o $group_name (string or undef)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.14
$settings->to_file ($file_name)
o $file_name (localized file name)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12
$settings->to_key_file ($key_file, $group_name)
o $key_file (Glib::KeyFile)
o $group_name (string or undef)
Since: gtk+ 2.12
$settings->unset ($key)
o $key (string)
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::PrintSettings(3pm)
Check Out this Related Man Page
Gtk2::Gdk::PixbufLoader(3pm) User Contributed Perl Documentation Gtk2::Gdk::PixbufLoader(3pm)NAME
Gtk2::Gdk::PixbufLoader - wrapper for GdkPixbufLoader
HIERARCHY
Glib::Object
+----Gtk2::Gdk::PixbufLoader
METHODS
pixbufloader = Gtk2::Gdk::PixbufLoader->new
pixbufloader = Gtk2::Gdk::PixbufLoader->new_with_mime_type ($mime_type)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.4
pixbufloader = Gtk2::Gdk::PixbufLoader->new_with_type ($image_type)
May croak with a Glib::Error in $@ on failure.
pixbufanimation or undef = $loader->get_animation
$loader->close
May croak with a Glib::Error in $@ on failure.
hash reference = $loader->get_format
Since: gtk+ 2.2
pixbuf = $loader->get_pixbuf
$loader->set_size ($width, $height)
o $width (integer)
o $height (integer)
Since: gtk+ 2.2
boolean = $loader->write ($buf)
o $buf (scalar)
May croak with a Glib::Error in $@ on failure.
SIGNALS
closed (Gtk2::Gdk::PixbufLoader)
size-prepared (Gtk2::Gdk::PixbufLoader, integer, integer)
area-prepared (Gtk2::Gdk::PixbufLoader)
area-updated (Gtk2::Gdk::PixbufLoader, integer, integer, integer, integer)
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::Gdk::PixbufLoader(3pm)
Hi all,
I have a script that scan files, find old templet and replace it with new one.
#!/bin/ksh
file_name=$1
old_templet=$2
new_templet=$3
# Loop through every file like this
for file in file_name
do
cat $file | sed "s/old_templet/new_templet/g" > $file.new
#do a global searce and... (8 Replies)
I'm going through a script someone wrote and has left the company.
I've a file_name -> s31-d173-lookup-20060502111140-sr
In the ksh this is a validation :
if |)-(*)-(*)---(|-)-sr)) ]];
The validation for the above file_name fails. Any idea why and what is file
naming convention the... (2 Replies)
Hi
I just want to copy the file name from the input file. Below is the code I have used but the answer comes with quotation .
$ cat test.sh
file_name=\'$1\'
echo $file_name
$ sh test.sh grants.dat
'grants.dat'
How do I remove the quotation
Thanks (2 Replies)
Hi All
1- error logs talk this format file_name-2011-11-01.txt.gz
2- how to for string in all files from 01-11-2011 till 30-11-2011
3- how to search for multiple string in the same file
4- is that possible to search for multiple string in multiple files (1 Reply)
I have a script which converts rows to columns.
file_name=$1
mailid=$2
#CREATE BACKUP OF ORIGINAL FILE
#cp ${file_name}.xlsx ${file_name}_temp.xlsx
#tr '\t' '|' < ${file_name}_temp.xlsx > ${file_name}_temp.csv
#rm ${file_name}_temp.xlsx
pivot_row=`head -1 ${file_name}`
sed 1d... (0 Replies)
Hi All,
I have to read in_dir and file_name values from a file and should check the count
For some instance lets say
in_dir hold /int/inbound
file_name hold EMP*.dat
below is one of lines in my shell script and we use AIX
file_cnt=`ls $in_dir/$file_name | wc -l`
even if some... (2 Replies)
Dear friends
i am getting error when i run below script
#!/bin/bash
echo "Enter the name of the file"
read file_name
if
then
If
then
echo "add some text to quit ctrld"
cat >> $file_name
else
echo "the file does not have write permission"
fi
else
echo "$file_name does not... (1 Reply)
hello all
im new to unix and when i use below script i get an error :
#! /bin/bash
Echo -e "enter the name of the file : \c"
read file_name
if
then
echo "$file_name found"
else
echo "$file_name not found"
fi
running the script i get below error :
$ ./hello (26 Replies)