[maemo-developers] Gtk background pixmap style for button widget

From: Tim Niemueller niemueller at kbsg.rwth-aachen.de
Date: Mon Aug 9 07:49:16 EEST 2010
Hi.

I have a question specific to Gtk(mm) programming for Maemo 5. In a 
dialog of an application I would like to mark one of the buttons green, 
like the call button in the call UI. I have found the appropriate images 
in /etc/hildon/theme/images (e.g. AcceptFingerButtonNormal.png).

I'm trying to set those images with Gtk::Widget::modify_bg_pixmap() to 
change the draw style. But this does not have any effect. Running the 
program with strace shows that the file is indeed successfully opened.

Can someone enlighten me how to achieve the desired effect? Maybe 
someone can even provide a few lines of source code which are known 
working? The rtcom-call-ui is not available as source, or is it?

Thanks a lot for any help in advance,
	Tim

-- 
AllemaniACs RoboCup Team            KBSG - Knowledge-Based Systems Group
========================================================================
http://robocup.rwth-aachen.de                     RWTH Aachen University
http://www.kbsg.rwth-aachen.de                           Ahornstrasse 55
http://www.fawkesrobotics.org                             D-52056 Aachen
More information about the maemo-developers mailing list