Little Helpers

This page contains the Support Package documentation.

The log Module

This module sets up the internal logging of the framework. By default errors will be printed to STDERR while warnings won’t be shown at all.

During development it is recommended that you run the following after importing gtkmc. Remember to take it out before shipping your application.

import logging
logging.getLogger("gtkmvc").setLevel(logging.DEBUG)

The utils Module

gtkmvc.support.utils.getmembers(_object, _predicate)
This is an implementation of inspect.getmembers, as in some versions of python it may be buggy. See issue at http://bugs.python.org/issue1785
gtkmvc.support.utils.relpath(path, start='.')
Return a relative version of a path

Table Of Contents

Previous topic

Observers

Next topic

Internals

This Page