Re: i18n and Combo widget?
- From: "Nix N. Nix" <nix achilles go-nix ca>
- To: Bo Majewski <bo majewski name>
- Cc: GTK <gtk-app-devel-list gnome org>
- Subject: Re: i18n and Combo widget?
- Date: Tue, 9 Sep 2003 11:50:29 -0400 (EDT)
Perhaps you should add actual GtkListItem objects to the combo box instead
of strings. Then, for each item, you can do
gtk_object_set_data (GTK_OBJECT (the_item), "hash_code",
(gpointer)the_hash_code) ;
Then, at each "changed" event, you compare the text in the text box to the
text representation of each item (translated or otherwise), and
gtk_object_get_data the hash code from the item you found.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]