[Glade-users] Problem with GtkNotebook and editable objects

Reichenbach, Gerald (Gruendau) ReichenbachG at PMW.DE
Mon May 8 04:41:50 EDT 2006


I have an "GTKNotebook object" with 5 pages. When I change from a page
with a "GTKTextView object" (using a key shortcut) to an other page I
will see the new fields mixed with the entry fileds from the last page.
It seems there will be a refresh on this entry fields after I've changed
the focus to the other page. If I change from page to page using the
mouse (click) all will be as it has to!

That's my funktion to "call" the page:

void pmcbSwitch2OrderDetails(int pageNr, gboolean sens)
{
  gtk_notebook_set_current_page(GTK_NOTEBOOK(nbkMain),1);
  gtk_notebook_set_current_page(GTK_NOTEBOOK(nbkOrderDetails),pageNr);
  gtk_widget_set_sensitive (nbkOrderDetails, sens);
}

What am I doing wrong.


Regards

Gerald Reichenbach



More information about the Glade-users mailing list