Jump to content

Reshared mainly for the picture, but curious if anyone has tried any Python gtk programming


G+_L I
 Share

Recommended Posts

python-vs-java-726367-copy-2.jpg

Reshared mainly for the picture, but curious if anyone has tried any Python gtk programming.

 

Originally shared by Robert Partridge

 

PYTHON PROBLEM

 

In my further adventures in learning to code with Python ... I've been trying to find some information today, but Google has failed me.  Does anyone know ...

 

If I wanted to create a gtk.Window object and prevent it from losing focus so that the user is forced to respond to the window ... how can I keep it from losing focus?

 

#python   #programming   #gtk  

Link to comment
Share on other sites

Someone on the original post posted this link:

 

http://www.pygtk.org/pygtk2reference/class-gtkdialog.html

 

I tried running the sample code there on my Windows machine and I got a "gtk not found" error - so I guess that didn't install with the Python download - even though I thought it did. I tried it on my Linux machine and it worked. 

 

I guess it's something to play with in the future.

Link to comment
Share on other sites

 Share

×
×
  • Create New...