summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_text_markup_util.eo
blob: eb64791b6751ddee3db5ba15a6dc94ff77b1d96b (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
29
30
class Efl.Text_Markup_Util () {
   [[Utility class for markup, such as conversions

     @since 1.21.
   ]]
   data: null;
   methods {
      text_to_markup @class {
         [[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 @class {
         [[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]]
      }
   }
}