[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how to get value of a property
- From: Vadim Berezniker <vadim berezniker com>
- To: dia-list gnome org
- Subject: Re: how to get value of a property
- Date: Sun, 13 Jul 2003 16:06:13 -0400
Vadim Berezniker wrote:
> BoolProperty *prop = object_prop_by_name(obj_copy, "can_parent");
> if(prop)
> printf("val: %d\n", prop -> bool_data);
>
> It always prints "0" regardless of what the actual value is.
>
> I have defined the 'can_parent' property in the object that is being
> checked. I can toggle the property in the properties dialog, but trying
> to retrieve that property always returns 0 for the boolean value.
>
Anybody know the answer?
It's kind of important =/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Mail converted by Mofo Magic and the Flying D
All trademarks and copyrights are the property of
their respective owners.
Related Sites:
eBay Registration |
Bakie Directory |
Directory Owners Forum |
eLoan |
Cash Advance |
OPEN |
OPEN |
OPEN |
FreeCreditReport.com |
Powered by: vBulletin Version 3.5.3,
Copyright ©2000 - 2003, Jelsoft Enterprises Limited.
GuideSMACK