SLgtk 0.5.5 released
Posted on: 03/12/2004 06:44 PM

Version 0.5.5 of SLgtk is now available:

The SLgtk package binds the Gtk2 and GtkExtra widget sets to the S-Lang scripting language ( SLgtk wraps almost 2200 functions from Gtk2 and its constituent libraries, includes over 4000 lines of sample code in 40+ working guilets, and bundles a code generator (SLIRP) which can be useful for building additional S-Lang modules.

SLgtk also includes a visual version of the powerful S-Lang "where" command, extensions to and performance enhancements for several GtkExtra widgets, and a pixbuf loader for the FITS image file format widely used within astronomy.


Version 0.5.5 (03/12/04):

1. VWhere 1.1.1 enhancements:
. global prefs persist for all invocations w/in a single process
. incorporates zoom factor while panning, yielding finer/coarser
scrolling when zoomed in/out
. added zoom-to-fit, which zooms in on rubberband selection
. change cursor :
- to a watch (e.g. when doing potentially lengthy redraws)
- to a crosshair (during zoom-to-fit by rubberband box)

2. Configuration/build enhancements:

. script now aborts if Gtk 2.2 or later cannot be found
. removed --with-gtksrc and --with-glibsrc options
. lower end-user entry barrier by supporting release of binary
distributions with module containing Gtk et al statically
linked in (see new --with-gtk-static option)
. no longer build static library and slgtksh by default for
non-devel builds (they're mainly for debugging, and this
saves ~50% build time)
. code now compiled with much stricter flags during test builds

3. Remove typo from src/slgtk.c (
4. Generalize utility scripts in ./test, for use elsewhere
5. Added top-level test: target
6. GSList* and GdkPixbufFormat* now supported as opaque types
7. Nominal suport for g_slist_* family of functions (singly-linked list)
8. New _gdk_pixbuf_get_formats() SLgtk func, like gdk_pixbuf_get_formats()
Gdk func, except it returns an String_Type array of format names

9. Bundle SLIRP v1.0.1, which is now available standalone. SLIRP
enhancements will now be listed only within the SLIRP CHANGELOG.

10. Added new convenience functions for setting axis labels:

11. Axis label backgrounds are now transparent (i.e. match canvas color)
12. Added gdkpixbuf.h to SLIRP gdk.lst, for gdk_pixbuf_render_* funcs
13. RGB image display widget (packages/
. now based upon GtkLayout, instead of GtkDrawingArea, so that
other widgets may be superimposed
. generalized constructor, to accept EITHER distinct arrays for
each r,g,b band (original coding) OR a single array (which,
after normalization, will be used for each r,g,b band)

Read more

Printed from Linux Compatible (