can't access notebook widget from menu?



Hello,

  I am developing a GNOME application (GPLed).  I used Glade for the UI.
  The main part of the app is a 3-tab notebook.

  I can access this notebook from a toolbar button like this:
  w = gtk_widget_get_toplevel(b), lookup_widget(w, "notebook_widget")

  However, the same scheme does not work on a menu-item.  All my menus
  are therefore dysfunctional.

  Can anyone please tell where I am going wrong?

Thanks!
Deepak

-- 
N Deepak || http://www.ndeepak.info/




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