Re: [pygtk] Radio button plus editable text

2002-05-21 Thread Christian Reis

On Tue, May 21, 2002 at 05:42:04PM -0600, Collins wrote:
> Is there any easy way to get something like the following:
> 
>   --  --  
> -
> |  | Choice 1   |  |  Choice 2  |(Editable text)  
> |  |  |
>   --  --  
> -
> 
> Choice 1 and 2 are radio buttons (mutually exclusive), but Choice 2
> has text (search string) to be entered.

If you mean something like:

( ) Choice 1 (*) Choice 2: [free text entry   ]

Then sure, just pack 2 radiobuttons and a text entry to the right of a
vbox. Keep the entry insensitive and when the second button is selected
make it sensitive. You'll need to acquire the text yourself, of course.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



[pygtk] Radio button plus editable text

2002-05-21 Thread Collins

Is there any easy way to get something like the following:

  --  --  
-
|  | Choice 1   |  |  Choice 2  |(Editable text)  
|  |  |
  --  --  
-

Choice 1 and 2 are radio buttons (mutually exclusive), but Choice 2
has text (search string) to be entered.


-- 
Collins Richey - Denver Area - WWTLRD?
gentoo(since 01/01/01) 2.4.18+(ext3) xfce-sylpheed-mozilla
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/