Monthly Archives: June 2008

Clutter Tutorial

With the unstable developers release of Clutter 0.7.0 there were some API changes related to the new layout system. So I did another update of the examples and text in Openismus’ Clutter tutorial (also available as PDF). Coming from a GTK+ background I really like the new layout abilities including the height for width (and width for height) layout geometry support. The old Clutter 0.6 tutorial is still available as HTML and PDF.

Hello Planet

I have been added to Planet GNOME, so a short introduction:

My name is Jan Arne Petersen, I am a 27 years old software developer living near Cologne, Germany and working at Openismus. I am involved in the GNOME project since 2002. In this time I contributed features and bug fixes to different applications and libraries (like e.g. GnuCash, GTK+, Nautilus and Totem) and supported the GNOME booth at different German Linux events. Before my involvement in the GNOME project I was the initiator and lead developer of the JRuby project.

Openismus, Clutter Tutorial and Tool Palette

As announced by Murray I have started working at Openismus. Two of the tasks I did in the first week:

Clutter Tutorial

I updated the source code examples of the Clutter tutorial written by Murray to make them run with the current unstable development version of Clutter. I never used Clutter before but it is a really nice library and the tutorial helps a lot to understand Clutter concepts like Timelines and Behaviours. (Patch to update the examples).

Tool Palette

There is a generic tool palette container developed by Openismus. I continued Mathias’ work by adding new features such as support for scroll to group (show as much items of a group as possible when expanding) or RTL language support:

There is a bug open in GTK+ which allows to use some additional layout options for tool items. It would allow something like an enhanced BOTH_HORIZ style:

or vertical, aligned text in the TEXT style:

The EggToolPalette is already usable. The source code is avaiable: svn co http://svn.gnome.org/svn/libegg/trunk libegg

Viewvc: http://svn.gnome.org/viewvc/libegg/trunk/libegg/toolpalette/

Use

  • egg_tool_palette_new () to create a new tool palette
  • egg_tool_item_group_new (“Name”) to create a named item group
  • gtk_container_add (GTK_CONTAINER (palette), group) to insert the item group into the palette
  • and egg_tool_item_group_insert (EGG_TOOL_ITEM_GROUP (group), item, -1) to insert a GtkToolItem into the item group

The testtoolpalette.c example shows some more features (like drag and drop support).