pub trait CompletionItemExt: IsA<CompletionItem> + Sealed + 'static {
Show 14 methods // Provided methods fn set_gicon(&self, gicon: Option<&impl IsA<Icon>>) { ... } fn set_icon(&self, icon: Option<&Pixbuf>) { ... } fn set_icon_name(&self, icon_name: Option<&str>) { ... } fn set_info(&self, info: Option<&str>) { ... } fn set_label(&self, label: Option<&str>) { ... } fn set_markup(&self, markup: Option<&str>) { ... } fn set_text(&self, text: Option<&str>) { ... } fn connect_gicon_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_icon_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_info_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_label_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_markup_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_text_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all CompletionItem methods.

Implementors

CompletionItem

Provided Methods§

source

fn set_gicon(&self, gicon: Option<&impl IsA<Icon>>)

gicon

the gio::Icon, or None.

source

fn set_icon(&self, icon: Option<&Pixbuf>)

source

fn set_icon_name(&self, icon_name: Option<&str>)

icon_name

the icon name, or None.

source

fn set_info(&self, info: Option<&str>)

info

the info, or None.

source

fn set_label(&self, label: Option<&str>)

label

the label, or None.

source

fn set_markup(&self, markup: Option<&str>)

markup

the markup, or None.

source

fn set_text(&self, text: Option<&str>)

text

the text, or None.

source

fn connect_gicon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_icon_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_info_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_label_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_markup_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_text_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§