[maemo-developers] Fremantle: HildonCheckButton with two labels
From: Alberto Garcia agarcia at igalia.comDate: Mon Sep 21 12:20:38 EEST 2009
- Previous message: Fremantle: HildonCheckButton with two labels
- Next message: Fremantle: HildonCheckButton with two labels
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Sep 19, 2009 at 12:00:50PM +0200, Cornelius Hald wrote: > In my HildonButton subclass. Instead of setting the GtkCellView using > hildon_button_set_image(), I also tried gtk_button_set_image(). The > problem with the latter is, that it's just never shown. Probably > HildonButton is somehow overriding the image part of GtkButton. Yes, because GtkButton's _set_image() is not a virtual method. GtkButton supports an image and a label. If you change that default layout (which is what HildonButton does) there's no way to reuse some of its methods. Berto
- Previous message: Fremantle: HildonCheckButton with two labels
- Next message: Fremantle: HildonCheckButton with two labels
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]