Commit Graph

15 Commits

Author SHA1 Message Date
Xavi Artigas 5f1be675ee mono-examples: Adapt to latest syntax
Setter and Getters have disappeared. Now everything is accessed through properties like:
Text, Disabled, Autohide, Color, Orientation, ContentPadding, Size, ScrollableText, Align, Name.
Also the Life and Containers examples had several issues.
Text override from custom widgets is still not solved.
2020-02-20 18:48:55 +01:00
Xavi Artigas 6a470840d9 mono-examples: Adapt to latest syntax (EventArgs.arg -> Arg)
Also workaround some temporary inability to set struct members.
2020-02-07 09:49:57 +01:00
Xavi Artigas 40801d9285 mono-examples: adapt to latest bindings syntax 2019-09-06 16:10:16 +02:00
Xavi Artigas 5472a77fb3 mono-examples: adapt to latest bindings syntax 2019-09-06 16:01:45 +02:00
Lauro Moura 9ed9d94501 csharp: Make examples build again.
Summary: OnInitialize changed signature in D9178

Reviewers: vitor.sousa, segfaultxavi

Reviewed By: vitor.sousa

Differential Revision:
2019-06-28 20:04:38 -03:00
Lauro Moura 595be4aa12 csharp: Update examples after repeated method name
In essence, IPack.DoPack became IPack.Pack

Depends on D8650

Reviewers: felipealmeida, vitor.sousa, segfaultxavi

Reviewed By: segfaultxavi

Differential Revision:
2019-04-23 12:33:00 +02:00
Xavi Artigas 169f569af6 Fix runtime ERR regarding WinType
WinType can only be set during construction, so SetWinType() should never
be called. Use the constructor parameter for this.
2019-04-04 13:17:30 +02:00
Xavi Artigas b55e5150c9 mono examples: Adapt to Efl.Csharp.Application
This class simplifies app development, so the examples have to showcase it.
- Your app inherits form it
- You do not need to init() or shutdown()
- You override the methods you want (like OnInitialize).

Fixes T7655
Differential Revision:
2019-03-26 16:24:20 +01:00
Lauro Moura 735b848660 csharp: Changes after adding I to interfaces
 Ref T7751
 Depends on D8397 in the EFL repo

Reviewers: segfaultxavi, vitor.sousa, felipealmeida

Reviewed By: segfaultxavi

Tags: #efl_language_bindings

Maniphest Tasks: T7751

Differential Revision:
2019-03-22 09:14:27 +01:00
Xavi Artigas 3e1aefa7ea Further fixes to adapt to latest API changes 2019-03-04 18:17:36 +01:00
Xavi Artigas 500049f1eb mono-examples: Adapt to latest syntax
Removed initializer methods as much as possible to prepare
for when they are removed from the C# bindings.
No functional changes in the examples.
Tutorial text needs to be adapted now.

Test Plan: All examples work as before (the containers one is currently broken, FML).

Reviewers: lauromoura, felipealmeida, vitor.sousa

Reviewed By: lauromoura

Maniphest Tasks: T7508

Differential Revision:
2019-01-23 14:49:38 +01:00
Xavi Artigas d74a4df994 csharp examples: Adapt to new classes syntax
Summary: Mainly use PascalCase Namespaces and Classes and proper event names.

Test Plan: Check all examples still build.

Reviewers: lauromoura, vitor.sousa, felipealmeida, bu5hm4n

Reviewed By: bu5hm4n

Differential Revision:
2018-12-19 16:51:15 +01:00
Xavi Artigas fce18f2ebe csharp: Refactor UI examples
Adapt these two UI examples to the style of the Hello World tutorials,
using initialization methods, more comments, and try to avoid creating
vars for widgets.

Reviewers: vitor.sousa, lauromoura

Reviewed By: vitor.sousa

Differential Revision:
2018-09-17 15:03:12 -03:00
Xavi Artigas f1a5d614f8 tutorials: Fix C# UI reference guides
Summary: These guides needed to be adapted to the new C# API.

Test Plan:
Didn't build before, and now it can be built and run. It has some runtime
errors on exit.

Reviewers: felipealmeida, lauromoura, Hermet

Reviewed By: Hermet

Tags: #examples

Differential Revision:
2018-07-13 10:15:26 -03:00
Vitor Sousa 66dd51dc4b ui_mono: add ui_sizing reference for C# 2018-02-09 19:07:12 -02:00