Re: [pygccxml-development] Adding properties
Brought to you by:
mbaas,
roman_yakovenko
From: Kevin B. <kev...@gm...> - 2006-09-21 20:20:14
|
> I know it is not as simple as you expect. If you can wait I plan to > add support for properties in a week or two > ... > foo.property_( foo.member_function( 'get_x' ), foo.member_function( > 'set_x' ) ) > #or may be next interface > foo.property_( 'get_x', 'set_x' ) I can wait. I think it would be preferable to accept either type of parameter, since sometimes you may already have a reference to a member_function_t available and just passing it would be convenient, but if you don't having to make a temporary via the query API seems unnecessarily verbose. --- Kevin |