Logo Search packages:      
Sourcecode: rapid-photo-downloader version File versions  Download package

def rapid::gnomeglade::GnomeApp::__init__ (   self,
  name,
  version,
  file,
  root 
)

Initialise program 'name' and version from 'file' containing root node 'root'.

Definition at line 128 of file gnomeglade.py.

00128                                                  :
        """Initialise program 'name' and version from 'file' containing root node 'root'.
        """
        self.program = gnome.program_init(name, version)
        GtkApp.__init__(self,file,root)
        if 0:
            self.client = gnome.ui.Client()
            self.client.disconnect()
            def connected(*args):
                print "CONNECTED", args
            def cb(name):
                def cb2(*args):
                    print name, args, "\n"
                return cb2
            self.client.connect("connect", cb("CON"))
            self.client.connect("die", cb("DIE"))
            self.client.connect("disconnect", cb("DIS"))
            self.client.connect("save-yourself", cb("SAVE"))
            self.client.connect("shutdown-cancelled", cb("CAN"))
            self.client.connect_to_session_manager()


def load_pixbuf(fname, size=0):


Generated by  Doxygen 1.6.0   Back to index