pub trait EditableImplExt: ObjectSubclass {
fn parent_insert_text(
&self,
editable: &Self::Type,
text: &str,
length: i32,
position: &mut i32
);
fn parent_delete_text(
&self,
editable: &Self::Type,
start_position: i32,
end_position: i32
);
fn parent_changed(&self, editable: &Self::Type);
fn parent_do_insert_text(
&self,
editable: &Self::Type,
text: &str,
length: i32,
position: &mut i32
);
fn parent_do_delete_text(
&self,
editable: &Self::Type,
start_position: i32,
end_position: i32
);
fn parent_delegate(&self, editable: &Self::Type) -> Option<Editable>;
fn parent_selection_bounds(
&self,
editable: &Self::Type
) -> Option<(i32, i32)>;
fn parent_set_selection_bounds(
&self,
editable: &Self::Type,
start_position: i32,
end_position: i32
);
fn parent_text(&self, editable: &Self::Type) -> GString;
fn delegate_get_property(
&self,
editable: &Self::Type,
prop_id: usize,
pspec: &ParamSpec
) -> Option<Value> { ... }
fn delegate_set_property(
&self,
editable: &Self::Type,
prop_id: usize,
value: &Value,
pspec: &ParamSpec
) -> bool { ... }
}
Required Methods
sourcefn parent_insert_text(
fn parent_insert_text(
&self,
editable: &Self::Type,
text: &str,
length: i32,
position: &mut i32
)
sourcefn parent_delete_text(
fn parent_delete_text(
&self,
editable: &Self::Type,
start_position: i32,
end_position: i32
)
source
fn parent_changed(&self, editable: &Self::Type)
sourcefn parent_do_insert_text(
fn parent_do_insert_text(
&self,
editable: &Self::Type,
text: &str,
length: i32,
position: &mut i32
)
sourcefn parent_do_delete_text(
fn parent_do_delete_text(
&self,
editable: &Self::Type,
start_position: i32,
end_position: i32
)
source
fn parent_delegate(&self, editable: &Self::Type) -> Option<Editable>
sourcefn parent_set_selection_bounds(
fn parent_set_selection_bounds(
&self,
editable: &Self::Type,
start_position: i32,
end_position: i32
)
source