[maemo-developers] GtkAction vs. AppMenu

From: Murray Cumming murrayc at murrayc.com
Date: Sat May 23 23:36:42 EEST 2009
On Sat, 2009-05-23 at 18:08 +0200, Alberto Garcia wrote:
> On Fri, May 22, 2009 at 10:09:49PM +0200, Murray Cumming wrote:
> 
> > if radio buttons are meant to look a certain way in Maemo, why isn't
> > that just a matter of theming or even of making a change in the GTK+
> > code instead of asking people to use the GTK+ API in an abnormal
> > way?
> 
> Well, there are several reasons for that:
> 
>    * First, I don't think there's anything abnormal about that
>      API. gtk_toggle_button_set_mode() is there exactly for that
>      purpose and it's trivial to use.

I think that function is widely considered to be useless and illogical. 

>  I don't think it's necessary to
>      patch GTK when GTK is already designed to do what we want here.
> 
>    * Second, maemo-gtk already differs from the upstream version of
>      GTK in quite a few things.

Still, API differences should be avoided where possible. A lot of
unpleasant API differences were reduced before the Fremantle work.

[snip]

-- 
murrayc at murrayc.com
www.murrayc.com
www.openismus.com


More information about the maemo-developers mailing list