Menu

#140 Want to access GLib::Object properties using []

open
nobody
None
5
2012-12-11
2010-01-06
No

http://ruby-gnome2.sourceforge.jp/hiki.cgi?GLib%3A%3AObject

Accessing properties is done through object.set_property("key", "value") and object.get_property("key").

I'd like to access properties by doing object["key"] = "value" and object["key"].

Discussion


Log in to post a comment.

MongoDB Logo MongoDB