Re: putting icon on GtkImageMenuItem tutorial(ette)
- From: Mike Massonnet <mmassonnet gmail com>
- To: Mick <bareman tpg com au>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: putting icon on GtkImageMenuItem tutorial(ette)
- Date: Wed, 23 Jun 2010 11:19:58 +0200
2010/6/23 Mick <bareman tpg com au>:
can any one point me to a tutorial or clear example code that covers
placing an icon on a GtkImageMenuItem with label. I've been trying all
day and when I cast my way out of type mismatches I keep getting
segfaults.
GtkWidget *image = gtk_image_new_...
GtkWidget *mi = gtk_image_menu_item_new...
gtk_image_menu_item_set_image (GTK_IMAGE_MENU (mi), image);
HTH
--
Mike
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]