gtk_idle_add error

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

 



Hi.
Having some problems using gtk_idle_add.
Heres what im trying to do (its obvious)

// some function code here
    gtk_idle_add(idlestuff, window);
// some more function code here

int idlestuff(GtkWidget *widget, GtkWidget *window)
{
    gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_MOUSE);
    return TRUE;
}

I have tried all sorts and i cant get it to work at all. Gcc also spits out the following warning:
warning: implicit declaration of function 'gtk_idle_add'

Any help appreciated, thanks
-Keith Poole
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux