Trait gtk::PopoverExt
[−]
[src]
pub trait PopoverExt {
fn bind_model<'a, 'b, P: IsA<MenuModel> + 'a, Q: Into<Option<&'a P>>, R: Into<Option<&'b str>>>(
&self,
model: Q,
action_namespace: R
);
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<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
widget: Q
);
fn set_modal(&self, modal: bool);
fn set_pointing_to(&self, rect: &Rectangle);
fn set_position(&self, position: PositionType);
fn set_relative_to<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
relative_to: Q
);
fn set_transitions_enabled(&self, transitions_enabled: bool);
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> u64;
}
Required Methods
fn bind_model<'a, 'b, P: IsA<MenuModel> + 'a, Q: Into<Option<&'a P>>, R: Into<Option<&'b str>>>(
&self,
model: Q,
action_namespace: R
)
&self,
model: Q,
action_namespace: R
)
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<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
widget: Q
)
&self,
widget: Q
)
fn set_modal(&self, modal: bool)
fn set_pointing_to(&self, rect: &Rectangle)
fn set_position(&self, position: PositionType)
fn set_relative_to<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
&self,
relative_to: Q
)
&self,
relative_to: Q
)