Jan Arne Petersen’s Blog

Archive for "May 2008"

A Default GtkWindow with Menu and Toolbars

I don’t like such applications on my N810: The application could be ported to use a HildonWindow if compiled for the maemo platform. But it would be much easier if there were an abstract GTK+ widget which would allow it to add a menu and toolbars to a window in a (platform specific) default layout. [...]

Read More ›

Another Pseudo Interface in GTK+

Beside the hidden scrollable interface there is another interface hidden in GtkWidgetClass::activate_signal. See Bug 532795 for an implementation of an explicit Activatable interface to replace this class variable.

Read More ›

Arrange icons in the notification-area

I don’t like to search my rhythmbox icon in the notification area. There is a patch attached to bug 531282 which provides a solution (GConf-Key: /apps/panel/applets/{$notification-area-applet}/prefs/order).

Read More ›

Scrollable widgets in GTK+

In GTK+ 2 there are scrollable widgets like GtkTreeView, GtkTextView or GtkViewport but no GtkScrollable interface. Instead a scrollable widget is defined by a “set_scroll_adjustments” signal, which id is written to the GtkWidgetClass::set_scroll_adjustments_signal class variable. If a scrollable widget is added to a GtkScrolledWindow the set_scroll_adjustments_signal is called and the hadjustment and vadjustment from the [...]

Read More ›