Right I have got it to compile with:
GtkWidget * Alarmlist = gtk_list_new;
gtk_timeout_add(10, GtkFunction ( GetAlarms ),
Alarmlist);
void GetAlarms(GtkWidget * button, gpointer
data)
{
GtkWidget * listitem =
gtk_list_item_new_with_label ( "AAARRGG I AM ON FIRE" );
gtk_container_add (
GTK_CONTAINER ( data ), listitem );
gtk_widget_show ( listitem
);
} but when it runs I get a sementation fault can
anyone help ;-(
Thanks
|