[maemo-developers] Using GtkComboBox to store POINTER data along with Text

From: Arvind1 K arvind1.k at tcs.com
Date: Thu Sep 11 12:58:51 EEST 2008
Hi,

I'm using GtkCList for storing Text value and some data associated with it 
(sort of hey value pairs) and I'm accessing them using:
gtk_clist_set_row_data( );
gtk_clist_get_row_data( );

However now I want to use GtkComboBox to replace GtkCList but I found 
GtkComboBox a lot confusing. I was not able to set and get value for 
POINTER that I want to use along with the TEXT that I'm displaying on the 
GUI.

Can someone provide me some sample code that can help me do this.

thanks
Arvind
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080911/798b31e9/attachment.htm 
More information about the maemo-developers mailing list