Logo Search packages:      
Sourcecode: parti-all version File versions  Download package

pseudoclient.py

# This file is part of Parti.
# Copyright (C) 2008, 2009 Nathaniel Smith <njs@pobox.com>
# Parti is released under the terms of the GNU GPL v2, or, at your option, any
# later version. See the file COPYING for details.

import gtk
import gtk.gdk
import wimpiggy.lowlevel

00010 class PseudoclientWindow(gtk.Window):
    """A gtk.Window that acts like an ordinary client.

    All the wm-magic that would normally accrue to a window created within our
    process is removed.

    Keyword arguments (notably 'type') are forwarded to
    gtk.Window.__init__.

    The reason this is a separate class, as opposed to say a gtk.Window
    factory method on wm, is that this way allows for subclassing."""
    
    def __init__(self, wm, **kwargs):
        gtk.Window.__init__(self, **kwargs)
        wm._make_window_pseudoclient(self)

Generated by  Doxygen 1.6.0   Back to index