Re: Button Press / Release Events on a HScale
- From: smso graduate hku hk
- To: lyleunderwood gmail com
- Cc: gtkmm-list gnome org
- Subject: Re: Button Press / Release Events on a HScale
- Date: Tue, 12 Jan 2010 01:57:09 +0800
Dear Lyle Underwood,
Please pass "false" as a second argument to the connect() function:
hscale->signal_button_press_event().connect
(
sigc::mem_fun(*this, &MyClass::on_hscale_button_press_event), false
);
MyClass::on_hscale_button_press_event()
{
printf("on_hscale_button_press_event()...\n");
return true; // allow the event to propagate
}
docs links:
http://library.gnome.org/devel/gtkmm-tutorial/unstable/sec-xeventsignals.html.en
(Thanks to Murray Cumming)
Regards from smso
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]