Re: Using a GtkCheckButton to toggle the display of a set of Radi oButtons



I'll tell you why.. Because I'm an idiot. Should have read the API
closer.  Ugh.. I need sleep.

Thanks!
jbm

On Tue, Feb 18, 2003 at 11:45:03AM -0000, martyn 2 russell bt com wrote:
Why not just use:

      bool = gtk_toggle_button_get_active(ccbutton);
      if(bool)
              gtk_widget_show(GTK_WIDGET(ccbutton));
      else
              gtk_widget_hide(GTK_WIDGET(ccbutton));

Regards,
Martyn




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