![]() |
![]() |
![]() |
GtkSourceCompletion Reference Manual | ![]() |
---|---|---|---|---|
gchar* gtk_source_view_get_last_word_and_iter (GtkTextView *text_view, GtkTextIter *start_word, GtkTextIter *end_word); gchar* gtk_source_view_get_last_word (GtkTextView *text_view); void gtk_source_view_get_cursor_pos (GtkTextView *text_view, gint *x, gint *y); gchar* gtc_gsv_get_text (GtkTextView *text_view); void gtk_source_view_replace_actual_word (GtkTextView *text_view, const gchar *text);
gchar* gtk_source_view_get_last_word_and_iter (GtkTextView *text_view, GtkTextIter *start_word, GtkTextIter *end_word);
text_view : |
The GtkTextView |
start_word : |
if != NULL then assign it the start position of the word |
end_word : |
if != NULL then assing it the end position of the word |
Returns : | the last word written in the GtkTextView or "" |
gchar* gtk_source_view_get_last_word (GtkTextView *text_view);
text_view : |
The GtkTextView |
Returns : | the last word written in the GtkTextView or "" |
void gtk_source_view_get_cursor_pos (GtkTextView *text_view, gint *x, gint *y);
Gets the cursor position on the screen.
text_view : |
The GtkTextView |
x : |
Assign the x position of the cursor |
y : |
Assign the y position of the cursor |
gchar* gtc_gsv_get_text (GtkTextView *text_view);
text_view : |
The GtkTextView |
Returns : | the GtkTextView content . |