Re: [gnomemm] widget set sensitive problems



Sarah Leitner <sm_leitner yahoo com> writes:
> Today we have been trying to gray out menu items using
> gtkmm and Glade. We haven't found it wrapped in Gtkmm.

That's probably because it is in the Gtk::Widget class:

  Gtk::MenuItem *my_item;

  // ... get from glade

  my_item->set_sensitive(false);

See

  http://www.gtkmm.org/gtkmm2/reference/html/classGtk_1_1Widget.html#a34

-- 
Ole Laursen
http://sunsite.dk/olau/



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