Re: how to get reference to GtkLabel part of the GtkImageMenuItem



On Mon, 2004-09-06 at 15:46, Saulius Menkevicius wrote:
> Hi,
> 
> I'm wondering if it is possible to get/change the GtkLabel child widget
> of GtkImageMenuItem as I would like use the gtk_label_set_markup()
> method to embold the text contained in the label.

GTK_BIN(item)->child

> Essentially, why there is the gtk_image_menu_item_get_image() method and
> no gtk_image_menu_item_get_label()?

Because the image is not a regular child of the item.

Matthias






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]