GTW - The Gtk+ C++ Wrapper Library
General

Home
Tutorial
License
Download
Mailing Lists

 

Links
Gtk+
Gtkmm
Gnome

Support This Project

SourceForge.net Logo

introduction

GTW 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.

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

//...

news
    News    

Version 0.1.0 (March 18, 2004)

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

Mailing Lists Created (February 20, 2004)

Two mailing lists are created for the project.

gtkwrapper-devel: https://lists.sourceforge.net/lists/listinfo/gtkwrapper-devel

gtkwrapper-general: https://lists.sourceforge.net/lists/listinfo/gtkwrapper-general

GTW Approved by Sourceforge (February 8, 2004)

You can visit our project page at sourceforge here.


Copyright © 2004     Li Lirong, Weng Wei