Forum: Ruby-Gnome 2 Where is Gtk::MessageDialog.set_secondary_text defined?

4913bcb685792f601ae9813b4713abb9?d=identicon&s=25 Detlef Reichl (Guest)
on 2013-04-18 19:42
(Received via mailing list)
Hi,

the title says it all. The method is usable, but I don't find it in the
sources...

Who can enlighten me? Are there some kind of docs, where this magic is
explained?

Cheers, detlef
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-04-19 15:16
(Received via mailing list)
Hi,

In <51703058.3070603@gmx.org>
  "[ruby-gnome2-devel-en] Where is Gtk::MessageDialog.set_secondary_text
defined?" on Thu, 18 Apr 2013 19:41:44 +0200,
  Detlef Reichl <detlef.reichl@gmx.org> wrote:

> the title says it all. The method is usable, but I don't find it in the
> sources...
>
> Who can enlighten me? Are there some kind of docs, where this magic is
> explained?

It is automatically defined. Ruby/GLib defines acceessors
for properties
automatically. Gtk::MessageDialog.set_secondary_text is a
getter for secondary-text property:
  https://developer.gnome.org/gtk3/stable/GtkMessage...

Thanks,
--
kou
B985bf8029d396259f579c70f809269a?d=identicon&s=25 Simon Arnaud (sarnaud)
on 2013-04-19 15:18
If I understand it correctly, it's there :
https://github.com/ruby-gnome2/ruby-gnome2/blob/ma...

Simon
Ee6ffca720cc428d70247dcd7377dd48?d=identicon&s=25 Kouhei Sutou (Guest)
on 2013-04-19 15:26
(Received via mailing list)
In <e6f8d7be64bc689dda3edd804a387692@ruby-forum.com>
  "Re: [ruby-gnome2-devel-en] Where is
Gtk::MessageDialog.set_secondary_text defined?" on Fri, 19 Apr 2013
15:18:28 +0200,
  Simon Arnaud <ruby-forum-incoming@andreas-s.net> wrote:

> If I undersnd it correctly, it's there :
>
https://github.com/ruby-gnome2/ruby-gnome2/blob/ma...

Right. :-)

--
kou
4913bcb685792f601ae9813b4713abb9?d=identicon&s=25 Detlef Reichl (Guest)
on 2013-04-19 17:08
(Received via mailing list)
Hi,

Am 19.04.2013 15:15, schrieb Kouhei Sutou:
>> explained?
>
> It is automatically defined. Ruby/GLib defines acceessors
> for properties
> automatically. Gtk::MessageDialog.set_secondary_text is a
> getter for secondary-text property:
>
https://developer.gnome.org/gtk3/stable/GtkMessage...

Ok, that is simple to follow. Thank you! detlef
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.