[−][src]Struct ommui_frontend_gtk::ui::main_window::W
The main window for an ommui-based application.
Trait Implementations
impl<CHILD: 'static + Update + Widget> Widget for W<CHILD> where
<CHILD as Widget>::Root: SetValue,
[src]
<CHILD as Widget>::Root: SetValue,
type Root = Window
The type of the root widget.
fn root(&self) -> Self::Root
[src]
fn view(relm: &Relm<Self>, model: Self::Model) -> Self
[src]
fn init_view(&mut self)
[src]
fn on_add<W>(&self, _parent: W) where
W: IsA<Widget> + IsA<Object>,
[src]
W: IsA<Widget> + IsA<Object>,
fn parent_id() -> Option<&'static str>
[src]
fn run(model_param: Self::ModelParam) -> Result<(), ()> where
Self: 'static,
[src]
Self: 'static,
impl<CHILD: Update + Widget> Update for W<CHILD>
[src]
type Model = CHILD::ModelParam
The type of the model.
type ModelParam = CHILD::ModelParam
The type of the parameter of the model() function used to initialize the model.
type Msg = Msg
The type of the messages sent to the update()
method.
fn model(_relm: &Relm<Self>, details: Self::ModelParam) -> Self::Model
[src]
fn update(&mut self, event: Msg)
[src]
fn subscriptions(&mut self, _relm: &Relm<Self>)
[src]
Auto Trait Implementations
impl<CHILD> !Send for W<CHILD>
impl<CHILD> !Sync for W<CHILD>
impl<CHILD> Unpin for W<CHILD> where
<CHILD as Widget>::Root: Unpin,
<CHILD as Widget>::Root: Unpin,
impl<CHILD> UnwindSafe for W<CHILD> where
<CHILD as Update>::Msg: RefUnwindSafe,
<CHILD as Widget>::Root: UnwindSafe,
<CHILD as Update>::Msg: RefUnwindSafe,
<CHILD as Widget>::Root: UnwindSafe,
impl<CHILD> RefUnwindSafe for W<CHILD> where
<CHILD as Update>::Msg: RefUnwindSafe,
<CHILD as Widget>::Root: RefUnwindSafe,
<CHILD as Update>::Msg: RefUnwindSafe,
<CHILD as Widget>::Root: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,