[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Howto do Notification from python.



On Wed, 25 Jan 2006 15:28:55 -0500
Tim Lauridsen <tla-ml rasmil dk> wrote:

> I want to make Notification to popup for a moment of time and then
> disapear for a Python / pyGTK application (yumex)
> 
> Like when runs this command in a console. (in Rawhide)
> 
> notify-send -i gtk-dialog-info "Title" "Message"

I don't see any python bindings, but the simple:
 
  import os
  os.execlp('notify-send', '-i gtk-dialog-info', 'Title', 'Message')

should do what you want.


Seam


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]