Data Structures | Public Member Functions | Static Public Member Functions
efl::text Struct Reference

Data Structures

struct  address_const_of
 
struct  address_of
 

Public Member Functions

 text (::efl::eo::parent_type _p=(::efl::eo::parent=nullptr))
 
 text (Eo *eo)
 Eo Constructor. More...
 
 text (std::nullptr_t)
 nullptr_t Constructor. More...
 
 text (text const &other)
 Copy Constructor.
 
::efl::eina::optional< std::string > text_get () const
 Retrieves the text string currently being displayed by the given text object. More...
 
void text_set (::efl::eina::optional< std::string > text_) const
 Sets the text string to be displayed by the given text object. More...
 
address_of operator& ()
 
address_const_of operator& () const
 
- Public Member Functions inherited from efl::eo::concrete
 concrete (Eo *eo)
 Class constructor. More...
 
 concrete ()
 Default constructor. More...
 
 ~concrete ()
 Class destructor.
 
 concrete (concrete const &other)
 
 concrete (concrete &&other)
 
concreteoperator= (concrete const &other)
 Assignment operator.
 
concreteoperator= (concrete &&other)
 
Eo_eo_ptr () const
 Return a pointer to the EO Object stored in this instance. More...
 
Eo_release ()
 Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More...
 
void _reset (Eo *_ptr=nullptr)
 Reset the current pointer to reference a new Eo object.
 
int ref_get () const
 Get the reference count of this object. More...
 
void parent_set (concrete parent)
 Set the parent of this object. More...
 
eina::optional< concreteparent_get ()
 Get the parent of this object. More...
 
Eo_Dbg_Info dbg_info_get ()
 Get debug information of this object. More...
 
 operator bool () const
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 

Additional Inherited Members

- Protected Attributes inherited from efl::eo::concrete
Eo_eo_raw
 The opaque EO Object.
 

Constructor & Destructor Documentation

efl::text::text ( Eo eo)
inlineexplicit

Eo Constructor.

Constructs the object from an Eo* pointer stealing its ownership.

Parameters
eoThe Eo object pointer.
efl::text::text ( std::nullptr_t  )
inlineexplicit

nullptr_t Constructor.

Constructs an empty (null) object.

Member Function Documentation

efl::eina::optional< std::string > efl::text::text_get ( ) const
inline

Retrieves the text string currently being displayed by the given text object.

Returns
The text string currently being displayed on it.
Note
Do not free() the return value.
See also
evas_object_text_text_set()
Parameters
textText string to display on it.
void efl::text::text_set ( ::efl::eina::optional< std::string >  text_) const
inline

Sets the text string to be displayed by the given text object.

See also
evas_object_text_text_get()
Parameters
textText string to display on it.