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:
parent
09416b5ccf
commit
780ebf91c5
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue