G+_L I Posted May 13, 2014 Share Posted May 13, 2014 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 More sharing options...
G+_Darryl Medley Posted May 13, 2014 Share Posted May 13, 2014 I've never used gtk but looks like this StackOverflow page has some answers: http://stackoverflow.com/questions/990640/is-there-a-form-showdialog-equivalent-for-gtk-windows Link to comment Share on other sites More sharing options...
G+_L I Posted May 13, 2014 Author Share Posted May 13, 2014 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 More sharing options...
G+_L I Posted May 13, 2014 Author Share Posted May 13, 2014 Ahh I think I figured it out. GTK vs Tkinter Link to comment Share on other sites More sharing options...
G+_Tnt Seeker Posted May 13, 2014 Share Posted May 13, 2014 Lol Nice Image Link to comment Share on other sites More sharing options...
Recommended Posts