2010/7/14 Muhammad Ammar <[email protected]>: > >> >> > second thing i want to know about is how to make dialogboxes >> > independent, by independent i mean how to display a dialogbox on an >> > already running gui. for example, my gui application is running and i >> > want to display notifications/messages to user using dialogbox, so >> > what i need is dialogbox should appear on my already running gui >> > instead of drawing a new screen and then showing the dialog box, this >> > is what currently happening. >> > >> > I need a start point on how to make dialogboxes independent(or >> > whatever you say). >> Hi, >> >> if I understand well what you want, you can use Overlay widget to do >> this: use your dialogbox as top widget (first argument), and >> mainloop.widget as bottom one (second argument). >> >> cheers >> Goffi >> >> >> > > Hi Goffi, > > Thanks for reply. I have already checked that with overlay but getting > rendering errors. > > Anyother idea for anyone?
I use dialog boxes a lot in my project, take a look at box*.py files in http://github.com/syhpoon/xyzcmd/tree/master/libxyz/ui/ I believe you'll get the idea. -- ~syhpoon _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
