|
| bool | line_number_geometry_get (int line_, Evas_Coord *cx_, Evas_Coord *cy_, Evas_Coord *cw_, Evas_Coord *ch_) const |
| | Get the geometry of a line number. More...
|
| |
| ::efl::eina::optional< std::string > | replace_char_get () const |
| | Get the "replacement character" for given textblock object. More...
|
| |
| void | style_user_pop () const |
| | Del the from the top of the user style stack. More...
|
| |
| Evas_Textblock_Cursor * | cursor_new () const |
| | Create a new cursor, associate it to the obj and init it to point to the start of the textblock. More...
|
| |
| ::efl::eina::optional< ::efl::eina::crange_list< ::evas::object > > | node_format_list_get (::efl::eina::optional< std::string > anchor_) const |
| | No description supplied by the EAPI. More...
|
| |
| const Evas_Textblock_Style * | style_user_peek () const |
| | Get (don't remove) the style at the top of the user style stack. More...
|
| |
| void | node_format_remove_pair (Evas_Object_Textblock_Node_Format *n_) const |
| | Remove a format node and its match. More...
|
| |
| void | clear () const |
| | Clear the textblock object. More...
|
| |
| void | style_user_push (Evas_Textblock_Style *ts_) const |
| | Push ts to the top of the user style stack. More...
|
| |
| ::efl::eina::optional< std::string > | text_markup_get () const |
| | Return the markup of the object. More...
|
| |
| void | text_markup_set (::efl::eina::optional< std::string > text_) const |
| | Sets the tetxblock's text to the markup text. More...
|
| |
| double | valign_get () const |
| | Gets the vertical alignment of a textblock. More...
|
| |
| void | valign_set (double align_) const |
| | Sets the vertical alignment of text within the textblock object as a whole. More...
|
| |
| ::efl::eina::optional< std::string > | bidi_delimiters_get () const |
| | Gets the BiDi delimiters used in the textblock. More...
|
| |
| void | bidi_delimiters_set (::efl::eina::optional< std::string > delim_) const |
| | Sets the BiDi delimiters used in the textblock. More...
|
| |
| void | replace_char_set (::efl::eina::optional< std::string > ch_) const |
| | Set the "replacement character" to use for the given textblock object. More...
|
| |
| bool | legacy_newline_get () const |
| | Gets newline mode. More...
|
| |
| void | legacy_newline_set (bool mode_) const |
| | Sets newline mode. More...
|
| |
| const Evas_Textblock_Style * | style_get () const |
| | Return the style of an object. More...
|
| |
| void | style_set (const Evas_Textblock_Style *ts_) const |
| | Set the objects style to ts. More...
|
| |
| const Evas_Object_Textblock_Node_Format * | node_format_first_get () const |
| | Returns the first format node. More...
|
| |
| void | size_formatted_get (Evas_Coord *w_, Evas_Coord *h_) const |
| | Get the formatted width and height. More...
|
| |
| const Evas_Object_Textblock_Node_Format * | node_format_last_get () const |
| | Returns the last format node. More...
|
| |
| Evas_Textblock_Cursor * | cursor_get () const |
| | Return the object's main cursor. More...
|
| |
| void | size_native_get (Evas_Coord *w_, Evas_Coord *h_) const |
| | Get the native width and height. More...
|
| |
| void | style_insets_get (Evas_Coord *l_, Evas_Coord *r_, Evas_Coord *t_, Evas_Coord *b_) const |
| | No description supplied by the EAPI. More...
|
| |
|
| operator::evas::textblock () const |
| |
|
| operator::evas::textblock & () |
| |
|
| operator::evas::textblock const & () const |
| |
Get the formatted width and height.
This calculates the actual size after restricting the textblock to the current size of the object. The main difference between this and evas_object_textblock_size_native_get is that the "native" function does not wrapping into account it just calculates the real width of the object if it was placed on an infinite canvas, while this function gives the size after wrapping according to the size restrictions of the object.
For example for a textblock containing the text: "You shall not pass!" with no margins or padding and assuming a monospace font and a size of 7x10 char widths (for simplicity) has a native size of 19x1 and a formatted size of 5x4.
- Returns
- Returns no value.
- See also
- evas_object_textblock_size_native_get
- Parameters
-
| w | the width of the object. |
| h | the height of the object |
Get the native width and height.
This calculates the actual size without taking account the current size of the object. The main difference between this and evas_object_textblock_size_formatted_get is that the "native" function does not take wrapping into account it just calculates the real width of the object if it was placed on an infinite canvas, while the "formatted" function gives the size after wrapping text according to the size restrictions of the object.
For example for a textblock containing the text: "You shall not pass!" with no margins or padding and assuming a monospace font and a size of 7x10 char widths (for simplicity) has a native size of 19x1 and a formatted size of 5x4.
- Returns
- Returns no value.
- Parameters
-
| w | the width returned |
| h | the height returned |