Re: [gtk-list] How to change a label in a GtkTree?
- From: Quentin Delamarre <Quentin Delamarre sophia inria fr>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] How to change a label in a GtkTree?
- Date: Fri, 09 Jul 1999 16:54:54 +0200
Quentin Delamarre wrote:
>
> Hi,
>
> I have one GtTree with lots of labels and subtrees (GtkTreeItem),
> and I would like to change the text of the label of the items.
>
Ok, I just found an answer to my question:
the following expression:
((GtkLabel *) ((GtkBin *) My_tree_item)->child)->label
is pointing to a gchar* which is the text of the label of the item
My_tree_item.
Quentin.
P.S. Is there a simpler way to access this label?
--
==================================================================
Quentin Delamarre -- projet RobotVis -- INRIA Sophia-Antipolis
email: mailto:Quentin.Delamarre@sophia.inria.fr (France)
URL: http://www.inria.fr/robotvis/personnel/qdelam/qdelam-eng.html
==================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]