[Urwid] DialogBox

goffi goffi at goffi.org
Wed Jul 14 02:19:42 EDT 2010


> 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



More information about the Urwid mailing list