Python Forum
pygtk3, how to change application theme ? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: pygtk3, how to change application theme ? (/thread-2127.html)



pygtk3, how to change application theme ? - harun2525 - Feb-21-2017

hello, i sarched on net but i couldn't  find any useful info, how can i do this ?


RE: pygtk3, how to change application theme ? - Larz60+ - Feb-21-2017

It's not popular, not sure why. Is there a specific reason why you choose this graphics package?
http://www.pygtk.org/


RE: pygtk3, how to change application theme ? - harun2525 - Feb-21-2017

(Feb-21-2017, 05:11 AM)Larz60+ Wrote: It's not popular, not sure why. Is there a specific reason why you choose this graphics package?
http://www.pygtk.org/

Oh. I cant any understand. Why everybody say that. 3 graphical package are most popular in python for desktop apps. These are wxpython, pyqt, and pygtk. Why don't I choose pygtk ? What do you suggest ?

Thanks for your comment.


RE: pygtk3, how to change application theme ? - Larz60+ - Feb-21-2017

Quote:Don't use PyGTK if you want cross platform compatibility. GTK3 doesn't work on windows yet (last I checked) and GTK2 has an awful memory leak under windows which has been fixed in the latest source, but no new release has been compiled for windows.
I would put my vote with PySide (more flexible licence for commercial options) over PyQt and PySide/PyQt over wxPython simply because I think the GUI designer tool are better! Being able to rapidly create and edit the GUI graphically (and independently of your applications code) is a huge time-saver.

Update: Actually, I'd recommend PyQt over PySide now for stability reasons and long term support. PySide development is lagging, there are very few people fixing bugs and no-one working on support for Qt 5.

this from http://stackoverflow.com/questions/19584076/wxpython-vs-pyqt-vs-pygtk-when-and-what-to-use

Also, I didn't think wxPython was derived from GTK, that because of the following statement in the wxwidgets
documentation:
Quote:Unlike wxWidgets, GTK+ supports C (and there is a C++ wrapper called GTKMM, http://www.gtkmm.org)

Hey, in my 50 years of programming, it wouldn't be the first time i was wrong!


RE: pygtk3, how to change application theme ? - harun2525 - Feb-21-2017

@Larz60+,
I am a turkish man i dont know english very well, so  i chose learn gtk because there isn't any turkish tutorial other than pygtk. 
I think, Gnome desktop looks better than KDE desktop. i am using fedora24 gnome and it looks vey nice. gnome writted by using Gtk package but kde writted in qt package. If gnome looks better than kde, why do i prefer qt ?


RE: pygtk3, how to change application theme ? - Larz60+ - Feb-21-2017

Ok, I was only curious. At any rate, the link I gave in earlier post is the pygtk home page. Some of the related packages may help as well.
You can get a list here: https://pypi.python.org/pypi?%3Aaction=search&term=pygtk&submit=search


RE: pygtk3, how to change application theme ? - harun2525 - Feb-21-2017

@Lars60+,
thanks for your helps


RE: pygtk3, how to change application theme ? - harun2525 - May-10-2017

I solved.


if you have same issue see the link

https://python-forum.io/Thread-Tutorial-PyGtk3-How-To-Change-Applicaton-Theme