Commit Graph

9 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
Bruno da Silva Belo 242ed076f3 csharp: Basic components for all tests without Ui.
Summary:
Uiless tests use basic components.
Make test terminate again.

Reviewers: lauromoura, felipealmeida, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: brunobelo, felipealmeida, lauromoura

Differential Revision: https://phab.enlightenment.org/D9916
2019-09-12 15:04:11 +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: https://phab.enlightenment.org/D9213
2019-06-28 20:04:38 -03:00
Xavi Artigas b55e5150c9 mono examples: Adapt to Efl.Csharp.Application
This class simplifies app development, so the examples have to showcase it.
Basically:
- 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: https://phab.enlightenment.org/D8477
2019-03-26 16:24:20 +01:00
Lauro Moura 09416b5ccf examples: Change Model_Item to Generic_Model
Summary: This class was renamed in D7533 in the EFL repo.

Test Plan: Run examples

Reviewers: segfaultxavi, felipealmeida

Reviewed By: segfaultxavi

Differential Revision: https://phab.enlightenment.org/D7850
2019-02-01 10:14:28 +01:00
Xavi Artigas 500049f1eb mono-examples: Adapt to latest syntax
Summary:
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: https://phab.enlightenment.org/D7695
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: https://phab.enlightenment.org/D7479
2018-12-19 16:51:15 +01:00
Xavi Artigas aa68b683e5 tutorials: Fix C# eo_intro
Summary: Adapt to API changes plus some other issues (has this ever built for anyone?).

Reviewers: lauromoura, felipealmeida

Differential Revision: https://phab.enlightenment.org/D6505
2018-07-04 15:01:27 +02:00
Vitor Sousa e989e18864 eo_mono: add eo-intro tutorial for C# 2018-02-26 14:09:07 -03:00