diff options
Diffstat (limited to 'docs/reference/gtk/tmpl/gtkeditable.sgml')
-rw-r--r-- | docs/reference/gtk/tmpl/gtkeditable.sgml | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/docs/reference/gtk/tmpl/gtkeditable.sgml b/docs/reference/gtk/tmpl/gtkeditable.sgml index b1b10be105..c999fe84cd 100644 --- a/docs/reference/gtk/tmpl/gtkeditable.sgml +++ b/docs/reference/gtk/tmpl/gtkeditable.sgml @@ -87,6 +87,50 @@ editable by the user.</entry> </para> +<!-- ##### SIGNAL GtkEditable::changed ##### --> +<para> +Indicates that the user has changed the contents +of the widget. +</para> + +@editable: the object which received the signal. + +<!-- ##### SIGNAL GtkEditable::delete-text ##### --> +<para> +This signal is emitted when text is deleted from +the widget by the user. The default handler for +this signal will normally be responsible for inserting +the text, so by connecting to this signal and then +stopping the signal with gtk_signal_emit_stop(), it +is possible to modify the inserted text, or prevent +it from being inserted entirely. The @start_pos +and @end_pos parameters are interpreted as for +gtk_editable_delete_text() +</para> + +@editable: the object which received the signal. +@start_pos: the starting position. +@end_pos: the end position. + +<!-- ##### SIGNAL GtkEditable::insert-text ##### --> +<para> +This signal is emitted when text is inserted into +the widget by the user. The default handler for +this signal will normally be responsible for inserting +the text, so by connecting to this signal and then +stopping the signal with gtk_signal_emit_stop(), it +is possible to modify the inserted text, or prevent +it from being inserted entirely. +</para> + +@editable: the object which received the signal. +@new_text: the new text to insert. +@new_text_length: the length of the new text. +@position: the position at which to insert the new text. + this is an in-out paramter. After the signal + emission is finished, it should point after + the newly inserted text. + <!-- ##### FUNCTION gtk_editable_select_region ##### --> <para> Selects a region of text. The characters that @@ -247,47 +291,3 @@ widget or not. @Returns: -<!-- ##### SIGNAL GtkEditable::changed ##### --> -<para> -Indicates that the user has changed the contents -of the widget. -</para> - -@editable: the object which received the signal. - -<!-- ##### SIGNAL GtkEditable::delete-text ##### --> -<para> -This signal is emitted when text is deleted from -the widget by the user. The default handler for -this signal will normally be responsible for inserting -the text, so by connecting to this signal and then -stopping the signal with gtk_signal_emit_stop(), it -is possible to modify the inserted text, or prevent -it from being inserted entirely. The @start_pos -and @end_pos parameters are interpreted as for -gtk_editable_delete_text() -</para> - -@editable: the object which received the signal. -@start_pos: the starting position. -@end_pos: the end position. - -<!-- ##### SIGNAL GtkEditable::insert-text ##### --> -<para> -This signal is emitted when text is inserted into -the widget by the user. The default handler for -this signal will normally be responsible for inserting -the text, so by connecting to this signal and then -stopping the signal with gtk_signal_emit_stop(), it -is possible to modify the inserted text, or prevent -it from being inserted entirely. -</para> - -@editable: the object which received the signal. -@new_text: the new text to insert. -@new_text_length: the length of the new text. -@position: the position at which to insert the new text. - this is an in-out paramter. After the signal - emission is finished, it should point after - the newly inserted text. - |