efl-mono: Add markup support to Efl.Ui.Text
authorXavi Artigas <xavierartigas@yahoo.es>
Mon, 29 Apr 2019 13:57:28 +0000 (15:57 +0200)
committerHermet Park <hermetpark@gmail.com>
Wed, 8 May 2019 04:30:08 +0000 (13:30 +0900)
Summary:
Markup support is added to Efl.Ui.Text through runtime composition, but the C#
bindings do not know about it unless Efl.Text_Markup appears in the hierarchy.

Test Plan: The Markup property is available now for Efl.Ui.Text, it can be used and renders the expected results.

Reviewers: lauromoura, bu5hm4n, zmike

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8758

src/lib/elementary/efl_ui_text.eo

index c2b0bb1..626280a 100644 (file)
@@ -3,7 +3,7 @@ import elm_general;
 
 class @beta Efl.Ui.Text extends Efl.Ui.Layout_Base implements Efl.Ui.Clickable,
                  Efl.Access.Text, Efl.Access.Editable.Text, Efl.File,
-                 Efl.Ui.Selectable, Efl.Text_Interactive
+                 Efl.Ui.Selectable, Efl.Text_Interactive, Efl.Text_Markup
 {
    [[Efl UI text class]]
    methods {
@@ -379,5 +379,6 @@ class @beta Efl.Ui.Text extends Efl.Ui.Layout_Base implements Efl.Ui.Clickable,
    }
    composite {
       Efl.Text_Interactive;
+      Efl.Text_Markup;
    }
 }