★ wanayoo — archive 1999 http://linux.home.bg/projects/glibmm/Nouvelle recherche | Portail wanayoo

GLib-- C++ bindings for GLib


Hi there!

This is the GLib-- library homepage. It's a thin C++ wrapper library for GLib utility library. It is Free or Open Source Software - it is available under the GNU LGPL. Currently there are only 4 classes - read on.

Examples

G_Timer is a stop-watch like timer. It has methods for start, stop, reset and retrieving the time elapsed.

G_Timer timer = new G_Timer;
timer.start ();
timer.stop ();
float time = timer.elapsed();

G_String

G_String s1, s2 ("s2 initial value");
s1 = "now copying into s1 the " + s2;
printf ("%s", s1.data());

More examples - test.cc from the distribution. You'll find there examples for the G_HashTable and G_List classes (a hash-table and doubly linked list objects respectively).

Download

Version 0.1 source: glibmm-0.1.tar.gz.

You need GLib in order to build GLib--. It compiles cleanly with GLib 1.2.6, but chances are that it would run with older major versions too.

Feedback

Please send comments (and code! ;")) to pavel@linux.home.bg.


pavel@linux.home.bg
Last modified: Tue Mar 28 20:03:52 EEST 2000