[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Radio button issue - newbie- please help.



Am Thu, 03 Feb 2000 schrieb John Robicheau:
>>Hello,
>
>  I am new to this list and need a wee bit of help.
>
>  I am designing a frontend GTK app for a DVD player , and i ahve a
>problem with the radio butons in the Options dialog, resetting back
>to the defaults every time the options dialog is opened.
>
>  The values for the settings don't change, when they are set, the
>variables in the code stay good, but the GUI doesn't remember what radio
>buttons should be toggled.
>
>  Is there some way of doing this...   My app is working, but it makes
>it look like it is not.
>

you have to set the buttons yourself

	gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( button), TRUE );
or
	gtk_toggle_button_set_active( GTK_TOGGLE_BUTTON( button), FALSE );


greets
detlef

>
>Thank you in advance.
>
>
>- John Robicheau
>    Rookie Programmer, Linux Freek, Technical Support Rep
>
>
>
>
>--
>==============================================================
>  |    /   \     Windows has detected your                 |
>  |    | ! |     mouse is in motion!  Click OK to restart! |
>  |    \   /                                               |
>
>
>

----------------------------------------
Content-Type: text/html; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------

--
                                     }}__ }  ______  }}
                                  {{   \ \__/     =\  {
                                  (     > __     X /     {
        nur tote fische            }}  /_/  \_____/   {
      schwimmen mit dem strom.    }       {          }}
                          -laotse-

http://programmierer.freepage.de/drei/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]