Announcement: Pike GTK 1.1.1 released.
- From: David Hedbor <david hedbor org>
- To: gtk-list redhat com
- Subject: Announcement: Pike GTK 1.1.1 released.
- Date: 31 Dec 1998 22:46:04 -0800
PiGTK 1.1.1 Red (first public release) is now available from
http://pike-community.org/sites/pigtk/.
PiGTK is a Pike interface for GTK+ 1.1 that incorporates GTK's
powerful widgets in Pike's object model. To write a GUI-program will
now only require a few lines of pike-code.
A small example program might illustrate the point. This program loads
an image (given as the last argument) and displays it in a window. It
does however use a rather useful utility function, but even the 'raw'
pike version is not more than 40 lines long.
int main(int argc, array argv)
{
mapping image = GTK.Util.low_load_image( argv[-1] );
GTK.setup_gtk( argv[0] );
GTK.Window( GTK.WindowToplevel )
->add( GTK.Image(GDK.Image(1)->set(image->img))->show() )
->show();
return -1;
}
Pike is a dynamic programming language with a syntax similar to C. It
is simple to learn, does not require long compilation passes and has
powerful built-in data types allowing simple and fast data
manipulation. Read more about Pike at http://pike.idonex.se/.
PiGTK only works with GTK+ 1.1.11 or newer and requires Pike 0.6.90 or
later. You can download the latest Pike release from
ftp://ftp.idonex.se/pub/pike/all/.
--
[ Below is a random fortune, which is unrelated to the above message. ]
The more laws and order are made prominent, the more thieves and
robbers there will be.
-- Lao Tsu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]