Re: Inserting entire objects inside Tree Model
- From: Vlad Volodin <vest 84 gmail com>
- To: Juanpablo S <juanpablo s tcs com>
- Cc: gtkmm-list gnome org
- Subject: Re: Inserting entire objects inside Tree Model
- Date: Sun, 19 Apr 2009 12:31:19 +0400
Hello, Juanpablo S.
One day, I've found useful (for me) function applied to GObject
objects: g_object_set_data.
It can contain any data, you've passed to it.
Good luck,
Vlad Volodin
2009/4/19 Juanpablo S <juanpablo s tcs com>:
>
> Hello,
>
> I want to insert an entire object inside a Tree Model, so that when the
> user clicks that option, for instance a ComboBox or a TreeView, i can
> retrieve data the user cannot see.
>
> For instance, you've got a ComboBox with "Name" and "Surname" and i want to
> retrieve the rest of the personal data when they choose the ComboBox item.
>
> Is there any way to insert a whole object? I have declared my object inside
> the class declaration but i cannot seem to be able to load any data on my
> object, i can only load data using basic types such as Glib::ustring and
> int.
>
> =====-----=====-----=====
> 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
>
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]