ANNOUNCE: pygtk-0.6.2 and gnome-python-1.0.4

J.W. Bizzaro bizzaro at bc.edu
Wed Aug 11 05:00:16 CEST 1999


      ANNOUNCE: pygtk-0.6.2 and gnome-python-1.0.4

James Henstridge is the author of the Python language bindings to the GTK+ and
GNOME GUI widget sets.  His most recent release includes quite a few extras. 
His message follows...

I have finally got round to releasing pygtk and gnome-python.  You
probably already know what is new, but if not, here are the major points:
  - fixed threading support (thanks to Matt Wilson and Paul Fisher).
  - A pygtk.h header file to make it easier to write wrappers for other
    add on widgets.
  - Wrappers for GtkGLArea and libglade.  To actually make use of the
    GtkGLArea widget, you will need an OpenGL binding for python, such as
    PyOpenGL.  There are some examples of its use in examples/gl (there is
    a port of the Mesa gears example in that directory, among others).
  - NumPy support in GdkImlib.  You can create an image object from a
    MxNx3 numpy array, and get numpy array representing the data in an
    image object, which you can manipulate.  This code is based on stuff
    sent in by Travis Oliphant.
  - Support for gdkrgb, so you can draw rgb and greyscale data to a
    drawable.  I have also added a numpy array variant called draw_array.
    It accepts unsigned byte arrays of the following forms:
      + MxN or MxNx1: treated as greyscale data.
      + MxNx3 or MxNx4: treated as RGB data.
    The numpy wrapper will also work with some non contiguous arrays, such
    as arr[a:b, c:d, :] (sliced along first two axes).
  - methods for the GdkWindow object for setting and reading properties.
    Also, GdkWindows now have an xid attribute which can be used to get
    the X window ID of the window.
  - You can now pass extra parameters to idle and timeout functions, like
    you can for signal handlers.  There is a gtk_signal_connect variant in
    pygtk that is similar to gtk_signal_connect_object as well now.

Gnome-python mainly contains bug fixes rather than new features.

You can get the new release at
  ftp://ftp.python.org/pub.contrib/Graphics/       (should be there soon)
  ftp://ftp.gnome.org/pub/GNOME/sources/latest/       (gnome-python only)
  ftp://ftp.gtk.org/pub/gtk/python/      (pygtk only -- not uploaded yet)
  ftp://ftp.daa.com.au/pub/james/python/

Remember to report any bugs you find.

James.
--
Email: james at daa.com.au
WWW:   http://www.daa.com.au/~james/
--

More information on Python bindings to GNOME-related toolsets can be found at
the PyG Tools Information Page:

    http://theopenlab.uml.edu/pygtools/




More information about the Python-list mailing list