How do I retrieve the current X selection in pygtk? I'd like to, say,
have it as a Python string, or as None if none is available.
I've looked at the Gtk tutorial, but in this case, wasn't at all
obvious how to convert the C code to Python.
To unsubscribe: echo "unsubscribe" | mail [EMAIL
Is there a way for a panel applet to have control of button2 clicks.
Normally, when button2 is pressed, the applet is moved. However, I
*really* want my applet to respond to button2 clicks.
Any ideas?
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
Is it possible to obtain the pointer position with pygtk, regardless
of whether it's inside your window or not? The only app I could think
of that does this is XEyes, which I find upon investigation uses
XQueryPointer from Xlib -- is there some kind of analogue/wrapper to
this function in gtk?
I just tried something like this:
if gnome.config.get_string("/App/Section/Setting") == "None":
writedefaults()
it didn't work.
this did:
if str(gnome.config.get_string("/App/Section/Setting")) == "None":
writedefaults()
I had to cast the return from gnome.config.get_string as a
On Mon, Nov 01, 1999 at 09:29:15PM -0500, Edward Muller wrote:
I just tried something like this:
if gnome.config.get_string("/App/Section/Setting") == "None":
writedefaults()
it didn't work.
this did:
if str(gnome.config.get_string("/App/Section/Setting")) == "None":