Glib::Utils man page on Peanut

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
Peanut logo
[printable version]

Glib::Utils(3)	      User Contributed Perl Documentation	Glib::Utils(3)

NAME
       Glib::Utils -  Miscellaneous utility functions

SYNOPSIS
	 use Glib;
	 Glib::set_application_name (Glib::get_real_name."'s Cool Program");

	 print "app name is ".Glib::get_application_name()."\n";

DESCRIPTION
       Here are some useful miscellaneous utilities.  GLib is a portability
       library, providing portable utility functions for C programs.  As such,
       most of these functions seem to violate the Glib binding principle of
       not duplicating functionality that Perl already provides, but there's a
       distinction for each one, i swear.  The functions for dealing with user
       information are provided on all GLib-supported platforms, not just
       where POSIX (which provides similar information) is available, and even
       work on platforms where %ENV may not include the expected information.
       Also, the "application name" referred to by (set|get)_application_name
       is a human readable name, distinct from the actual program name
       provided by Perl's own $0.

METHODS
       string = Glib::get_application_name

	   Get the human-readable application name set by
	   "set_application_name".

       Glib::set_application_name ($application_name)

	   ยท   $application_name (string)

	   Set the human-readable application name.

       string = Glib::get_home_dir

	   Find the current user's home directory, by
	   system-dependent/appropriate means.

       list = Glib::get_language_names

	   Computes a list of applicable locale names, which can be used to
	   e.g. construct locale-dependent filenames or search paths. The
	   returned list is sorted from most desirable to least desirable and
	   always contains the default locale "C".

       string = Glib::get_real_name

	   Get the current user's real name.

       list = Glib::get_system_config_dirs

	   Returns an ordered list of base directories in which to access
	   system-wide configuration information.

       list = Glib::get_system_data_dirs

	   Returns an ordered list of base directories in which to access
	   system-wide application data.

       string = Glib::get_tmp_dir

	   Get the temp dir as appropriate for the current system.  See the
	   GLib docs for info on how it works.

       string = Glib::get_user_cache_dir

	   Gets the base directory in which to store non-essential, cached
	   data specific to particular user.

       string = Glib::get_user_config_dir

	   Gets the base directory in which to store user-specific application
	   configuration information such as user preferences and settings.

       string = Glib::get_user_data_dir

	   Get the base directory for application data such as icons that is
	   customized for a particular user.

       string = Glib::get_user_name

	   Get the current user's name by whatever system-dependent means
	   necessary.

SEE ALSO
       Glib

COPYRIGHT
       Copyright (C) 2003-2006 by the gtk2-perl team.

       This software is licensed under the LGPL.  See Glib for a full notice.

perl v5.10.0			  2008-08-29			Glib::Utils(3)
[top]

List of man pages available for Peanut

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net