feat(method): add get_component() method
This method let get Box whose children are a label and a TextView/Entry
This commit is contained in:
parent
f57aed1fb8
commit
7282045c98
|
@ -71,6 +71,8 @@ impl<I> Product<InputBuilder, Box> for Input<I> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<I> Input<I> {
|
impl<I> Input<I> {
|
||||||
|
pub fn get_component(&self) -> &Box {
|
||||||
|
&self.component
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_input(&self) -> &I {
|
pub fn get_input(&self) -> &I {
|
||||||
|
|
Loading…
Reference in New Issue