Re: [gtk-list] Yes it's broke.



On Mon, 2 Mar 1998, Leeman Strout wrote:

> 
> Ok here's a snippet that just doesn't work:
> 
> 
> void show_options (GtkWidget *button, gpointer *data)
> { if (GTK_TOGGLE_BUTTON(button)->active) {
>     gtk_widget_show (optionsbox);
>   } else {
>     gtk_widget_hide (optionsbox);
>   }
> }

may i comment that i like your coding style, as it's the only one i've
found that resembles mine :)
 
> And the setup for it elsewhere:
> 
>   button_options = gtk_check_button_new_with_label ("Options");
>   gtk_signal_connect (GTK_OBJECT (button_options), "clicked",
>                       GTK_SIGNAL_FUNC (show_options), NULL);
> 
> And hitting the options button just doesn't do anything in 0.99.4  however
> it does the expected in 0.99.3  =)

although i have no authority to say, i think there's something funky with
the buttons and signals since 0.99.3. see my last post.

 _        _  __     __             _ _                                  _
|        / |/ /_ __/ /_____         |       Nuke Skyjumper               |
|       /    / // /  '_/ -_)        |         "Master of the Farce"      |
|_     /_/|_/\_,_/_/\_\\__/        _|_           nuke@bayside.net       _|



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