Package peggy :: Module gtkgui :: Class PeggyGtk
[hide private]
[frames] | no frames]

Class PeggyGtk

source code

    object --+    
             |    
base.PeggyBase --+
                 |
                PeggyGtk

Peggy with support for Gtk
Instance Methods [hide private]
 
get_glade(self, name, *args, **kwargs)
get ressource name as a gtk.glade.XML instance
source code
 
get_pixbuf(self, name)
get ressource name as a gtk.gdk.pixbuf instance
source code
 
setup_locales(self, domain=None, dir=None, use_unicode=1)
setup everything to use locales.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from base.PeggyBase
 
__init__(self, package)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_init_locale_variables(self, domain, dir)
Used by setup_locales().
source code
 
exists(self, name)
Does the ressource name exist?
source code
 
get_filename(self, name)
get a true filesystem filename for ressource name
source code
 
get_locale_dir(self, dir=None)
get ressource dir for use as a locale's directory
source code
 
get_stream(self, name)
get ressource name as a file-like object
source code
 
get_string(self, name)
get ressource name as a string
source code
 
is_dir(self, name)
Is the ressource name a directory?
source code
 
list_dir(self, name)
list list the content of ressource name, like os.listdir
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

get_glade(self, name, *args, **kwargs)

source code 
get ressource name as a gtk.glade.XML instance
Parameters:
  • name - ressource name of the .glade file
  • args, kwargs - additional arguments for glade.xml_new_from_buffer()

get_pixbuf(self, name)

source code 
get ressource name as a gtk.gdk.pixbuf instance
Parameters:
  • name - ressource name of the .glade file

setup_locales(self, domain=None, dir=None, use_unicode=1)

source code 
setup everything to use locales.
Parameters:
Overrides: base.PeggyBase.setup_locales