Re: Howto do Notification from python.

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

 



On Wed, 25 Jan 2006 15:28:55 -0500
Tim Lauridsen <tla-ml@xxxxxxxxx> 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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux