Gtk::HScale (Gtk::Range): Jump-to-position by left-click instead of middle-click?
- From: Phong Cao <phngcv gmail com>
- To: gtkmm-list gnome org
- Subject: Gtk::HScale (Gtk::Range): Jump-to-position by left-click instead of middle-click?
- Date: Sat, 19 Nov 2011 07:58:02 -0500
Hello everybody,
I am new to Gtkmm. I am trying to develop a small music player using Gtkmm & GStreamermm. I use Gtk::HScale for the progress bar, which is responsible for updating the track progress & allow user to move to different time position in the track.
Everything works fine until now, except that I can not use left-click button to snap (or jump) to random position in the Gtk::HScale (Gtk::Range). Instead, I have to either drag or right-mouse-click. I have tried to solve this problem for several days and still can not figure out how to use left-click to jump to different position in the Gtk::HScale (Gtk::Range). I have searched through the GTK+ & Gtkmm mail archive & reference but found no place talking about this.
Does anybody here know how to implement this functionality for Gtk::HScale (Gtk::Range)? If so I hope you can give me a hint.
Thank you and have a good day!
--
Phong V. Cao
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]