Home
Authors History
Donations Cats
News
News FVWM Logo
Logo Competition
Features
Features
Download
Download
Icons and Sounds
Screenshots
Desktop Screenshots Menu Screenshots
Window Decor Screenshots Vectorbuttons
Documentation
Documentation Man pages
FAQ Developer Info
Mailing Lists
Mailing Lists
Links
Links
Customize
 
 Official FVWM Home Page plain theme

FVWM - Perl library - FVWM::Tracker::PageInfo


FVWM::Tracker::PageInfo

Section: FVWM Perl library (3)
Updated: 2005-08-24
Source: FVWM/Tracker/PageInfo.pm
This page contents - Return to main index
 

DESCRIPTION

This FVWM::Tracker subclass provides an information about the current FVWM page and desk and screen dimensions. Like with all trackers, this information is automatically brought up to the date for the entire tracker object life and may be retrieved by its "data" method.

This tracker defines the following observables that enable additional way of work:

    "desk/page changed",
    "desk only changed",
    "page only changed",
 

SYNOPSYS

Using FVWM::Module $module object:

    my $pageTracker = $module->track("PageInfo");
    my $pageHash = $pageTracker->data;
    my $currDesk = $pageHash->{'desk_n'};
 

OVERRIDDEN METHODS

data
Returns hash ref representing the current page/desk, with the following keys (the fvwm variable equivalents are shown on the right):

    desk_n           $[desk.n]
    page_nx          $[page.nx]
    page_ny          $[page.ny]
    desk_pages_x     $[desk.pagesx]
    desk_pages_y     $[desk.pagesy]
    vp_width         $[vp.width]
    vp_height        $[vp.height]
    vp_x             $[vp.x]
    vp_y             $[vp.y]
dump
Returns 2 debug lines representing the current page data (as described in "data") in the human readable format.
 

AUTHOR

Mikhael Goikhman <migo@homemail.com>.  

SEE ALSO

For more information, see FVWM::Module and FVWM::Tracker.


 

Index

DESCRIPTION
SYNOPSYS
OVERRIDDEN METHODS
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 00:51:34 GMT, August 27, 2005

Last modified on April 26, 2010