mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
hide pin widget by argument
This commit is contained in:
parent
3d33be7e24
commit
77303d548e
2 changed files with 30 additions and 14 deletions
|
|
@ -6,17 +6,25 @@ use gtk::prelude::BoxExt;
|
|||
|
||||
pub fn new() -> Box
|
||||
{
|
||||
let label = Box::builder().orientation(
|
||||
gtk::Orientation::Horizontal
|
||||
).build();
|
||||
let label = Box::builder()
|
||||
|
||||
label.append(
|
||||
&pin::new()
|
||||
);
|
||||
// Tuneup
|
||||
.orientation(
|
||||
gtk::Orientation::Horizontal
|
||||
)
|
||||
|
||||
label.append(
|
||||
&title::new()
|
||||
);
|
||||
.build();
|
||||
|
||||
// Components
|
||||
label.append(
|
||||
&pin::new(
|
||||
false
|
||||
)
|
||||
);
|
||||
|
||||
label.append(
|
||||
&title::new()
|
||||
);
|
||||
|
||||
return label;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue