1 2@c %start of fragment 3 4@deftp Class <atk-editable-text> 5Derives from @code{<ginterface>}. 6 7This class defines no direct slots. 8 9@end deftp 10 11@deffn Function atk-editable-text-set-text-contents (self@tie{}@code{<atk-editable-text>}) (string@tie{}@code{mchars}) 12@deffnx Method set-text-contents 13Set text contents of @var{text}. 14 15@table @var 16@item text 17an @code{<atk-editable-text>} 18 19@item string 20string to set for text contents of @var{text} 21 22@end table 23 24@end deffn 25 26@deffn Function atk-editable-text-insert-text (self@tie{}@code{<atk-editable-text>}) (string@tie{}@code{mchars}) (length@tie{}@code{int}) @result{}@tie{} (position@tie{}@code{int}) 27@deffnx Method insert-text 28Insert text at a given position. 29 30@table @var 31@item text 32an @code{<atk-editable-text>} 33 34@item string 35the text to insert 36 37@item length 38the length of text to insert, in bytes 39 40@item position 41The caller initializes this to the position at which to insert the text. After 42the call it points at the position after the newly inserted text. 43 44@end table 45 46@end deffn 47 48@deffn Function atk-editable-text-copy-text (self@tie{}@code{<atk-editable-text>}) (start_pos@tie{}@code{int}) (end_pos@tie{}@code{int}) 49@deffnx Method copy-text 50Copy text from @var{start-pos} up to, but not including @var{end-pos} to the 51clipboard. 52 53@table @var 54@item text 55an @code{<atk-editable-text>} 56 57@item start-pos 58start position 59 60@item end-pos 61end position 62 63@end table 64 65@end deffn 66 67@deffn Function atk-editable-text-cut-text (self@tie{}@code{<atk-editable-text>}) (start_pos@tie{}@code{int}) (end_pos@tie{}@code{int}) 68@deffnx Method cut-text 69Copy text from @var{start-pos} up to, but not including @var{end-pos} to the 70clipboard and then delete from the widget. 71 72@table @var 73@item text 74an @code{<atk-editable-text>} 75 76@item start-pos 77start position 78 79@item end-pos 80end position 81 82@end table 83 84@end deffn 85 86@deffn Function atk-editable-text-delete-text (self@tie{}@code{<atk-editable-text>}) (start_pos@tie{}@code{int}) (end_pos@tie{}@code{int}) 87@deffnx Method delete-text 88Delete text @var{start-pos} up to, but not including @var{end-pos}. 89 90@table @var 91@item text 92an @code{<atk-editable-text>} 93 94@item start-pos 95start position 96 97@item end-pos 98end position 99 100@end table 101 102@end deffn 103 104@deffn Function atk-editable-text-paste-text (self@tie{}@code{<atk-editable-text>}) (position@tie{}@code{int}) 105@deffnx Method paste-text 106Paste text from clipboard to specified @var{position}. 107 108@table @var 109@item text 110an @code{<atk-editable-text>} 111 112@item position 113position to paste 114 115@end table 116 117@end deffn 118 119 120@c %end of fragment 121