From: Masao Mutoh Date: 2003-12-16T22:28:05+09:00 Subject: Re: Ruby-Gtk and accessor methods Hi, On Tue, 16 Dec 2003 05:22:06 +0900 gabriele renzi wrote: > Still, I can't understand something in the way bindings are done. > > It seem that for many widgets there are 3 accessors for internal > variables,i.e. for Window's title we have > > Window#title # reader, returns title > Window#title=(title) # writer, returns title > Window#set_title # writer, returns self > > > It's just my impression or this is the normal way ? In Ruby-GNOME2, it's normal. See the rules below: http://ruby-gnome2.sourceforge.jp/hiki.cgi?Naming+and+Conversion+Rules#Accessors+%28Setter%2FGetter+methods%29 > Can I assume this is the behaviour of the whole Gtk stuff? Yes. It's applyed to the whole Ruby-GNOME2 stuff(not only Ruby/GTK). -- .:% Masao Mutoh