Re: Widget mask out clicks



Thanks for the reply Paul,

I tried your suggestion but get the following error message when compiling
:-

gui_menu.cc:76: error: 'class Gtk::TreeView' has no member named
'unset_events'


Paul Davis wrote:
> 
> 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);
> 
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Widget-mask-out-clicks-tf2912405.html#a8155599
Sent from the Gtkmm mailing list archive at Nabble.com.




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