[maemo-developers] GtkAction vs. AppMenu

From: Alberto Garcia agarcia at igalia.com
Date: Fri May 22 20:00:08 EEST 2009
On Fri, May 22, 2009 at 05:08:08PM +0200, Cornelius Hald wrote:

> The result now is:
> - gtk_toggle_button_new() is working but it displays the buttons as
> toggle buttons not as radio buttons.

Well, that's what looks better in the Fremantle UI style. So even
if you use gtk radio buttons directly (i.e, without gtk actions) I
suggest you to do something like this:

gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radio_button), FALSE);

Of course you can still use the traditional radio button look if you
want, see the attached example (it might help you with the keyboard
accelerators too).

Berto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hildon-app-menu-example.c
Type: text/x-csrc
Size: 4740 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20090522/19ccd570/attachment.c 
More information about the maemo-developers mailing list