Trait gtk4::subclass::im_context::IMContextImplExt
source · [−]pub trait IMContextImplExt: ObjectSubclass {
Show 16 methods
fn parent_commit(&self, im_context: &Self::Type, string: &str);
fn parent_delete_surrounding(
&self,
im_context: &Self::Type,
offset: i32,
n_chars: i32
) -> bool;
fn parent_filter_keypress(
&self,
im_context: &Self::Type,
event: &Event
) -> bool;
fn parent_focus_in(&self, im_context: &Self::Type);
fn parent_focus_out(&self, im_context: &Self::Type);
fn parent_preedit_string(
&self,
im_context: &Self::Type
) -> (GString, AttrList, i32);
fn parent_surrounding(
&self,
im_context: &Self::Type
) -> Option<(GString, i32)>;
fn parent_preedit_changed(&self, im_context: &Self::Type);
fn parent_preedit_end(&self, im_context: &Self::Type);
fn parent_preedit_start(&self, im_context: &Self::Type);
fn parent_reset(&self, im_context: &Self::Type);
fn parent_retrieve_surrounding(&self, im_context: &Self::Type) -> bool;
fn parent_set_client_widget<P: IsA<Widget>>(
&self,
im_context: &Self::Type,
widget: Option<&P>
);
fn parent_set_cursor_location(
&self,
im_context: &Self::Type,
area: &Rectangle
);
fn parent_set_surrounding(
&self,
im_context: &Self::Type,
text: &str,
cursor_index: i32
);
fn parent_set_use_preedit(&self, im_context: &Self::Type, use_preedit: bool);
}
Required Methods
source
fn parent_commit(&self, im_context: &Self::Type, string: &str)
sourcefn parent_delete_surrounding(
fn parent_delete_surrounding(
&self,
im_context: &Self::Type,
offset: i32,
n_chars: i32
) -> bool
source
fn parent_filter_keypress(&self, im_context: &Self::Type, event: &Event) -> bool
source
fn parent_focus_in(&self, im_context: &Self::Type)
source
fn parent_focus_out(&self, im_context: &Self::Type)
source
fn parent_preedit_changed(&self, im_context: &Self::Type)
source
fn parent_preedit_end(&self, im_context: &Self::Type)
source
fn parent_preedit_start(&self, im_context: &Self::Type)
source
fn parent_reset(&self, im_context: &Self::Type)
source
fn parent_retrieve_surrounding(&self, im_context: &Self::Type) -> bool
sourcefn parent_set_client_widget<P: IsA<Widget>>(
fn parent_set_client_widget<P: IsA<Widget>>(
&self,
im_context: &Self::Type,
widget: Option<&P>
)
source
fn parent_set_cursor_location(&self, im_context: &Self::Type, area: &Rectangle)
sourcefn parent_set_surrounding(
fn parent_set_surrounding(
&self,
im_context: &Self::Type,
text: &str,
cursor_index: i32
)
source