You are not logged in.
Pages: 1
I know we can drop files on panel's Launchers, but if I rather want my program be shown as status icon in a notification area, can that icon receive files with drag-n-drop?
I use Gtk3 and XApp:
import gi
gi.require_version("Gtk", "3.0")
gi.require_version('XApp', '1.0')
from gi.repository import Gtk, XApp
#...
tray = XApp.StatusIcon()
tray.set_icon_name(iconPath)
tray.set_secondary_menu(menu())
tray.connect("button-press-event", on_icon_click)
The documentation doesn't give anything,
https://lazka.github.io/pgi-docs/index. … sIcon.html
so the answer is probably No. But in case I missed something about XFCE, I wonder if anyone knows a way.
Offline
Pages: 1