From: Masao M. <mu...@hi...> - 2002-11-05 09:59:24
|
Hi, On Mon, 04 Nov 2002 19:08:03 -0700 "Joshua Keith" <jos...@li...> wrote: > I have a question regarding rbgtkentry.c, as I have noticied several of the > methods have been removed from this widget. One of the most important being > 'get_text'. I've figured out that get_chars(0, -1) can be substituted, but > why has a non-deprecated method been removed? (see > http://developer.gnome.org/doc/API/2.0/gtk/GtkEntry.html ). > The get_text method was in the 1.11 rev, but was removed, > and I was wondering if it's coming back, and if not...why? Because they are properties. Property accessors are auto-generated. Gtk::Entry#set_text, Gtk::Entry#text=, Gtk::Entry#text are defined automaticaly. You can check them in rbbr. See below the message again. And also check http://ruby-gnome2.sourceforge.net/naming.html. --------------- On Tue, 29 Oct 2002 19:46:55 +0900 Masao Mutoh <mu...@hi...> wrote: > Hi, > > On Mon, 28 Oct 2002 11:10:08 -0700 > "Joshua Keith" <jos...@li...> wrote: > > > I was looking through the source and noticied that set_title was missing. Was it moved, or will it be taken out (and will it be returning)? > > Property accessors are auto-generated in Ruby-GNOME2. > So we don't need implement them by hand. > > I recommand you to use rbbr for finding methods/constants. > And my script what I sended you is also useful to examine > what methods has already implemented. > > Cheers, > Masao. > -- .:% Masao Mutoh<mu...@hi...> |