pub trait OmniBarExt: 'static {
fn add_prefix(&self, priority: i32, widget: &impl IsA<Widget>);
fn add_suffix(&self, priority: i32, widget: &impl IsA<Widget>);
fn remove(&self, widget: &impl IsA<Widget>);
fn icon_name(&self) -> Option<GString>;
fn set_icon_name(&self, icon_name: Option<&str>);
fn menu_model(&self) -> Option<MenuModel>;
fn set_menu_model<P: IsA<MenuModel>>(&self, menu_model: Option<&P>);
fn connect_icon_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_menu_model_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_popover_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}