[Glade-users] Problem with GtkNotebook and editable objects



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




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