GtkTextView - The “extend-selection” signal



Hi all,

gboolean
user_function (GtkTextView           *text_view,
               GtkTextExtendSelection granularity,
               GtkTextIter           *location,
               GtkTextIter           *start,
               GtkTextIter           *end,
               gpointer               user_data);

I'm trying to get the range of the selected word by
gtk_text_iter_get_offset (start) and gtk_text_ter_get_offset (end) on
the “extend-selection” signal, but everytime I double click a word,
Segmentation fault (core dumped).


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