Trait gtk::prelude::PopoverExt [−][src]
pub trait PopoverExt: 'static {
Show 24 methods
fn bind_model<P: IsA<MenuModel>>(
&self,
model: Option<&P>,
action_namespace: Option<&str>
);
fn constrain_to(&self) -> PopoverConstraint;
fn default_widget(&self) -> Option<Widget>;
fn is_modal(&self) -> bool;
fn pointing_to(&self) -> Option<Rectangle>;
fn position(&self) -> PositionType;
fn relative_to(&self) -> Option<Widget>;
fn is_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_constrain_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_modal_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_pointing_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_position_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_relative_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_transitions_enabled_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required methods
fn constrain_to(&self) -> PopoverConstraint
fn constrain_to(&self) -> PopoverConstraint
This is supported on crate feature
v3_20
only.fn default_widget(&self) -> Option<Widget>
fn pointing_to(&self) -> Option<Rectangle>
fn position(&self) -> PositionType
fn relative_to(&self) -> Option<Widget>
fn is_transitions_enabled(&self) -> bool
fn set_constrain_to(&self, constraint: PopoverConstraint)
fn set_constrain_to(&self, constraint: PopoverConstraint)
This is supported on crate feature
v3_20
only.fn set_pointing_to(&self, rect: &Rectangle)
fn set_position(&self, position: PositionType)
fn set_transitions_enabled(&self, transitions_enabled: bool)
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_constrain_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_constrain_to_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
This is supported on crate feature
v3_20
only.