Re: Set menu items sensitive

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

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