Re: Set menu items sensitive
- From: Murray Cumming <murrayc murrayc com>
- To: Glus Xof <gtglus gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Set menu items sensitive
- Date: Wed, 09 Jun 2010 21:34:17 +0200
On Wed, 2010-06-09 at 18:16 +0200, Glus Xof wrote:
> if (condition)
> myFirstItem->set_sensitive (true);
> else
> myFirstItem->set_sensitive (false);
>
> The problem is that the method set_sensitive() seems not to run when
> the structure *if* is readed further.
> Could change anymore else ?
This doesn't make any sense. If you call set_sensitive() then it should
work. If you are not even calling set_sensitive() then that is some
other problem in your code.
--
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]