About 50 results
Open links in new tab
  1. Conflicting tutorials: Should new development use GtkWindow or ...

    I have just started learning about creating GUI apps in Python. I decided to use Gtk version 3. According to the (official?) tutorial on The Python GTK+ 3 Tutorial the proper way of building a hello

  2. How do i import gtk module to my application? python

    Feb 28, 2014 · 4 pygtk is the old and deprecated gtk Python api. Do not use it unless you have a legacy application. The correct way nowadays is to use GObject-introspection to use Gtk3 from Python. …

  3. python - How to make GTK interface work with asyncio? - Stack Overflow

    Aug 20, 2024 · I'm trying to write a Python program with a GTK interface that gets output from functions using async/await that take a few seconds to execute, what I'm asking for is the best solution for …

  4. python - gi.repository Windows - Stack Overflow

    Oct 19, 2012 · The installer copy stuff, but no library is loadable by python when using from gi.repository import Gtk. Apparently Python 3.5 isn't supported yet as we can read this in the readme.txt: PyGI …

  5. python - How to auto-scroll a gtk.scrolledwindow? - Stack Overflow

    Mar 7, 2011 · I have a treeview-widget inside a ScrolledWindow, which is populated during runtime. I want the ScrolledWindow to auto-scroll to the end of the list. I "solved" the problem, by adjusting the …

  6. python - Python3, Gtk3 - GtkGrid expanding - Stack Overflow

    Sep 30, 2013 · label.set_halign(Gtk.Align.END) Am I misunderstanding how a grid works? (A GtkTable had a set amount of columns, perhaps the GtkGrid doesn't and relies on it's sub elements being set …

  7. Glade or no glade: What is the best way to use PyGtk?

    Jun 27, 2014 · 33 I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade. The thing is: I am not sure if the best way …

  8. linux - What should I choose: GTK+ or Qt? - Stack Overflow

    Dec 11, 2009 · 9 It probably depends on what you want to do. I would recommend Qt, because it's more than GUI, it has nice Python bindings (so does Gtk), and GUI libraries themselves are (subjectively …

  9. OpenCV GTK+2.x error - "Unspecified error (The function is not ...

    Feb 28, 2015 · If you installed OpenCV using the opencv-python pip package, be aware of the following note, taken from opencv-python: IMPORTANT NOTE video related functionality is not supported (not …

  10. python - RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check ...

    Jun 27, 2020 · RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check () if you want to handle this case Asked 5 years, 7 months ago Modified 5 years, 2 months ago Viewed 10k times