pub struct OpenButtonComponents<Conf: OpenButtonConfig + 'static> { /* private fields */ }
Expand description
Components of the open button component
Trait Implementations§
source§impl<Conf> Components<OpenButtonModel<Conf>> for OpenButtonComponents<Conf>where
Conf: OpenDialogConfig + OpenButtonConfig,
impl<Conf> Components<OpenButtonModel<Conf>> for OpenButtonComponents<Conf>where Conf: OpenDialogConfig + OpenButtonConfig,
source§fn init_components(
parent_model: &OpenButtonModel<Conf>,
parent_sender: Sender<OpenButtonMsg>
) -> Self
fn init_components( parent_model: &OpenButtonModel<Conf>, parent_sender: Sender<OpenButtonMsg> ) -> Self
Initialize your components and workers inside this function.
source§fn connect_parent(&mut self, parent_widgets: &OpenButtonWidgets)
fn connect_parent(&mut self, parent_widgets: &OpenButtonWidgets)
Connect the components to their parent components widgets (to set the parent window for example).