Supporting attribute-like properties



Hello,
Are there any plans to allow GObject properties to be accessed just like ordinary attributes (using __getattr__ and __setattr__)? This would allow something like

myLabel.angle += 180

instead of

myLabel.set_angle(myLabel.get_angle() + 180)

- Kerrick



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]