[][src]Trait gtk::PopoverExt

pub trait PopoverExt: 'static {
    fn bind_model<P: IsA<MenuModel>>(
        &self,
        model: Option<&P>,
        action_namespace: Option<&str>
    );
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 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 connect_closed<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; }

Required methods

fn bind_model<P: IsA<MenuModel>>(
    &self,
    model: Option<&P>,
    action_namespace: Option<&str>
)

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 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 connect_closed<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

Loading content...

Implementors

impl<O: IsA<Popover>> PopoverExt for O[src]

Loading content...