Gtk2::SourceView2::LanguageManager man page on Mandriva

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

Gtk2::SourceView2::LanUsereContributed PeGtk2::SourceView2::LanguageManager(3)

NAME
       Gtk2::SourceView2::LanguageManager

HIERARCHY
	 Glib::Object
	 +----Gtk2::SourceView2::LanguageManager

METHODS
   languagemanager = Gtk2::SourceView2::LanguageManager->new
   languagemanager = Gtk2::SourceView2::LanguageManager->get_default
   language or undef = $lm->guess_language ($filename, $content_type=undef)
       ·   $filename (string or undef)

       ·   $content_type (string or undef)

   language or undef = $lm->get_language ($id)
       ·   $id (string)

   $lm->get_language_ids
   $lm->get_search_path
   $lm->set_search_path (...)
       ·   ... (list)

       Sets the list of directories where the lm looks for language files. If
       no dirs are given (empty list) then the search path is cleared, if
       "undef" is passed then the search path is reset to default.

       Note: At the moment this function can be called only before the
       language files are loaded for the first time. In practice to set a
       custom search path for a Gtk2::SourceLanguageManager, you have to call
       this function right after creating it.

PROPERTIES
       'language-ids' (Glib::Strv : readable)
	   List of the ids of the available languages

       'search-path' (Glib::Strv : readable / writable)
	   List of directories where the language specification files (.lang)
	   are located

SEE ALSO
       Gtk2::SourceView2, Glib::Object

COPYRIGHT
       Copyright (C) 2009 by Emmanuel Rodriguez

perl v5.10.1			  2010-03Gtk2::SourceView2::LanguageManager(3)
[top]

List of man pages available for Mandriva

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