Re: question on signals



>step is
>
>void
>step                                   (GtkEditable     *editable,
>                                        GtkButton       *button);
>
>Is it right? 

No.

void step (GtkWidget *widget_signal_was_emitted_for, gpointer your_argument)
{    
     GtkEntry *entry;
     GtkButton *button;

     button = GTK_BUTTON(widget_signal_was_emitted_for);
     entry = GTK_ENTRY(your_argument);

     ...
}



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