Re: Widget mask out clicks



On Wed, 2007-01-03 at 01:14 -0800, johnmb wrote:
> I am trying to make a widget insensitive to mouse clicks but active in all
> other respects using the following statement :-
> 
>     m_TreeView->set_events(~Gdk::BUTTON_PRESS_MASK);
> 
> This doesn't work, what am I misunderstanding about event masks ?

m_TreeView->unset_events (Gdk::BUTTON_PRESS_MASK);





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