Archive

Posts Tagged ‘pygtk’

back, indeed

13 November 2008 Leave a comment

I’m in Lyon again, since a couple of hours.

It sounds always strange to start again talking in French. I love the french sounds, but the Italian-French transition is always noticeable.

Coming back, I’ve read a couple of things I have heard of during the vacations. PyHP, for example (see pyhp.org). And “Sub-classing GObject in Python” (http://www.sicem.biz/personal/lgs/docs/gobject-python/gobject-tutorial.html).

Well, I’ve also read LeMonde.fr and some other news, but, you know, it’s the crisis.

I think that now, I’m able to go to bed. BTW, Thanks for the Bagna Caoda, Davide.

Advertisement

how to install gtksourceview2 on windows

8 October 2008 1 comment

download and install all the following components:

gtk runtime installer (easier than take all the binaries and put them together)
http://sourceforge.net/projects/gtk-win/

gtksourceview2.4 binaries for win32
http://ftp.gnome.org/pub/gnome/binaries/win32/gtksourceview/2.4/
put them in the gtk runtime lib folder (or somewhere in your path)

pygtksourceview2 installer for win32
http://ftp.gnome.org/pub/gnome/binaries/win32/pygtksourceview/

libxml2, latest version binaries (really take the latest version)
ftp://xmlsoft.org/libxml2/win32/
put them in the gtk runtime lib folder (or somewhere in your path)

ok, now you can take the code in the previous post and execute it successfully.

up-to-date sample code for gtksourceview2 (from the svn)

8 October 2008 Leave a comment
#CREDITS
#http://www.progbox.co.uk/wordpress/?p=300
#DEPENDS: gtksourceview2 and libxml2
import gtk
import gtksourceview2
win = gtk.Window()
bufferS = gtksourceview2.Buffer()
manager = gtksourceview2.LanguageManager()
language = manager.get_language("xml")
#langS.set_mime_types(["text/x-python"])
bufferS.set_language(language)
bufferS.set_highlight_syntax(True)
view = gtksourceview2.View(bufferS)
view.set_show_line_numbers(True)
win.resize(400,400)
win.add(view)
win.show_all()
gtk.main()
Categories: Uncategorized Tags: , , ,

news from the SVN

3 October 2008 Leave a comment

this week’s edition of “news from the SVN” follows:

– XMLFinder: a graphical xpath evaluator (PyGTK)
– XMLFindTool and XMLTreeView: two classes which implement the Gino and XMLFinder cores; XMLFinder uses both the classes
– something doesn’t work in the CompressedFile class; under investigation

no binary distributions of these tools are provided, for now

notice: we have moved, once more. this blog is now available also on tec.nilleb.com

Filesystem Changes Monitor (FSCM) 0.1

19 September 2008 Leave a comment

The filesystem changes monitor (fscm) is a systray applet which allows you to inspect a set of filesystem entities for changes. when any change is detected, it changes its appearance.
it’s the ideal companion for a quality assurance engineer who wants to be notified upon the creation of new memory dumps/exceptions stacks/logs updates/etc.

It has hit the svn yesterday. It’s available for download from assembla.com. As usual, it is licensed under the GPL.

It uses icons found on the net (no license found for these icons), a systray icon code based on pywin32 (found on the net this too, no license as well), and pygtk. The watchdog code is mine, I haven’t found anything suitable.

Links:

  • etools project §
  • fscm download page §

Gino 0.2

29 August 2008 Leave a comment

Gino 0.2 has hit the SVN. (What’s Gino? http://www.assembla.com/wiki/show/etools/Gino)
It is delivered with a nice setup.py. With the help of py2exe, it is possible to make it a windows binary, easily portable.
The next steps? fix some(many) bugs, and prepare a Inno setup to deploy it.

If you want to try it, you can get the sources from assembla.com (http://svn2.assembla.com/svn/etools). (What are the etools? http://www.assembla.com/wiki/show/etools/Gino).

This project has been written with eclipse and pydev extensions. It isn’t clear which kind of license it will use, yet.