Struct nvim_gtk::popup_menu::PopupMenu[][src]

pub struct PopupMenu {
    popover: Popover,
    open: bool,
    state: Rc<RefCell<State>>,
}

Fields

popover: Popoveropen: boolstate: Rc<RefCell<State>>

Implementations

impl PopupMenu[src]

pub fn new(drawing: &DrawingArea) -> PopupMenu[src]

pub fn is_open(&self) -> bool[src]

pub fn show(&mut self, ctx: PopupMenuContext<'_>)[src]

pub fn hide(&mut self)[src]

pub fn select(&self, selected: i64)[src]

pub fn set_preview(&self, preview: bool)[src]

Auto Trait Implementations

impl !RefUnwindSafe for PopupMenu

impl !Send for PopupMenu

impl !Sync for PopupMenu

impl Unpin for PopupMenu

impl !UnwindSafe for PopupMenu

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.