mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
init invisible by default
This commit is contained in:
parent
d0f61aab5e
commit
4d47dd4385
1 changed files with 5 additions and 1 deletions
|
|
@ -19,7 +19,11 @@ impl File {
|
||||||
/// Create new `Self`
|
/// Create new `Self`
|
||||||
pub fn new(action: Rc<Action>) -> Self {
|
pub fn new(action: Rc<Action>) -> Self {
|
||||||
// Init `GObject`
|
// Init `GObject`
|
||||||
let gobject = Button::builder().label(LABEL).margin_top(MARGIN).build();
|
let gobject = Button::builder()
|
||||||
|
.label(LABEL)
|
||||||
|
.margin_top(MARGIN)
|
||||||
|
.visible(false)
|
||||||
|
.build();
|
||||||
|
|
||||||
// Init events
|
// Init events
|
||||||
gobject.connect_clicked(move |_| todo!());
|
gobject.connect_clicked(move |_| todo!());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue