¡@

Home 

python Programming Glossary: gtk

How do I stop getting ImportError: Could not import settings 'mofin.settings' when using django with wsgi?

http://stackoverflow.com/questions/1411417/how-do-i-stop-getting-importerror-could-not-import-settings-mofin-settings-wh

python2.5 site packages' ' usr lib python2.5 site packages gtk 2.0' ' home django mofin trunk' ' home django mofin trunk mofin'.. python2.5 site packages' ' usr lib python2.5 site packages gtk 2.0' My django settings file looks like this # Django settings..

How to center a Window on the screen in Tkinter?

http://stackoverflow.com/questions/3352918/how-to-center-a-window-on-the-screen-in-tkinter

dx d d d rootsize x y pyGTK OTOH is much better import pygtk import gtk win gtk.Window gtk.TOPLEVEL win.resize 300 300 win.set_position.. rootsize x y pyGTK OTOH is much better import pygtk import gtk win gtk.Window gtk.TOPLEVEL win.resize 300 300 win.set_position.. x y pyGTK OTOH is much better import pygtk import gtk win gtk.Window gtk.TOPLEVEL win.resize 300 300 win.set_position gtk.WIN_POS_CENTER..

compiling vim with python support

http://stackoverflow.com/questions/3373914/compiling-vim-with-python-support

DXTHREADS D_REENTRANT DXUSE_MTSAFE_API I usr include gtk 2.0 I usr lib64 gtk 2.0 include I usr X11R6 include I usr include.. DXUSE_MTSAFE_API I usr include gtk 2.0 I usr lib64 gtk 2.0 include I usr X11R6 include I usr include atk 1.0 I usr.. DXTHREADS D_REENTRANT DXUSE_MTSAFE_API I usr include gtk 2.0 I usr lib64 gtk 2.0 include I usr X11R6 include I usr include..

Overriding append method after inheriting from a Python List

http://stackoverflow.com/questions/3487434/overriding-append-method-after-inheriting-from-a-python-list

Preventing window overlap in GTK

http://stackoverflow.com/questions/3859045/preventing-window-overlap-in-gtk

under it Update Problem solved thanks to vsemenov python gtk x11 dock ewmh share improve this question Use _NET_WM_STRUT.. properties like so assuming self.window is an instance of gtk.Window self.window.get_toplevel .show # must call show before.. .window.property_change _NET_WM_STRUT CARDINAL 32 gtk.gdk.PROP_MODE_REPLACE 0 0 0 bottom_width Clarification on the..

Playing RTSP with python-gstreamer

http://stackoverflow.com/questions/4192871/playing-rtsp-with-python-gstreamer

and it work fine. I want to control it with a gui in pygtk so I use the gstreamer python bindings. I've wrote this piece.. o test `pkg config gstreamer 0.10 libs cflags` `pkg config gtk 2.0 libs cflags` clean rm rf test UPDATE Equivalent Java Code..

Python & OpenERP development enviroment setup howto?

http://stackoverflow.com/questions/9066774/python-openerp-development-enviroment-setup-howto

Open ERP server web having decided against the thicker gtk. I added the 2 as projects in eclipse pydev running on Ubuntu..

How to save a Python interactive session?

http://stackoverflow.com/questions/947810/how-to-save-a-python-interactive-session

and this seems like it will shine there. Sort of a gtk gnome desktop app that renders graphs inline. Imagine a hybrid..

Threading in Gtk python

http://stackoverflow.com/questions/11923008/threading-in-gtk-python

in background threads. Based on the extended example from GTK 3 tutorial # usr bin python import threading import urllib2.. is called from different threads. See also Multi threaded GTK applications Part 1 Misconceptions . share improve this answer..

Is switching from PHP to Python worth the trouble [closed]

http://stackoverflow.com/questions/1486608/is-switching-from-php-to-python-worth-the-trouble

pages GUIs SOAs Console apps . Yes you could also write GTK apps in PHP or console applications. But that was never the..

Tutorial for Python - Should I use 2.x or 3.0? [closed]

http://stackoverflow.com/questions/209888/tutorial-for-python-should-i-use-2-x-or-3-0

is no django for python 3 no wxwindows for python 3 no GTK for python 3 no Twisted for python 3 no PIL for python 3.....

Best video manipulation library for python? [closed]

http://stackoverflow.com/questions/220866/best-video-manipulation-library-for-python

documented. It also appears to be tightly coupled with pyGTK which is also a pretty big toolkit. python video editor share.. that you look again at gst python It is not coupled with pyGTK. You can use it completely separately with no dependencies on.. on either the Python bindings or the C libraries of GTK. I've written several command line utilities that use gst python..

Are there any “nice to program” GUI toolkits for Python? [closed]

http://stackoverflow.com/questions/35922/are-there-any-nice-to-program-gui-toolkits-for-python

GUI toolkits for Python closed I've played around with GTK TK wxPython Cocoa curses and others. They are are fairly horrible.. curses and others. They are are fairly horrible to use.. GTK TK wx curses all seem to basically be direct ports of the appropriate..

Is this possible to draw GtkTreeView listed like GtkIconView?

http://stackoverflow.com/questions/3596926/is-this-possible-to-draw-gtktreeview-listed-like-gtkiconview

GtkTreeView listed like GtkIconView I am working on a GTK application written in python. I obviously use PyGtk. My application..

Preventing window overlap in GTK

http://stackoverflow.com/questions/3859045/preventing-window-overlap-in-gtk

window overlap in GTK I've got a Python Linux application that displays bits of info.. Linux application that displays bits of info I need in a GTK window. For the purposes of this discussion it should behave..

Best programming language and framework for cross platform desktop application development? [closed]

http://stackoverflow.com/questions/4160162/best-programming-language-and-framework-for-cross-platform-desktop-application-d

per request below. On the subject of wxWidgets GTK etc I repeat the paramount requirement is NATIVE LOOK FEEL on..

how to set 'backend' in matplotlib in python

http://stackoverflow.com/questions/4930524/how-to-set-backend-in-matplotlib-in-python

work. I tried to use other argument of backend like 'GTK' and 'TkAgg' I installed python gtk2 dev package but still the.. library Thank you very much for that matplotlib.use 'GTK' import matplotlib.pyplot as plt Traceback most recent call.. maybe your matplotlib distribution is not compiled with GTK support or you miss the PyGTK package. Try to install it. Do..

Progress bar not updating during operation

http://stackoverflow.com/questions/496814/progress-bar-not-updating-during-operation

python program to upload a file to the internet im using a GTK progress bar to show the upload progress. But the problems that.. share improve this question I'm going to quote the PyGTK FAQ You have created a progress bar inside a window then you..

GUI Builder for Python [closed]

http://stackoverflow.com/questions/529498/gui-builder-for-python

improve this question It is Glade 3 a GUI Designer for GTK . It generates an XML file representing your GUI. You can load.. representing your GUI. You can load this GUI later using PyGTK . Specifically the screenshot is running a Mac OS X port of..

Need a simple “Hello World” example using the Webkit library in Python

http://stackoverflow.com/questions/647041/need-a-simple-hello-world-example-using-the-webkit-library-in-python

example for using the Webkit library in Python I have a GTK window and inside I want to put Webkit. With Python mozembed.. Did you check the Python bindings for the WebKit GTK port . In one of the directory there are demos on how to use.. check also the slides of a FOSDEM by Alp Toker on WebKit GTK pdf Developing hybrid Web GTK rich internet applications. import..

Has threading in GTK w/ Python changed in PyGObject introspection?

http://stackoverflow.com/questions/6943098/has-threading-in-gtk-w-python-changed-in-pygobject-introspection

threading in GTK w Python changed in PyGObject introspection I'm in the process.. I'm in the process of converting a program from PyGTK to PyGObject introspection for the first time and I've hit a.. and to update the progress bar. This worked fine with PyGTK but after converting to PyGObject I get all the usual improper..

Python: How can execute a jar file through a python script

http://stackoverflow.com/questions/7372592/python-how-can-execute-a-jar-file-through-a-python-script

Threading in Gtk python

http://stackoverflow.com/questions/11923008/threading-in-gtk-python

in Gtk python So I'm busy writing an application that needs to check.. after a certain amount ouf time I'm using python with Gtk 3 main.py file class Gui ... def on_update_click update app.. file class Gui ... def on_update_click update app Gui Gtk.main update.py file def update #check site for updates time.sleep..

gi.repository Windows

http://stackoverflow.com/questions/12981137/gi-repository-windows

I came up with this message from gi.repository import Gtk ImportError No module named gi I installed pygobject pygtkallinone.. gi.repository module is called PyGObject and is for Gtk 3 and is not yet available for Windows there has been experiments.. . https live.gnome.org PyGObject gtk module is called PyGtk and is for Gtk 2 and is very mature on Windows platforms in..

Extending from GtkBin

http://stackoverflow.com/questions/14253553/extending-from-gtkbin

from GtkBin I'm trying to make a custom widget that resembles the quick.. a custom widget that resembles the quick search entry that Gtk uses on all TreeView like widgets. Here's a simplified example.. example of my initial idea from gi.repository import Gtk class QuickSearch Gtk.Bin def __init__ self args kwargs super..

How to do background task in gtk3-python?

http://stackoverflow.com/questions/16934087/how-to-do-background-task-in-gtk3-python

I have this main thread Gui.py from gi.repository import Gtk Gdk import Process import gobject class gui def __init__ self.. import gobject class gui def __init__ self self.window Gtk.Window self.window.connect 'delete event' Gtk.main_quit self.box.. self.window Gtk.Window self.window.connect 'delete event' Gtk.main_quit self.box Gtk.Box self.window.add self.box self.label..

Ubuntu System Tray in Python

http://stackoverflow.com/questions/2400432/ubuntu-system-tray-in-python

3 Here's an example in Perl of combining gtk and Tk. Gtk handles the tray icon and the rest of the app uses Tk http www.perlmonks.org..

Has threading in GTK w/ Python changed in PyGObject introspection?

http://stackoverflow.com/questions/6943098/has-threading-in-gtk-w-python-changed-in-pygobject-introspection

threading import random time from gi.repository import Gtk Gdk #Initializing the gtk's thread engine Gdk.threads_init class.. fs #Stopping the thread and the gtk's main loop fs.stop Gtk.main_quit #Gui bootstrap window and progressbar window Gtk.Window.. Gtk.main_quit #Gui bootstrap window and progressbar window Gtk.Window progressbar Gtk.ProgressBar window.add progressbar window.show_all..

Python & GTK3: How to create a Liststore

http://stackoverflow.com/questions/7396723/python-gtk3-how-to-create-a-liststore

GTK3 How to create a Liststore In PyGtk I always used this to create a ListStore with an Image using.. this question Here's how from gi.repository import Gtk GdkPixbuf store Gtk.ListStore str GdkPixbuf.Pixbuf bool share.. Here's how from gi.repository import Gtk GdkPixbuf store Gtk.ListStore str GdkPixbuf.Pixbuf bool share improve this answer..

Python. Doing some work on background with Gtk GUI

http://stackoverflow.com/questions/8120860/python-doing-some-work-on-background-with-gtk-gui

Doing some work on background with Gtk GUI python 3.2.2 gtk3 3.2.2 python gobject 3.0.2 I'm trying.. from threading import Thread from gi.repository import Gtk Gdk class Gui def run self self.Window Gtk.Window self.Window.set_border_width.. import Gtk Gdk class Gui def run self self.Window Gtk.Window self.Window.set_border_width 8 self.Window.set_title..

User interaction in twisted process

http://stackoverflow.com/questions/8532387/user-interaction-in-twisted-process

documents current core examples . You can also use Gtk using twisted.internet.gtk2reactor . See the pbgtk2.py example..

Embed evince Python GI

http://stackoverflow.com/questions/8942604/embed-evince-python-gi

which is # usr bin env python from gi.repository import Gtk Gio from gi.repository import EvinceDocument from gi.repository.. from gi.repository import EvinceView class HelloWorldApp Gtk.Application def __init__ self Gtk.Application.__init__ self.. class HelloWorldApp Gtk.Application def __init__ self Gtk.Application.__init__ self application_id apps.test.helloevince..