pygobject Questions
1
Solved
I have a simple PyGObject application:
from gi.repository import Gtk
class Window(Gtk.Window):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.set_border_width(5)
...
1
Solved
When using the Python 3 bindings of GTK3, is it possible to implement gobject.GInterface interfaces by subclassing them?
In my specific case, I want to write a custom Gtk.TreeModel implementation....
1
Solved
I have a Python script that loads a Glade-GUI that can be translated. Everything works fine under Linux, but I am having a lot of trouble understanding the necessary steps on Windows.
All that seem...
Inexecution asked 16/8, 2015 at 16:48
4
I installed Fedora 15 to use Python3 and GObject to develop a desktop-application, because PyGTK looks outdated:
PyGTK 2.24.0 released
Friday 01 April 2011 by Rafael Villar Burke
PyGTK 2.24.0 ...
1
Solved
I'm actually upgrading an old django app from python2.7 to python3.4. While installing pygobject via pip, I got this error:
Collecting pygobject
Using cached pygobject-2.28.3.tar.bz2
Compl...
Selfsufficient asked 9/7, 2015 at 17:31
0
When I startup /usr/bin/sniff which is a GUI monitor of dogtail I got below error:
Traceback (most recent call last):
File "/usr/bin/sniff", line 13, in <module>
gi.require_version('Gtk', ...
Gatling asked 25/6, 2015 at 2:55
2
I've been fiddling with this on and off for a couple of days but just can't seem to come to grips with what the issues might be.
Essentially I'm trying to style some Gtk Widgets in Gtk3 using CSS...
1
Solved
I understand the what are the arguments for the functions gtk_builder_new_from_file or gtk_builder_new_from_string but I struggle a little to see what is a resource path like:
GtkBuilder *
gtk_bui...
Entwistle asked 18/5, 2015 at 16:46
1
I made a new example which shows much better what I am trying to do. The new example gives the following ouput. Is there a way that the data can go into the respective store key (the {} brackets)?
...
Went asked 26/4, 2015 at 12:9
5
Solved
I have an application which depends on PyGTK, PyGobject, and PyCairo that I built to work on Linux. I want to port it over to windows, but when I execute import gobject I get this:
Traceback (most...
1
Solved
I need to get the font color of the current theme.
I found this question that explains it how to do it in C with gtk_style_lookup_color, but it seems that the function is deprecated.
Making more ...
3
Solved
I am having difficulty loading a file or displaying a colour in one of the columns of a Gtk TreeView (Python binding of GTK3). An example taken from QGIS shows a icon in the first row and a blue ci...
2
Solved
I am building a GUI (Python binding of GTK3) where one Gtk Scrolled Window (from Glade) can contain different treeviews. The program launches with an empty window and the first time around everythi...
0
I am using Python 3 and Gtk+ 3.
I have a list of colors stored in a Gtk.ListStore. I want to display these colors as Gtk.ColorButton with a Gtk.CellRenderer so that the users would be able to view ...
Langsdon asked 22/12, 2014 at 3:37
2
Solved
How can I create a ComboBox that displays a list of entries, each containing some text and an icon?
I'm using Python and GTK3 with GObject introspection.
4
Solved
I'm currently foolish enough to try to maintaintain two parallel code bases for a Python desktop application, one using PyGObject introspection for GTK 3 and one using PyGTK for GTK 2. I work mainl...
Thyrse asked 26/8, 2011 at 15:9
5
Solved
PyGObject appears to have no real documentation. This tutorial is as close as it gets. I've been struggling all morning simply trying to find a description of the arguments accepted by the Gtk.Wind...
3
2
Platform is Windows 7 64bit using python 2.7 and GTK3+ installed from http://sourceforge.net/projects/pygobjectwin32/files/?source=navbar
The exe is compiled but fails to run, due to this
The fol...
1
Solved
I'm trying to apply a patch for meld from https://bugzilla.gnome.org/show_bug.cgi?id=680569 myself, and am having trouble with this:
$ git clone git://git.gnome.org/meld
$ cd meld
$ python setup.p...
2
I'm developing an app which has to be 100% compatible on windows and on linux. On linux I have no problems, but on windows I came up with this message:
from gi.repository import Gtk
ImportError: No...
1
Solved
When I make a exe from py python3 + pygobject + gtk3 application using the setup.py from pygobject site it misses some DLL files.
what files are missing?
Resonance asked 19/11, 2013 at 9:35
1
I'm trying to convert the menubar in my Gtk app so it will use GActions(from the Gio) as opposed of GtkActions in Python3 using GObject Instrospection.
I've been trying to figure it out on my own ...
Eade asked 20/10, 2013 at 18:53
4
Solved
0
I want to embed the Python interpreter into a program written in Vala to allow for some runtime scripting. I can run parts of my vala code from Python using Introspection, and I've found a rudiment...
© 2022 - 2024 — McMap. All rights reserved.