Signal for when launcher entry quicklist has been shown?
I was looking at the documentation to develop a python quicklist here:
https:/
I am trying to determine if there is a signal to get when the user right-clicks the desktop and the quicklist is shown so that I can dynamically build the quicklist lazily (when shown) instead of having to update it on a background thread.
It appears that no signals are fired when the quicklist is shown. Is there one that I am missing? Otherwise I will turn this into a bug (request for enhancement) so that it can be done.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Unity Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2011-05-23
- Last reply:
- 2011-06-08
| Andrew (andrew-rw-robinson) said : | #1 |
Code I used to try to find a signal that would fire:
#!/usr/bin/env python2.7
import sys, os
from gi.repository import Unity, Dbusmenu, GObject
if __name__ == "__main__":
loop = GObject.MainLoop()
launcher = Unity.LauncherE
quicklist = Dbusmenu.
def on_subitem_
print "on_item_activated (child)"
def on_realized(*args):
print "on_realized"
def on_show_
print "on_show_to_user"
def on_event(*args):
print "on_event"
def on_property_
print "on_property_
def on_about_
print "on_about_to_show"
def on_child_
print "on_child_removed"
def on_child_
print "on_child_added"
def on_item_
print "on_item_activated"
def on_child_
print "on_child_moved"
test_menu_item = Dbusmenu.
test_
test_
test_
quicklist.
#menu_
menu_
menu_
menu_
menu_
menu_
menu_
menu_
menu_
menu_
menu_
launcher.
loop.run()
| Launchpad Janitor (janitor) said : | #2 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.

