Re: Help with the "gpointer"
- From: Mark Leisher <mleisher crl nmsu edu>
- To: gtk-app-devel-list gnome org
- Subject: Re: Help with the "gpointer"
- Date: Thu, 21 Dec 2000 11:06:13 -0700 (MST)
Your function should work like this:
void
on_limpar_activate(GtkMenuItem *menuitem, gpointer user_data)
{
    GtkWidget **campos;
    gint i;
    campos = (GtkWidget **) user_data;
    for(i=0;i<5;i++) gtk_entry_set_text(campos[i],"");
}
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab            Cinema, radio, television, magazines are a
New Mexico State University       school of inattention: people look without
Box 30001, Dept. 3CRL             seeing, listen without hearing.
Las Cruces, NM  88003                            -- Robert Bresson
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]