pygobject Questions
1
I'm building a GUI with GTK-3 in Python using Glade. There is also a ListStore with its columns defined in the Glade file. Now I want to fill the ListStore with numeric values (there are int & ...
3
Over the last few days of headaches, I've found 3 possible methods to do this, all of which have issues.
PyGObject's pip install fails due to a lack of Cairo and probably other dependencies. Whil...
2
Solved
I tried to install PyGObject via pip and it fails with given error:
Building wheels for collected packages: pygobject
Building wheel for pygobject (PEP 517) ... error
ERROR: Command errored out wit...
3
Solved
I have a warning when I run my GTK (Python GObject introspection) application and I can't figure out its source. When the application is loading and I'm populating a GtkListStore, after the very fi...
5
Solved
I'm trying to get pygobject-2.28.6 to compile in cygwin (version in repository is 2.28.4 which has some issues). Here is the tail of ./configure:
checking for GLIB - version >= 2.24.0... yes (v...
Apostles asked 2/8, 2013 at 20:37
3
I am looking for a possibility to add autocompletion for gtk3 libs to vim. I have already tried vim-jedi as it seems the state of the art autocompletion mechanism for vim and python (also recommend...
Mistrust asked 14/5, 2014 at 10:32
5
Solved
I am trying to run the following program:
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst
Bu I am getting:
Traceback (most recent call last):
File "applicat...
2
Solved
If a GSettings schema exists and has been compiled, there is usually no problem reading from it. However, if it doesn't exist, an error is usually thrown which cannot be handled. Try this in a Pyth...
1
Solved
I'm using Pango + Cairo (through GObject) to render text with python3.7, and would like to set the letter spacing by creating an attribute and attaching that attribute to my pango layout.
In the gn...
1
this is the error i am getting while uploading my project to heroku.
remote: running build_ext
remote: Package gobject-introspection-1.0 was not found in the pkg-config search path.
remote: Perhap...
5
Solved
Where can I find an exhaustive list of available keybindings that a user can define in a CSS file for GTK+ 3?
I have already checked those resources:
https://developer.gnome.org/gtk3/stable/GtkC...
Fulminant asked 27/5, 2015 at 16:17
3
Solved
I'd been using the answer provided in the PyGTK FAQ, but that doesn't seem to work with PyGObject. For your convenience, here is a test case that works with PyGTK, and then a translated version tha...
2
Solved
I've recently studied the gtk design patterns, and found the in-app notifications. There is an description on when to use it, but no reference to the gtk api.
I have searched for it, but found just...
Dozer asked 1/8, 2017 at 7:28
4
Solved
I try install pygobject by pip
pip install --user PyGObject
but I doesn't work:
Collecting PyGObject
Using cached pygobject-2.28.3.tar.bz2
Complete output from command python setup.py egg_in...
Orvah asked 23/11, 2015 at 0:32
2
Solved
Recently in one of my programs I got a segmentation fault problem. I managed to find the line that its is causing the problem but I haven't find the way of fixing it.
the line:
self.window_player...
Feeney asked 14/1, 2015 at 18:49
2
I have a small python program that shows how to do translations of GTK (pygobject) GUIs for Linux and Windows. Everything works in Linux, but in Windows non-ASCII symbols are not rendered in the tr...
Consignment asked 24/8, 2015 at 12:18
2
Solved
I have been looking into the source code of python-mpdor and it mentions that it is
gobject-based, for easy event handling (in the high-level client
class).
Can someone explain to me in simpl...
1
Solved
When following the instructions 2. Getting Started — Python GTK+ 3 Tutorial 3.4 documentation
Tries
In [6]: import gi
...: gi.require_version('Gtk', '3.0')
...: from gi.repository import Gtk
...
Baboon asked 30/6, 2019 at 9:46
2
Context
In GTK 3, people can set their own themes. Even the default theme (Adwaita) is provided with two variants: a light one and a dark one. As I am writing my own widget (in python), I need to ...
Sarcous asked 10/8, 2016 at 10:56
2
Solved
I have a GUI with a progressbar. It should show the progress of the work a second thread does. I would like to have something like an event the thread can send to the GUIs progressbar immediatly on...
Mosaic asked 26/4, 2019 at 13:27
1
Solved
I'm developing a GUI with PyGObject and am trying to style all the entry widgets. From this post I get the impression that I should be able to create a CSS style that would apply to all GtkEntry ob...
3
I want to get the normal background color of a widget (a GtkHeaderBar, in this case). I'm currently using
style = self.get_titlebar().get_style_context()
to get the style, and
color = style.get...
1
Solved
I have a Gtk.TreeView here. Most but not all of the items should be able to be dragged & dropped. In this example the first item should not be able to be dragged & dropped but it should be ...
Gravimeter asked 22/8, 2018 at 20:45
3
Does anyone know if its possible to install PyGObject/Gtk+3 on windows for Python 3? I have found installers on gnome's website for Python 2 (here), and several statements that it works with Python...
Littleton asked 17/4, 2012 at 8:15
2
Solved
I have a problem with python and dbus. I checked out the developer docs and specifications, but I don't understand how to set up a main loop. I want to listen for notification events.
See
http://d...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.