[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Still can't figure this 1 out
- From: "Matt M." <matt boda virtualave net>
- To: gtk-app-devel-list redhat com
- Subject: Still can't figure this 1 out
- Date: Sat, 23 Oct 1999 10:56:55 -0700
I have an array GtkWidget *project_forms[1000]; an int numof_forms; - in
main() i set numof_forms=0; i have 1 function that creates a new window
(project_forms[numof_forms]=gtk_window_new(..); - then i connect the
focus_in_event to project_forms[numof_forms]; then numof_forms++; - in the
focus_in_event callback, i check to see which window has focus so that i can
set another windows title accordingly - i do int x; for(x=0;x<numof_forms;x++)
- if(GTK_WIDGET_HAS_FOCUS(project_forms[x]) ) { .. } - the app crashes here -
numof_forms, and project_forms[] are both global
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]