how to access the label of a menuitem ?
- From: Gregory Hosler <ghosler redhat com>
- To: gtk-app-devel-list gnome org
- Subject: how to access the label of a menuitem ?
- Date: Tue, 03 Jul 2007 23:53:30 +0800
Hi all,
I have a gtk_menu_item_new_with_label() which is described as:
Creates a new GtkMenuItem whose child is a GtkLabel.
I would like to know how to access this child label (for the purpose of change
the label :)
I've searched around, but the answer seems to elude me.
I tried casting the returned widget to a GTK_LABEL and that doesn't work, and
the GtkMenyItem api doesn't seem to have any call that returns me the child
widget (so i'm probably looking in the wrong place).
any helpful hints ? pointers?
thanks,m and best rgds,
-Greg
--
+---------------------------------------------------------------------+
Please also check the log file at "/dev/null" for additional information.
(from /var/log/Xorg.setup.log)
| Greg Hosler ghosler redhat com |
+---------------------------------------------------------------------+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]