Skip navigation.

gtkmm and glibmm 2.4.0

GTK
GTK

On time and in-sync, gtkmm 2.4 is now here. So you can now use all the latest GTK+ 2.4 APIs without leaving the comfort of C++.
gtkmm provides a C++ interface to GTK+, with comprehensive documentation. gtkmm 2.4 wraps additional API in GTK+ 2.4. gtkmm 2.4 installs in parallel with gtkmm 2.2, so you can have both installed at
the same time. glibmm is now a separate module, for use in non-GUI software.

gtkmm stays in-sync with GTK+ by following the official GNOME Platform Bindings release schedule.

Bindings for the rest of the GNOME Platform are also available, and are also API-stable.

http://www.gtkmm.org
Changes since gtkmm 2.2:

Highlights:
There are several new widgets/classes, with examples:

  • New File Chooser: FileChooser, FileChooserWidget, FileChooserDialog, FileFilter classes.
  • Action-based Toolbar/Menu API: UIManager, Action, ToggleAction, RadioAction classes.
  • New Combo Box: ComboBox, ComboBoxEntry, ComboBoxText, CellLayout classes
  • Auto-complete for Entry: EntryCompletion class
  • Other new classes: IconInfo, IconTheme TargetList
  • New ATK, Pango, and GDK API wrapped

Existing API improved:

  • Use of improved libsigc++ 2 API.
  • Removed useless key-binding signals
  • Alignment: Added set/get_padding()
  • Entry: Added set/get_alignment()
  • Settings: New properties
  • ListStore/TreeStores: Added insert_after(), which should be faster than insert().
  • TreeView: Added move_column_to_start()
  • TreeModel: Deriving is now easier, because the virtual functions now use C++ types.
  • TreeModel::iterator: Added operator--(), which is slow
  • See the NEWS file for detailed API changes

Thanks

The following people made gtkmm 2.4 happen:

Bradley Bell
Murray Cumming
Bryan Forbes (lots of very significant work)
Cedric Gustin
Oli Kessler
Ole Laursen
Andrew E. Makeev
Hagen Moebius
Frank Naumann
Elijah Newren
Billy O'Connor
Gene Ruebsamen
Martin Schulze
Enrico Scholz
Sebastian Rittau
Takashi Takekawa
Matthew Walton

Download
http://www.gtkmm.org/download.shtml

You will need libsigc++ 2, available here.

Development

There is active discussion on the mailing list and in the #c++ channel on irc.gnome.org

Murray Cumming
murray@murrayc.com
www.murrayc.com

Re: gtkmm and glibmm 2.4.0

check the online docs, they are excellent. it's a great toolkit