Installing properties for arbitrary structure?
- From: "Lawrence Nolin" <ln imap cc>
- To: gtk-list gnome org
- Subject: Installing properties for arbitrary structure?
- Date: Thu, 18 Oct 2007 22:52:10 -0700
To install a property for fundamental types such as integers, chars,
etc, you can use g_param_spec_*() and g_object_class_install_property().
My question is: how do I create a GParamSpec and install a property for
an arbitrary non-GObject C structure? I'm worried that values stored in
the properties won't be garbage collected. I could wrap the structures
in GObject subclasses and use g_param_spec_gobject, but that seems
overkill. Any help?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]