Gwenael Casaccio's blog

Counter Tutorial with Gtk and GNU Smalltalk


In this little tutorial we will build a simple UI. The counter tutorial is just a window with two buttons and a label;
we will see how to add widgets in the main window and how to handle the Gtk events.

First Gtk program in Smalltalk


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
cd gtk-tools

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 "

       centralWidget: (GTK.GtkButton labeled: 'Hello World');
       title: 'simple';

GNU Smalltalk 3.2.4

GNU Smalltalk 3.2.4 has been released at

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.

How to install and and start GNU Smalltalk

Hi everyone,
This short video show you how to install and start GNU Smalltalk on Ubuntu.

First you should download the source code:

Second you have to install the dependencies :
  • libgtk2.0-dev
  • gawk
  • libreadline-dev
  • texinfo

After you can do the classical:

  • ./configure
  • make
  • make install

to start GNU Smalltalk




The following video show you the different steps:

Hello Planet GNOME

Tagged:  •    •  

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
( 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 (

Since two years I am working on this IDE named 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 ;-)

Syndicate content

User login