Trait gtk::prelude::PopoverExt
source · [−]pub trait PopoverExt: 'static {
Show 24 methods
fn bind_model<P: IsA<MenuModel>>(
&self,
model: Option<&P>,
action_namespace: Option<&str>
);
fn get_constrain_to(&self) -> PopoverConstraint;
fn get_default_widget(&self) -> Option<Widget>;
fn get_modal(&self) -> bool;
fn get_pointing_to(&self) -> Option<Rectangle>;
fn get_position(&self) -> PositionType;
fn get_relative_to(&self) -> Option<Widget>;
fn get_transitions_enabled(&self) -> bool;
fn popdown(&self);
fn popup(&self);
fn set_constrain_to(&self, constraint: PopoverConstraint);
fn set_default_widget<P: IsA<Widget>>(&self, widget: Option<&P>);
fn set_modal(&self, modal: bool);
fn set_pointing_to(&self, rect: &Rectangle);
fn set_position(&self, position: PositionType);
fn set_relative_to<P: IsA<Widget>>(&self, relative_to: Option<&P>);
fn set_transitions_enabled(&self, transitions_enabled: bool);
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_constrain_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_modal_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_pointing_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_relative_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_property_transitions_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}Required Methods
source
fn get_constrain_to(&self) -> PopoverConstraint
source
fn get_default_widget(&self) -> Option<Widget>
source
fn get_pointing_to(&self) -> Option<Rectangle>
source
fn get_position(&self) -> PositionType
source
fn get_relative_to(&self) -> Option<Widget>
sourcefn get_transitions_enabled(&self) -> bool
fn get_transitions_enabled(&self) -> bool
👎Deprecated
source
fn set_constrain_to(&self, constraint: PopoverConstraint)
source
fn set_pointing_to(&self, rect: &Rectangle)
source
fn set_position(&self, position: PositionType)
sourcefn set_transitions_enabled(&self, transitions_enabled: bool)
fn set_transitions_enabled(&self, transitions_enabled: bool)
👎Deprecated
source
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_property_constrain_to_notify<F: Fn(&Self) + 'static>(
fn connect_property_constrain_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_modal_notify<F: Fn(&Self) + 'static>(
fn connect_property_modal_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_pointing_to_notify<F: Fn(&Self) + 'static>(
fn connect_property_pointing_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_position_notify<F: Fn(&Self) + 'static>(
fn connect_property_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_relative_to_notify<F: Fn(&Self) + 'static>(
fn connect_property_relative_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_transitions_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_property_transitions_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
👎Deprecated