mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename container constructors
This commit is contained in:
parent
e514312f84
commit
0a0d7b0481
8 changed files with 12 additions and 11 deletions
|
|
@ -10,7 +10,7 @@ pub struct Widget {
|
|||
|
||||
impl Widget {
|
||||
// Construct
|
||||
pub fn new(name: GString, pin: &Image, title: &Label) -> Arc<Self> {
|
||||
pub fn new_arc(name: GString, pin: &Image, title: &Label) -> Arc<Self> {
|
||||
let gobject = Box::builder()
|
||||
.orientation(Orientation::Horizontal)
|
||||
.halign(Align::Center)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue