Hello, if anyone has tried to use the TerminalInterface, what am I doing
wrong?


I am trying to do what's here:

http://developer.kde.org/documentation/library/3.4-api/interfaces/html/classTerminalInterface.html

And here's my attempt:

def main(args):
        app=kdecore.KApplication(args,'dropbear')
        win=kparts.KParts.MainWindow()
        app.setMainWidget(win)
        factory = kdecore.KLibLoader.self().factory( "libkonsolepart" );
        p=factory.create( win)
        win.setCentralWidget(p.widget())
        win.show()
        app.exec_loop()


I'm getting that p has no widget member.

Any ideas?


-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  [EMAIL PROTECTED]
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
Imminentizing the eschaton since 1971.

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to