[Glade-users] Problem with GtkNotebook and editable objects

Damon Chaplin damon at karuna.uklinux.net
Mon May 8 05:30:29 EDT 2006


On Mon, 2006-05-08 at 10:41 +0200, Reichenbach, Gerald (Gruendau) wrote:
> 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.

This looks similar to a few GTK+ bugs:
  http://bugzilla.gnome.org/show_bug.cgi?id=302283
  http://bugzilla.gnome.org/show_bug.cgi?id=123026

If you're using a recent version of GTK+ and can narrow it down to
a simple test case you could submit a bug report.

Damon




More information about the Glade-users mailing list