summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-04-23 22:22:44 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-04-23 22:22:44 +0000
commit7bb0ea6241114e96e15314b833fb4e907ece7351 (patch)
tree06a8d92b97a757d7c813a2ec882cbbd4bab1b0e3 /gtk/gtktextview.c
parentad4715b157fda6285e9dea7aaba634f86f5d87ad (diff)
downloadgtk+-7bb0ea6241114e96e15314b833fb4e907ece7351.tar.gz
Improve docs. (#62359)
* gtk/gtktextview.c (gtk_text_view_buffer_to_window_coords): (gtk_text_view_window_to_buffer_coords): Improve docs. (#62359) * gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml: Updates. (#79001) * gtk/tmpl/gtksocket.sgml: Add link to XEmbed draft. (#67818) * gtk/tmpl/gtkdrawingarea.sgml: Fix a typo. * gtk/text_widget.sgml: Complete the fix for #79080.
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r--gtk/gtktextview.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 676f732b35..63a34e75fa 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -6845,14 +6845,17 @@ buffer_to_text_window (GtkTextView *text_view,
/**
* gtk_text_view_buffer_to_window_coords:
* @text_view: a #GtkTextView
- * @win: a #GtkTextWindowType
+ * @win: a #GtkTextWindowType except #GTK_TEXT_WINDOW_PRIVATE
* @buffer_x: buffer x coordinate
* @buffer_y: buffer y coordinate
* @window_x: window x coordinate return location
* @window_y: window y coordinate return location
*
* Converts coordinate (@buffer_x, @buffer_y) to coordinates for the window
- * @win, and stores the result in (@window_x, @window_y).
+ * @win, and stores the result in (@window_x, @window_y).
+ *
+ * Note that you can't convert coordinates for a nonexisting window (see
+ * gtk_text_view_set_border_window_size()).
**/
void
gtk_text_view_buffer_to_window_coords (GtkTextView *text_view,
@@ -6982,7 +6985,7 @@ text_window_to_buffer (GtkTextView *text_view,
/**
* gtk_text_view_window_to_buffer_coords:
* @text_view: a #GtkTextView
- * @win: a #GtkTextWindowType
+ * @win: a #GtkTextWindowType except #GTK_TEXT_WINDOW_PRIVATE
* @window_x: window x coordinate
* @window_y: window y coordinate
* @buffer_x: buffer x coordinate return location
@@ -6990,6 +6993,9 @@ text_window_to_buffer (GtkTextView *text_view,
*
* Converts coordinates on the window identified by @win to buffer
* coordinates, storing the result in (@buffer_x,@buffer_y).
+ *
+ * Note that you can't convert coordinates for a nonexisting window (see
+ * gtk_text_view_set_border_window_size()).
**/
void
gtk_text_view_window_to_buffer_coords (GtkTextView *text_view,