Trait tk::cmd::AddTkButton

source ·
pub trait AddTkButton {
    // Provided method
    fn add_button<Opts, Inst: TkInstance>(
        &self,
        path_opts: impl Into<PathOptsWidgets<Opts, ()>>
    ) -> InterpResult<TkButton<Inst>>
       where Self: Deref<Target = Widget<Inst>>,
             Opts: IntoHomoTuple<TkButtonOpt> + IntoHomoTuple<OptPair> { ... }
}

Provided Methods§

source

fn add_button<Opts, Inst: TkInstance>( &self, path_opts: impl Into<PathOptsWidgets<Opts, ()>> ) -> InterpResult<TkButton<Inst>>where Self: Deref<Target = Widget<Inst>>, Opts: IntoHomoTuple<TkButtonOpt> + IntoHomoTuple<OptPair>,

Implementors§

source§

impl<Widg, Inst: TkInstance> AddTkButton for Widgwhere Widg: Deref<Target = Widget<Inst>>,