I'll start off by saying I could have misunderstood what the Popup object 
is for but I felt like it may be what I was looking for (ability to have 
window temporarily display some additional information from my widgets).

However, I just can't get them to work. The code I'm using is as follows:

from libqtile.popup import Popup

class MyPop(Popup):
    def _handle_Expose(self, e):
        logger.warning("Exposed")

    def _handle_KeyPress(self, event):
        logger.warning("Key: {}".format(event))

    def _handle_ButtonPress(self, event):
        logger.warning("Button: {}".format(event))


I subclassed Popup so I could write my own handle functions but none of 
them seem to get called (as there's nothing in the log file).

The window loads ok (small, semi-opaque window in top left corner as per 
default values) but clicking on it just seems to impact the window beneath 
it.

Any ideas where I'm going wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/9cda86b5-fefb-4701-b8c6-9840b7d0e6ccn%40googlegroups.com.

Reply via email to