Resultados da pesquisa a pedido "pygobject"
Use glade com pygobject Gtk3
Estou convertendo um script para usar o Gtk3 usando o guia de migração Portando GTK2 para GTK3 [http://live.gnome.org/PyGObject/IntrospectionPorting#Porting_from_PyGTK_2_to_PyGI_GTK_3] ). Eu converti meuimport pygtk para umfrom gi.repository ...
Não é possível importar o Webkit do gi.repository
Quando tento importarWebkit a partir degi.repository, dá umImportError: from gi.repository import Webkit ERROR:root:Could not find any typelib for Webkit Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot ...
DrawingArea não pode obter o XID
Tenho o seguinte módulo Python 2.7 / PyGObject 3.0 / PyGST 0.10: from gi.repository import Gtk, Gdk, GdkPixbuf import pango import pygst pygst.require('0.10') import gst import Trailcrest import os, sys import cairo from math import pi class ...
Pitão. Fazendo algum trabalho em segundo plano com Gtk GUI
python 3.2.2 gtk3 3.2.2 python-gobject 3.0.2 Estou tentando exibir uma GUI e fazer algum trabalho em segundo plano. Pelo que entendi, deve ser algo como isto: #!/usr/bin/env python3 # -*- coding: utf-8 -*- import time from threading ...