Re: widget as label
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: widget as label
- Date: Wed, 28 Dec 2005 14:26:16 +0100
On Wed, 2005-12-28 at 15:38 +0700, Beast wrote:
Is it posible to use widget as a label for radiobutton? any example?
(*) Forever
( ) Duration [ spin button] minutes
Radio buttons are containers that have one child -- the widget, usually
a label. If you want an arbitrary widget in there, pass no arguments to
the constructor and then use the "add" method inherited from
Gtk2::Container.
Example 1 on the reference manual for GtkRadioButton shows how to do
that:
http://developer.gnome.org/doc/API/2.0/gtk/GtkRadioButton.html#desc
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]