Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

padre::util::win32(3pm) [debian man page]

Padre::Util::Win32(3pm) 				User Contributed Perl Documentation				   Padre::Util::Win32(3pm)

NAME
Padre::Util::Win32 - Padre Win32 API Functions DESCRIPTION
The "Padre::Util::Win32" package provides an XS wrapper for Win32 API functions All functions are exportable and documented for maintenance purposes, but except for in the Padre core distribution you are discouraged in the strongest possible terms from using these functions, as they may be moved, removed or changed at any time without notice. FUNCTIONS
"GetLongPathName" Padre::Util::Win32::GetLongPathName($path); Converts the specified path $path to its long form. Returns "undef" for failure, or the long form of the specified path "Recycle" Padre::Util::Win32::Recycle($file_to_recycle); Move $file_to_recycle to recycle bin Returns "undef" (failed), zero (aborted) or one (success) "AllowSetForegroundWindow" Padre::Util::Win32::AllowSetForegroundWindow($pid); Enables the specified process $pid to set the foreground window via "SetForegroundWindow" http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx <http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx> "ExecuteProcessAndWait" Padre::Util::Win32::ExecuteProcessAndWait( directory => $directory, file => $file, parameters => $parameters, show => $show, ) Execute a background process named "$file $parameters" with the current directory set to $directory and wait for it to end. If you set $show to 0, then you have an invisible command line window on win32! "GetCurrentProcessMemorySize" Padre::Util::Win32::GetCurrentProcessMemorySize; Returns the current process memory size in bytes "GetLastErrorString" Padre::Util::Win32::GetLastError; Returns the error code of the last Win32 API call. The list of error codes could be found at http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx <http://msdn.microsoft.com/en- us/library/ms681381(VS.85).aspx>. "GetLastErrorString" Padre::Util::Win32::GetLastErrorString; Returns the string representation for the error code of the last Win32 API call. COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-06-27 Padre::Util::Win32(3pm)

Check Out this Related Man Page

Padre::Config(3pm)					User Contributed Perl Documentation					Padre::Config(3pm)

NAME
Padre::Config - Configuration subsystem for Padre SYNOPSIS
use Padre::Config; [...] if ( Padre::Config->main_statusbar ) { [...] } DESCRIPTION
This module not only stores the complete Padre configuration, it also holds the functions for loading and saving the configuration. The Padre configuration lives in two places: a user-editable text file usually called config.yml an SQLite database which shouldn't be edited by the user Generic usage Every setting is accessed by a mutator named after it, i.e. it can be used both as a getter and a setter depending on the number of arguments passed to it. Different types of settings Padre needs to store different settings. Those preferences are stored in different places depending on their impact. But "Padre::Config" allows one to access them with a unified API (a mutator). Only their declaration differs in the module. Here are the various types of settings that "Padre::Config" can manage: o User settings Those settings are general settings that relates to user preferences. They range from general user interface look & feel (whether to show the line numbers, etc.) to editor preferences (tab width, etc.) and other personal settings. Those settings are stored in a YAML file, and accessed with "Padre::Config::Human". o Host settings Those preferences are related to the host on which Padre is run. The principal example of those settings are window appearance. Those settings are stored in a DB file, and accessed with "Padre::Config::Host". o Project settings Those preferences are related to the project of the file you are currently editing. Examples of those settings are whether to use tabs or spaces, etc. Those settings are accessed with "Padre::Config::Project". ADDING CONFIGURATION OPTIONS
Add a "setting()" - call to the correct section of this file. The setting() call initially creates the option and defines some metadata like the type of the option, it's living place and the default value which should be used until the user configures a own value. COPYRIGHT &; LICENSE Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.14.2 2012-06-27 Padre::Config(3pm)
Man Page