[gnomemm] ANNOUNCE: gtw 0.1.0
- From: Li Lirong <lirong hotpop com>
- To: gnomemm-list gnome org, gtkmm-list gnome org, gtk-list gnome org, gtk-devel-list gnome org
- Subject: [gnomemm] ANNOUNCE: gtw 0.1.0
- Date: Thu, 18 Mar 2004 14:39:26 +0800
** version 0.1.0 (first release of gtw)
* This release is based on gtk+ 2.2.4
* The whole gtk+ and libgnomeui have been wrapped (almost).
** todo(version 0.2.0):
* tutorial
* gtk+ 2.4 and libgnomeui 2.6 support
======================================================================
About gtw
GTW (http://gtkwrapper.sourceforge.net/) is a template based C++ wrapper
library for GTK+.
The library is in header file form and does not require any compile-time
and run-time dependencies.
GTW is a thin wrapper on GTK+. All of the functions are inline
functions. This allows developers to create fast and compact applications.
While allowing developers to fully utilize C++ techniques, GTW doesn't
alter or hide the underlying GTK+ specific constructs. Developers can
mix GTK+ code and GTW code in any proportions to create working
applications.
It is also easy for developers to create reusable classes and extend
their class design with GTW.
With GTW, you can write code like this:
this->create(GTK_WINDOW_TOPLEVEL);
// connect signal to default handler "on_xxx"
this->destroy_sig(this).connect();
// connect singal to customized handler
this->delete_event_sig(this).connect_to<&HelloWindow::delete_event>();
button_.create_with_label("Hello World");
// call gtk function directly
g_signal_connect_swapped(button_.g_object(), "clicked", G_CALLBACK
(gtk_widget_destroy), g_object());
//...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]