[Glade-users] Hide and show function



I want to make a app that is going to hide button 2 when we
clicked on button1. And i typed a function like this:

void
on_button1_clicked                     (GtkButton       *button,
                                        gpointer
user_data)
{
GtkWidget *button2;
gtk_widget_hide (button2);
}

When we clicked on button 1 it si hiding itself (button1).
How could i hide button 2 when we clicked on button1?






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