Re: signal_enter_notify_event() does nothing



>>
>>>>
>>>>
>>>>
>>>> I think you could add mouse related events to the button, like adding
>>>> in its ctor (or just after it was created):
>>>>
>>>> add_events (Gdk::POINTER_MOTION_MASK | Gdk::ENTER_NOTIFY_MASK );
>>>>
>>>>
>>>> See you
>>>> _______________________________________________
>>>> gtkmm-list mailing list
>>>> gtkmm-list gnome org
>>>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>>>>
>
>>
>> How would I put that in my code? just like so?:
>> add_events (Gdk::POINTER_MOTION_MASK | Gdk::ENTER_NOTIFY_MASK );


toolUndo.add_events( ... ); (or "->" if toolUndo is a pointer) ... is
toolUndo a pointer? because that might be the problem.. altough the
compiler should shout if it is not a pointer (and you are using -> ) you
might be compiling on the microsoft compiler and that's known to be
pretty crappy concerning type safety

so toolUndo is a Gtk::Button ?


>>
toolUndo->signal_enter_notify_event().connect(sigc::mem_fun(*this,&MainWindow::nothingExec));
>>
>>
>> if so, then it doesn't work.. I really hope to get this to work  :(
>> _______________________________________________
>> gtkmm-list mailing list
>> gtkmm-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>>






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