(Old Gtk1 version for freepascal 1.1: gktk.pas- 243 Kb.
and for M$ win gtk1.3 dll library)
With qgtk2.pas it is really very simple:
uses qgtk2;
begin
qstart('Hello Word!', nil, nil);
qLabel(' Hello word with ');
qButton(' QUIT button ', @qDestroy);
qGo;
end.
qLabel('Hello'); qButton('qButton', nil); qLabel('and qLabel');
qNextRow;
qLabel('1 qNextRow qLabel'); qButton('and qButton', nil);
qFrame;
qButton('2 qFrame',nil);
qNextRow;
qlabel('3 qNextRow in frame -'); qLabel('and qLabel');
qseparator;
qlabel('4 qseparator in frame'); qButton('and qButton', nil);
qFrame;
qLabel('5 qFrame'); qButton('and qButton', nil);
qNextRow;
qLabel('6 qLabel ');
qEndFrame;
qLabel('7 qEndFrame'); qButton('and qButton', nil);
qButton('...', nil); qButton('and QUIT', @qDestroy);
Easy creating of menus, dialogs and another componets.
It allows you to draw the essential
graphics and to show xpm pictures. It supports the movement of the pictures
without blinking and with the transparent color and it enables to react on
the position and click of the mouse.
Freepascal with gtk2 support is avaible
for GNU Linux and for M$windows.
Your programs using qgtk2.pas can be compiled in Linux and also in Windows.
(For M$windows you need gtk2 dll library )
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
gnu
(c) 2003-2005 Jirka Bubenicek