Gwenael Casaccio's blog
In this short tutorial I will explain how to create a simple GTK application with GNU Smalltalk. First of all we download the gtk-tools package which contains improvements for Gtk.
git clone email@example.com:gst-objectspaces/gtk-tools.git
Now we can create a first Gtk application; first we load the gtk-tools package
" Create a temporary variable "
| window |
PackageLoader fileInPackage: 'GtkTools'.
" This is a simple program that creates a window with a button and a status bar: "
" Create a new window "
window := GtkTools GtkMainWindow new.
" Set a button as the main widget, change the title and status bar "
window centralWidget: (GTK.GtkButton labeled: 'Hello World'); title: 'simple';
GNU Smalltalk 3.2.4 has been released at
- ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.4.tar.gz SHA1 checksum: 6b164e145c1118ad74770bb15614478d47f55523
- ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.4.tar.xz SHA1 checksum: 75b7077a02abb2ec01c5975e22d6138b541db38e
This is a minor release, mostly consisting of bug fixes.
This is the list of changes in this release:
- Autoload is extended to allow plugging in arbitrary loaders.
- Array items in a CStruct didn't work, this is fixed now.
- DLD could have problems when the same library was requested multiple times.
- Errors in the bind() system call were not detected correctly; this has been fixed.
- Fixes for platforms with 113-bit long doubles.
- libgtk2.0-dev li>
- gawk li>
- libreadline-dev li>
- texinfo li>
- make install
Hello Planet GNOME,
I am happy to be included on Planet GNOME ;)
My name is Gwenael, I live in the North of France near Lille
(http://en.wikipedia.org/wiki/Lille) and I am working
on an IDE for GNU Smalltalk (and thus improving the GTK binding
of GNU Smalltalk). GNU Smalltalk is a free implementation of the
Smalltalk language (http://en.wikipedia.org/wiki/Smalltalk).
Since two years I am working on this IDE named VisualGST
(https://github.com/MrGwen/gst-visualgst). The goal of
VisualGST is to provided modern all the widgets that
GTK has with the dynamicity of Smalltalk and also to
provide a nice experience for the user. So let me present
you VisualGST ;-)