Query: tk::winphoto
OS: suse
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WinPhoto(3) perl/Tk Documentation WinPhoto(3)NAMETk::WinPhoto - Load a Photo image from a windowSYNOPSISuse Tk; use Tk::WinPhoto; my $image = $mw->Photo(-format => 'Window', -data => oct($mw->id)); $image->write($path_name, -format => 'BMP|PPM|XPM');DESCRIPTIONThis is an extension for Tk800.* which will load a Photo image from a snapshot of an X window specified by the -data option. The window must exist and be visible. Because the code allows you to capture windows not owned by Tk it does not attempt to enforce this. If you are capturing one of Tk's windows then use "$w->update". If window is mapped, but obscured by other windows then what is captured is the rectangle the window would occupy. This can be considered a feature. For Tk-owned windows "$w->raise" can used to bring window forward. Once the Photo is loaded it can be saved using "$image->write(-format => ...)" using any of formats which support writing.AUTHORNick Ing-Simmons <nick@ni-s.u-net.com> Tk804.028 2007-09-24 WinPhoto(3)
Related Man Pages |
---|
img-window(3tk) - debian |
xunmapwindow(3) - centos |
img-window(n) - suse |
img-window(n) - osx |
xunmapwindow(3) - linux |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Change directory error |
SOCKS proxy & PAM configuration exposure |
Docker learning Phase-I |
The Future of the PM (Private Message) System at UNIX.com |