[pygtk] Getting active region from TextView
Alfredo Jose Muela Romero
alfredoj.muela at alu.uclm.es
Fri Jan 2 19:29:58 WST 2004
Hi there,
I'm learning PyGTK and I'm coding a GUI to perform some
administration tools... The point is that I don't know how get
active (selected?) text whitin a TextView widget.
I've tried using the get_selection_bounds() and
get_selection_bound() (with marks) methods but the only thing I
got was the whole buffer instead of the selected chars.
Have I skipped a marvelous method or I'm just using them
bad?
Thank you,
Alfredo.
More information about the pygtk
mailing list