194 lines
73 KiB
HTML
194 lines
73 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html lang="en">
|
|||
|
<head>
|
|||
|
<meta charset="utf-8">
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|||
|
<meta name="generator" content="rustdoc">
|
|||
|
<meta name="description" content="API documentation for the Rust `TextBufferExt` trait in crate `gtk`.">
|
|||
|
<meta name="keywords" content="rust, rustlang, rust-lang, TextBufferExt">
|
|||
|
|
|||
|
<title>gtk::prelude::TextBufferExt - Rust</title>
|
|||
|
|
|||
|
<link rel="stylesheet" type="text/css" href="../../normalize.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../../rustdoc.css">
|
|||
|
<link rel="stylesheet" type="text/css" href="../../main.css">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</head>
|
|||
|
<body class="rustdoc trait">
|
|||
|
<!--[if lte IE 8]>
|
|||
|
<div class="warning">
|
|||
|
This old browser is unsupported and will most likely display funky
|
|||
|
things.
|
|||
|
</div>
|
|||
|
<![endif]-->
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<nav class="sidebar">
|
|||
|
|
|||
|
<p class='location'>Trait TextBufferExt</p><div class="block items"><ul><li><a href="#required-methods">Required Methods</a></li><li><a href="#implementors">Implementors</a></li></ul></div><p class='location'><a href='../index.html'>gtk</a>::<wbr><a href='index.html'>prelude</a></p><script>window.sidebarCurrent = {name: 'TextBufferExt', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script>
|
|||
|
</nav>
|
|||
|
|
|||
|
<nav class="sub">
|
|||
|
<form class="search-form js-only">
|
|||
|
<div class="search-container">
|
|||
|
<input class="search-input" name="search"
|
|||
|
autocomplete="off"
|
|||
|
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
|
|||
|
type="search">
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</nav>
|
|||
|
|
|||
|
<section id='main' class="content">
|
|||
|
<h1 class='fqn'><span class='in-band'>Trait <a href='../index.html'>gtk</a>::<wbr><a href='index.html'>prelude</a>::<wbr><a class="trait" href=''>TextBufferExt</a></span><span class='out-of-band'><span id='render-detail'>
|
|||
|
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
|||
|
[<span class='inner'>−</span>]
|
|||
|
</a>
|
|||
|
</span><a class='srclink' href='../../src/gtk/auto/text_buffer.rs.html#45-203' title='goto source code'>[src]</a></span></h1>
|
|||
|
<pre class='rust trait'>pub trait TextBufferExt {
|
|||
|
fn <a href='#tymethod.add_mark' class='fnname'>add_mark</a>(&self, mark: &<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>, where_: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.add_selection_clipboard' class='fnname'>add_selection_clipboard</a>(&self, clipboard: &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>);
|
|||
|
fn <a href='#tymethod.apply_tag' class='fnname'>apply_tag</a>(&self, tag: &<a class="struct" href="../../gtk/struct.TextTag.html" title="struct gtk::TextTag">TextTag</a>, start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.apply_tag_by_name' class='fnname'>apply_tag_by_name</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.backspace' class='fnname'>backspace</a>(<br> &self, <br> iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> interactive: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> default_editable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.begin_user_action' class='fnname'>begin_user_action</a>(&self);
|
|||
|
fn <a href='#tymethod.copy_clipboard' class='fnname'>copy_clipboard</a>(&self, clipboard: &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>);
|
|||
|
fn <a href='#tymethod.create_child_anchor' class='fnname'>create_child_anchor</a>(<br> &self, <br> iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a><br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TextChildAnchor.html" title="struct gtk::TextChildAnchor">TextChildAnchor</a>>;
|
|||
|
fn <a href='#tymethod.create_mark' class='fnname'>create_mark</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> &self, <br> mark_name: P, <br> where_: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> left_gravity: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>>;
|
|||
|
fn <a href='#tymethod.cut_clipboard' class='fnname'>cut_clipboard</a>(&self, clipboard: &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>, default_editable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.delete' class='fnname'>delete</a>(&self, start: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.delete_interactive' class='fnname'>delete_interactive</a>(<br> &self, <br> start_iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> end_iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> default_editable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.delete_mark' class='fnname'>delete_mark</a>(&self, mark: &<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>);
|
|||
|
fn <a href='#tymethod.delete_mark_by_name' class='fnname'>delete_mark_by_name</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
|||
|
fn <a href='#tymethod.delete_selection' class='fnname'>delete_selection</a>(<br> &self, <br> interactive: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> default_editable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.deserialize_get_can_create_tags' class='fnname'>deserialize_get_can_create_tags</a>(&self, format: &<a class="struct" href="../../gdk/atom/struct.Atom.html" title="struct gdk::atom::Atom">Atom</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.deserialize_set_can_create_tags' class='fnname'>deserialize_set_can_create_tags</a>(<br> &self, <br> format: &<a class="struct" href="../../gdk/atom/struct.Atom.html" title="struct gdk::atom::Atom">Atom</a>, <br> can_create_tags: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> );
|
|||
|
fn <a href='#tymethod.end_user_action' class='fnname'>end_user_action</a>(&self);
|
|||
|
fn <a href='#tymethod.get_bounds' class='fnname'>get_bounds</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
|||
|
fn <a href='#tymethod.get_char_count' class='fnname'>get_char_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_copy_target_list' class='fnname'>get_copy_target_list</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TargetList.html" title="struct gtk::TargetList">TargetList</a>>;
|
|||
|
fn <a href='#tymethod.get_end_iter' class='fnname'>get_end_iter</a>(&self) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_has_selection' class='fnname'>get_has_selection</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_insert' class='fnname'>get_insert</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>>;
|
|||
|
fn <a href='#tymethod.get_iter_at_child_anchor' class='fnname'>get_iter_at_child_anchor</a>(&self, anchor: &<a class="struct" href="../../gtk/struct.TextChildAnchor.html" title="struct gtk::TextChildAnchor">TextChildAnchor</a>) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_iter_at_line' class='fnname'>get_iter_at_line</a>(&self, line_number: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_iter_at_line_index' class='fnname'>get_iter_at_line_index</a>(<br> &self, <br> line_number: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> byte_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><br> ) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_iter_at_line_offset' class='fnname'>get_iter_at_line_offset</a>(<br> &self, <br> line_number: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> char_offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><br> ) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_iter_at_mark' class='fnname'>get_iter_at_mark</a>(&self, mark: &<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_iter_at_offset' class='fnname'>get_iter_at_offset</a>(&self, char_offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_line_count' class='fnname'>get_line_count</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.get_mark' class='fnname'>get_mark</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>>;
|
|||
|
fn <a href='#tymethod.get_modified' class='fnname'>get_modified</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.get_paste_target_list' class='fnname'>get_paste_target_list</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TargetList.html" title="struct gtk::TargetList">TargetList</a>>;
|
|||
|
fn <a href='#tymethod.get_selection_bound' class='fnname'>get_selection_bound</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>>;
|
|||
|
fn <a href='#tymethod.get_selection_bounds' class='fnname'>get_selection_bounds</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>;
|
|||
|
fn <a href='#tymethod.get_slice' class='fnname'>get_slice</a>(<br> &self, <br> start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> include_hidden_chars: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
|||
|
fn <a href='#tymethod.get_start_iter' class='fnname'>get_start_iter</a>(&self) -> <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>;
|
|||
|
fn <a href='#tymethod.get_tag_table' class='fnname'>get_tag_table</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TextTagTable.html" title="struct gtk::TextTagTable">TextTagTable</a>>;
|
|||
|
fn <a href='#tymethod.get_text' class='fnname'>get_text</a>(<br> &self, <br> start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> include_hidden_chars: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
|||
|
fn <a href='#tymethod.insert_child_anchor' class='fnname'>insert_child_anchor</a>(&self, iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, anchor: &<a class="struct" href="../../gtk/struct.TextChildAnchor.html" title="struct gtk::TextChildAnchor">TextChildAnchor</a>);
|
|||
|
fn <a href='#tymethod.insert_pixbuf' class='fnname'>insert_pixbuf</a>(&self, iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, pixbuf: &<a class="struct" href="../../gdk_pixbuf/pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::pixbuf::Pixbuf">Pixbuf</a>);
|
|||
|
fn <a href='#tymethod.insert_range' class='fnname'>insert_range</a>(<br> &self, <br> iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a><br> );
|
|||
|
fn <a href='#tymethod.insert_range_interactive' class='fnname'>insert_range_interactive</a>(<br> &self, <br> iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> default_editable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
|||
|
fn <a href='#tymethod.move_mark' class='fnname'>move_mark</a>(&self, mark: &<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>, where_: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.move_mark_by_name' class='fnname'>move_mark_by_name</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, where_: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.paste_clipboard' class='fnname'>paste_clipboard</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>>>>(<br> &self, <br> clipboard: &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>, <br> override_location: P, <br> default_editable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br> );
|
|||
|
fn <a href='#tymethod.place_cursor' class='fnname'>place_cursor</a>(&self, where_: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.register_deserialize_tagset' class='fnname'>register_deserialize_tagset</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> &self, <br> tagset_name: P<br> ) -> <a class="struct" href="../../gdk/atom/struct.Atom.html" title="struct gdk::atom::Atom">Atom</a>;
|
|||
|
fn <a href='#tymethod.register_serialize_tagset' class='fnname'>register_serialize_tagset</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> &self, <br> tagset_name: P<br> ) -> <a class="struct" href="../../gdk/atom/struct.Atom.html" title="struct gdk::atom::Atom">Atom</a>;
|
|||
|
fn <a href='#tymethod.remove_all_tags' class='fnname'>remove_all_tags</a>(&self, start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.remove_selection_clipboard' class='fnname'>remove_selection_clipboard</a>(&self, clipboard: &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>);
|
|||
|
fn <a href='#tymethod.remove_tag' class='fnname'>remove_tag</a>(&self, tag: &<a class="struct" href="../../gtk/struct.TextTag.html" title="struct gtk::TextTag">TextTag</a>, start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.remove_tag_by_name' class='fnname'>remove_tag_by_name</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.select_range' class='fnname'>select_range</a>(&self, ins: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, bound: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>);
|
|||
|
fn <a href='#tymethod.set_modified' class='fnname'>set_modified</a>(&self, setting: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
|||
|
fn <a href='#tymethod.unregister_deserialize_format' class='fnname'>unregister_deserialize_format</a>(&self, format: &<a class="struct" href="../../gdk/atom/struct.Atom.html" title="struct gdk::atom::Atom">Atom</a>);
|
|||
|
fn <a href='#tymethod.unregister_serialize_format' class='fnname'>unregister_serialize_format</a>(&self, format: &<a class="struct" href="../../gdk/atom/struct.Atom.html" title="struct gdk::atom::Atom">Atom</a>);
|
|||
|
fn <a href='#tymethod.get_property_cursor_position' class='fnname'>get_property_cursor_position</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
|||
|
fn <a href='#tymethod.set_property_text' class='fnname'>set_property_text</a>(&self, text: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>);
|
|||
|
fn <a href='#tymethod.connect_apply_tag' class='fnname'>connect_apply_tag</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.TextTag.html" title="struct gtk::TextTag">TextTag</a>, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_begin_user_action' class='fnname'>connect_begin_user_action</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_changed' class='fnname'>connect_changed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_delete_range' class='fnname'>connect_delete_range</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_end_user_action' class='fnname'>connect_end_user_action</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_insert_child_anchor' class='fnname'>connect_insert_child_anchor</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, &<a class="struct" href="../../gtk/struct.TextChildAnchor.html" title="struct gtk::TextChildAnchor">TextChildAnchor</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_insert_pixbuf' class='fnname'>connect_insert_pixbuf</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, &<a class="struct" href="../../gdk_pixbuf/pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::pixbuf::Pixbuf">Pixbuf</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_mark_deleted' class='fnname'>connect_mark_deleted</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_mark_set' class='fnname'>connect_mark_set</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, &<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_modified_changed' class='fnname'>connect_modified_changed</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self) + 'static>(&self, f: F) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_paste_done' class='fnname'>connect_paste_done</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
fn <a href='#tymethod.connect_remove_tag' class='fnname'>connect_remove_tag</a><F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&Self, &<a class="struct" href="../../gtk/struct.TextTag.html" title="struct gtk::TextTag">TextTag</a>, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>) + 'static>(<br> &self, <br> f: F<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>;
|
|||
|
}</pre>
|
|||
|
<h2 id='required-methods'>Required Methods</h2>
|
|||
|
<div class='methods'>
|
|||
|
<h3 id='tymethod.add_mark' class='method'><span id='add_mark.v' class='invisible'><code>fn <a href='#tymethod.add_mark' class='fnname'>add_mark</a>(&self, mark: &<a class="struct" href="../../gtk/struct.TextMark.html" title="struct gtk::TextMark">TextMark</a>, where_: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>)</code></span></h3><h3 id='tymethod.add_selection_clipboard' class='method'><span id='add_selection_clipboard.v' class='invisible'><code>fn <a href='#tymethod.add_selection_clipboard' class='fnname'>add_selection_clipboard</a>(&self, clipboard: &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>)</code></span></h3><h3 id='tymethod.apply_tag' class='method'><span id='apply_tag.v' class='invisible'><code>fn <a href='#tymethod.apply_tag' class='fnname'>apply_tag</a>(&self, tag: &<a class="struct" href="../../gtk/struct.TextTag.html" title="struct gtk::TextTag">TextTag</a>, start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>)</code></span></h3><h3 id='tymethod.apply_tag_by_name' class='method'><span id='apply_tag_by_name.v' class='invisible'><code>fn <a href='#tymethod.apply_tag_by_name' class='fnname'>apply_tag_by_name</a>(&self, name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, start: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, end: &<a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>)</code></span></h3><h3 id='tymethod.backspace' class='method'><span id='backspace.v' class='invisible'><code>fn <a href='#tymethod.backspace' class='fnname'>backspace</a>(<br> &self, <br> iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>, <br> interactive: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> default_editable: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h3><h3 id='tymethod.begin_user_action' class='method'><span id='begin_user_action.v' class='invisible'><code>fn <a href='#tymethod.begin_user_action' class='fnname'>begin_user_action</a>(&self)</code></span></h3><h3 id='tymethod.copy_clipboard' class='method'><span id='copy_clipboard.v' class='invisible'><code>fn <a href='#tymethod.copy_clipboard' class='fnname'>copy_clipboard</a>(&self, clipboard: &<a class="struct" href="../../gtk/struct.Clipboard.html" title="struct gtk::Clipboard">Clipboard</a>)</code></span></h3><h3 id='tymethod.create_child_anchor' class='method'><span id='create_child_anchor.v' class='invisible'><code>fn <a href='#tymethod.create_child_anchor' class='fnname'>create_child_anchor</a>(&self, iter: &mut <a class="struct" href="../../gtk/struct.TextIter.html" title="struct gtk::TextIter">TextIter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gtk/struct.TextChildAnchor.html" title="struct gtk::TextChildAnchor">TextChildAnchor</a>></code></span></h3><h3 id='tymethod.create_mark' class='method'><span id='create_mark.v' class='invisible'><code>fn <a href='#tymethod.create_mark' class='fnname'>create_mark</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Opt
|
|||
|
<h2 id='implementors'>Implementors</h2>
|
|||
|
<ul class='item-list' id='implementors-list'>
|
|||
|
<li><code>impl<O: <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.TextBuffer.html" title="struct gtk::TextBuffer">TextBuffer</a>> + <a class="trait" href="../../gtk/trait.IsA.html" title="trait gtk::IsA">IsA</a><<a class="struct" href="../../gtk/struct.Object.html" title="struct gtk::Object">Object</a>>> TextBufferExt for O</code></li>
|
|||
|
</ul><script type="text/javascript" async
|
|||
|
src="../../implementors/gtk/prelude/trait.TextBufferExt.js">
|
|||
|
</script></section>
|
|||
|
<section id='search' class="content hidden"></section>
|
|||
|
|
|||
|
<section class="footer"></section>
|
|||
|
|
|||
|
<aside id="help" class="hidden">
|
|||
|
<div>
|
|||
|
<h1 class="hidden">Help</h1>
|
|||
|
|
|||
|
<div class="shortcuts">
|
|||
|
<h2>Keyboard Shortcuts</h2>
|
|||
|
|
|||
|
<dl>
|
|||
|
<dt>?</dt>
|
|||
|
<dd>Show this help dialog</dd>
|
|||
|
<dt>S</dt>
|
|||
|
<dd>Focus the search field</dd>
|
|||
|
<dt>⇤</dt>
|
|||
|
<dd>Move up in search results</dd>
|
|||
|
<dt>⇥</dt>
|
|||
|
<dd>Move down in search results</dd>
|
|||
|
<dt>⏎</dt>
|
|||
|
<dd>Go to active search result</dd>
|
|||
|
<dt>+</dt>
|
|||
|
<dd>Collapse/expand all sections</dd>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="infos">
|
|||
|
<h2>Search Tricks</h2>
|
|||
|
|
|||
|
<p>
|
|||
|
Prefix searches with a type followed by a colon (e.g.
|
|||
|
<code>fn:</code>) to restrict the search to a given type.
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
Accepted types are: <code>fn</code>, <code>mod</code>,
|
|||
|
<code>struct</code>, <code>enum</code>,
|
|||
|
<code>trait</code>, <code>type</code>, <code>macro</code>,
|
|||
|
and <code>const</code>.
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
Search functions by type signature (e.g.
|
|||
|
<code>vec -> usize</code> or <code>* -> vec</code>)
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</aside>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script>
|
|||
|
window.rootPath = "../../";
|
|||
|
window.currentCrate = "gtk";
|
|||
|
</script>
|
|||
|
<script src="../../main.js"></script>
|
|||
|
<script defer src="../../search-index.js"></script>
|
|||
|
</body>
|
|||
|
</html>
|