mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
rename constructors
This commit is contained in:
parent
941b1cc283
commit
edb385f903
36 changed files with 266 additions and 180 deletions
|
|
@ -8,8 +8,10 @@ pub struct Widget {
|
|||
}
|
||||
|
||||
impl Widget {
|
||||
// Construct
|
||||
pub fn new(
|
||||
// Constructors
|
||||
|
||||
/// Build new `Self`
|
||||
pub fn build(
|
||||
name: &str,
|
||||
// Components
|
||||
navigation: &impl IsA<gtk::Widget>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue