Gtk::Entry, how to get the cursor coordinates
- From: Angelo <angelo70 gmail com>
- To: gtkmm-list gnome org
- Subject: Gtk::Entry, how to get the cursor coordinates
- Date: Fri, 20 Apr 2007 11:18:14 +0200
I need a widget-relative x and y coords of the cursor, or even screen
absolute coordinate of it
I've try trough the associated Pango::Layout, using get_cursor_pos,
get_cursor_weak_pos. get_cursor_strong_pos.
As documentation say, i've convereted the Entry index in Pango index
(tha value remain the same).
But i only get "Rectangles" structs with all zero values.
Every help is appreciated.
Angelo Dureghello
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]