Re: GtkNotebook problem



At first, I would suspect that the use of deprecated widgets could
cause this problem. As it turns out, GtkClist is indeed deprecated
(use GtkTreeView instead). However, GtkEntry is not deprecated, so I
am surprised that it too doesn't work properly. I would go through the
GTK 2.x documentation and make sure you get rid of all deprecated
widgets and function calls. If it still doesn't work, maybe you could
try placing your widgets in event boxes.

Cheers,
Chris Anderson

On 6/30/05, David Cooke <d j cooke lineone net> wrote:
Hi,

I have recently begun migrating a long-neglected app from Gtk1.2 to
Gtk2.  I have so far made the minimum alterations necessary to compile.

I have a GtkNotebook in the main window, and find that GtkEntry and
GtkClist widgets displayed in a notebook page do not respond at all to the
mouse and will not accept the focus, whilst GtkRadiobuttons and a GtkText
on the same page appear to be working OK.  The same GtkClist - generated by
the same function - is also used at other times in a modal dialog, where it
works normally.  Removing all but one of the GtkNotebook pages makes no
difference.  Everything worked fine under Gtk1.2.

Can anyone kindly advise, or point me in the right direction?

David Cooke

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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