Re: multi thread app and often variable accessing

2007-06-11 Thread wallace . owen
On Fri, 2007-06-08 at 19:41 -0600, Jim George wrote: > > Begin Curiosity: > > > Also, the hardware must have something like the Pentium CMPXCHG8B [...] > > Is it not > > sufficient to be able to write an int in one single bus access? ie > > have a 32-bit wide data bus > > Or is that exactly the poi

Re: Notebooks problem

2007-06-11 Thread JAMES SCOTT
Omar, The following gtk_notebook_* api's will help. gint page_num = 0; GtkWidget *child_widget = NULL; gchar *label_text = NULL; /* A. get a page number of current tab */ page_num = gtk_notebook_get_current_page (GtkNotebook *notebook); /* B. get the page's window handle */ child_widget = gt

GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

2007-06-11 Thread Sibren Polders
Hi, I'm quite new to gtk, and I'm writing a application for school. When I click on an Item in my menu bar an then click a couple of times on Ok (in the following dialogs) I always get this error in the end: /(gtkP:5837): GLib-GObject-WARNING **: instance of invalid non-instantiatable t

Notebooks problem

2007-06-11 Thread omar . crea
Good evening. I have a problem with labels inside a notebook. The function gtk_notebook_append_page() uses a frame and a label as arguments, and this appending process must be repeated for each tab of the notebook. I use a for statement to create a notebook with as many tabs as needed, but actually