Re: What exactly is gtk_object_set_data for?
- From: jrb redhat com
- To: Marco Quezada <mquezada nlxcorp com>
- Cc: GTK List <gtk-app-devel-list gnome org>
- Subject: Re: What exactly is gtk_object_set_data for?
- Date: 28 Feb 2001 15:28:52 -0500
Marco Quezada <mquezada nlxcorp com> writes:
What exactly does this do to an object?
It lets you set arbitrary data on an object:
For example, you can do:
gtk_object_set_data (GTK_OBJECT (some_button), "data-string", data);
..
data = gtk_object_get_data (GTK_OBJECT (some_button), "data-string");
Thanks,
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]