Latest recipes tagged "meta:requires=gtk"http://code.activestate.com/recipes/tags/meta:requires=gtk/new/2011-10-24T13:34:29-07:00ActiveState Code RecipesSplash Screen GTK (Python)
2011-10-24T13:34:29-07:00Nicolas Coelhohttp://code.activestate.com/recipes/users/4179691/http://code.activestate.com/recipes/577919-splash-screen-gtk/
<p style="color: grey">
Python
recipe 577919
by <a href="/recipes/users/4179691/">Nicolas Coelho</a>
(<a href="/recipes/tags/gtk/">gtk</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/screen/">screen</a>, <a href="/recipes/tags/simple/">simple</a>, <a href="/recipes/tags/splash/">splash</a>).
</p>
<p>This is a simple example showing how to put a splash screen to work in a GTK app.</p>
Generic flash-videos downloader using webkit (Python)
2010-04-04T11:56:25-07:00Arnau Sanchezhttp://code.activestate.com/recipes/users/4173270/http://code.activestate.com/recipes/577167-generic-flash-videos-downloader-using-webkit/
<p style="color: grey">
Python
recipe 577167
by <a href="/recipes/users/4173270/">Arnau Sanchez</a>
(<a href="/recipes/tags/download/">download</a>, <a href="/recipes/tags/flash/">flash</a>, <a href="/recipes/tags/gtk/">gtk</a>, <a href="/recipes/tags/pygtk/">pygtk</a>, <a href="/recipes/tags/webkit/">webkit</a>).
</p>
<p>This recipe shows how to build a generic resource logger of webpages using PyGtkWebkit. The demo code implements a generic downloader for flash-video sites.</p>
pyGTK threading (Python)
2009-04-01T07:07:56-07:00oohay_email2004http://code.activestate.com/recipes/users/4169723/http://code.activestate.com/recipes/576705-pygtk-threading/
<p style="color: grey">
Python
recipe 576705
by <a href="/recipes/users/4169723/">oohay_email2004</a>
(<a href="/recipes/tags/pygtk/">pygtk</a>, <a href="/recipes/tags/threading/">threading</a>).
Revision 2.
</p>
<p>This is my first successful attempt at threading in pyGTK.</p>
<p>Suggestions please.</p>
simple pygtk Calculator (Python)
2009-01-20T21:07:35-08:00mohsen javidhttp://code.activestate.com/recipes/users/4168857/http://code.activestate.com/recipes/576623-simple-pygtk-calculator/
<p style="color: grey">
Python
recipe 576623
by <a href="/recipes/users/4168857/">mohsen javid</a>
(<a href="/recipes/tags/calculator/">calculator</a>, <a href="/recipes/tags/pygtk/">pygtk</a>).
</p>
<p>this is a simple calculator maked whith python and gtk.</p>
palette similar GLADE palette by pygtk (Python)
2009-01-13T22:36:23-08:00mohsen javidhttp://code.activestate.com/recipes/users/4168857/http://code.activestate.com/recipes/576614-palette-similar-glade-palette-by-pygtk/
<p style="color: grey">
Python
recipe 576614
by <a href="/recipes/users/4168857/">mohsen javid</a>
.
Revision 3.
</p>
<p>this program make a palette for your items.</p>
GtkWorker (Python)
2007-06-03T09:06:42-07:00Thomas Ahlehttp://code.activestate.com/recipes/users/4060075/http://code.activestate.com/recipes/521881-gtkworker/
<p style="color: grey">
Python
recipe 521881
by <a href="/recipes/users/4060075/">Thomas Ahle</a>
(<a href="/recipes/tags/blocking/">blocking</a>, <a href="/recipes/tags/glib/">glib</a>, <a href="/recipes/tags/gtk/">gtk</a>, <a href="/recipes/tags/swingworker/">swingworker</a>, <a href="/recipes/tags/threads/">threads</a>).
</p>
<p>I got inspired to this class, after having read about the java SwingWorker.
The problem is that you sometimes have a tough task you want to do in a GUI program, but you don't want the UI to lock.
This recipe solves the problem by running the tough code in a background thread, while still letting you do useful interaction with it, like getting the progress or the latest results.</p>
pyGTK Win32 Extension - Empower GTK with Win32 windowing features. (Python)
2004-11-15T06:28:28-08:00Fadly Tabranihttp://code.activestate.com/recipes/users/2143621/http://code.activestate.com/recipes/334779-pygtk-win32-extension-empower-gtk-with-win32-windo/
<p style="color: grey">
Python
recipe 334779
by <a href="/recipes/users/2143621/">Fadly Tabrani</a>
.
Revision 3.
</p>
<p>This module enables pyGTK developers on the windows platform to handle native windows messages and take advantage of features such as notification icons and window transparency (Win2000 and above). Requires pywin32 extensions by Mark Hammond.</p>
Live Object Browser (Python)
2004-08-18T16:22:16-07:00Simon Burtonhttp://code.activestate.com/recipes/users/1214028/http://code.activestate.com/recipes/300304-live-object-browser/
<p style="color: grey">
Python
recipe 300304
by <a href="/recipes/users/1214028/">Simon Burton</a>
(<a href="/recipes/tags/debugging/">debugging</a>).
</p>
<p>Given an object, this tool throws up a gtk tree widget that maps all the references found. It dynamically builds the tree, which means it can handle large amounts of data and circular references.</p>
Building GTK GUIs interactively (Python)
2001-09-27T15:49:21-07:00Brian McErleanhttp://code.activestate.com/recipes/users/111980/http://code.activestate.com/recipes/65109-building-gtk-guis-interactively/
<p style="color: grey">
Python
recipe 65109
by <a href="/recipes/users/111980/">Brian McErlean</a>
(<a href="/recipes/tags/ui/">ui</a>).
Revision 3.
</p>
<p>One of pythons greatest strengths is the ability to try things interactively at the interpreter.
Using Tkinter shares this strength, since one can create buttons, windows and other widgets,
and instantly see them onscreen, click on buttons to activate callbacks and still be able to
edit and add to the widgets from the python command line.</p>
<p>While the python GTK bindings are generally excellent, one of their flaws is that this is not possible.
Before anything is actually displayed, the gtk.mainloop() function must be called, ending the
possibility of interactive manipulation.</p>
<p>This recipe is a program which simulates a python interpreter which transparently allows the user to
use gtk widgets without having to call mainloop(), in much the same way as Tk widgets.</p>
<p>This latest version contains enhancements added by Christian Robottom Reis to add readline completion support.</p>