examples: Changes after optional parameters

Summary:
After a new iteration of D7789, constructor parameters were split among
required and optionals.

This patch depends on making some Efl.Ui.Win parameters optional.

Reviewers: segfaultxavi, vitor.sousa

Reviewed By: vitor.sousa

Tags: #efl_language_bindings

Differential Revision: https://phab.enlightenment.org/D7851
This commit is contained in:
Lauro Moura 2019-02-07 18:41:35 -02:00 committed by Vitor Sousa
parent 09416b5ccf
commit 780ebf91c5
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ public class LifeWindow
public LifeWindow()
{
Efl.Ui.Win win = new Efl.Ui.Win(null, null, Efl.Ui.WinType.Basic);
Efl.Ui.Win win = new Efl.Ui.Win(parent: null, winName: "Life", winType: Efl.Ui.WinType.Basic);
win.SetText("EFL Life");
win.SetAutohide(true);

View File

@ -153,7 +153,7 @@ public class TextEditor
public TextEditor()
{
// Create a window and initialize it
win = new Efl.Ui.Win(Efl.App.AppMain);
win = new Efl.Ui.Win(parent: Efl.App.AppMain);
win.SetText("Text Editor");
win.SetAutohide(true);
win.HideEvt += GUIQuitCb;