summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_text_markup_util.eo
blob: 5b2bd589ee1ffe449c02aaf005af8908909b4da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class @beta Efl.Text_Markup_Util {
   [[Utility class for markup, such as conversions
   ]]
   data: null;
   methods {
      text_to_markup @static {
         [[Converts a given (UTF-8) text to a markup-compatible string.
           This is used mainly to set a plain text with the $.markup_set
           property.
         ]]
         params {
            @in text: string; [[The text (UTF-8) to convert to markup]]
         }
         return: mstring @owned; [[The markup representation of given text]]
      }
      markup_to_text @static {
         [[Converts a given (UTF-8) text to a markup-compatible string.
           This is used mainly to set a plain text with the $.markup_set
           property.
         ]]
         params {
            @in text: string; [[The markup-text to convert to text (UTF-8)]]
         }
         return: mstring @owned; [[The text representation of given format]]
      }
   }
}