Re: widget as label
- From: muppet <scott asofyet org>
- To: gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: Re: widget as label
- Date: Wed, 28 Dec 2005 13:05:18 -0500
On Dec 28, 2005, at 3:38 AM, Beast wrote:
Is it posible to use widget as a label for radiobutton? any example?
(*) Forever
( ) Duration [ spin button] minutes
It is possible, but for what you've drawn, that's not actually what
you want.
Just use an HBox and pack the spinbutton and another label after the
radio button.
VBox
Radiobutton ("Forever")
HBox
Radiobutton ("Duration")
SpinButton
Label ("minutes")
This also gives you the opportunity to hook up things such that the
spinbutton is disabled whenever its corresponding radio option is
inactive.
--
Holy crap, dude, we have kids!
-- Elysse, six days after giving birth to twins
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]