Etk
Main Page Object Hierarchy Data Structures Related Pages
Etk

Etk_Text_View2


Detailed Description

TODOC: brief description.


Data Structures

struct  Etk_Text_View2

Defines

#define ETK_TEXT_VIEW2_TYPE   (etk_text_view2_type_get())
 Gets the type of a text view.
#define ETK_TEXT_VIEW2(obj)   (ETK_OBJECT_CAST((obj), ETK_TEXT_VIEW2_TYPE, Etk_Text_View2))
 Casts the object to an Etk_Text_View2.
#define ETK_IS_TEXT_VIEW2(obj)   (ETK_OBJECT_CHECK_TYPE((obj), ETK_TEXT_VIEW2_TYPE))
 Checks if the object is an Etk_Text_View2.

Functions

Etk_Widget * etk_text_view2_new (void)
 Creates a new text-view.
Etk_Textblock2 * etk_text_view2_textblock_get (Etk_Text_View2 *text_view)
 Gets the textblock used by the text-view.
Etk_Textblock2_Iter * etk_text_view2_cursor_get (Etk_Text_View2 *text_view)
 Gets the cursor's iterator of the text-view.
Etk_Textblock2_Iter * etk_text_view2_selection_bound_get (Etk_Text_View2 *text_view)
 Gets the selection-bound's iterator of the text-view.


Define Documentation

#define ETK_TEXT_VIEW2_TYPE   (etk_text_view2_type_get())

Gets the type of a text view.

Referenced by etk_text_view2_new().

#define ETK_TEXT_VIEW2 ( obj   )     (ETK_OBJECT_CAST((obj), ETK_TEXT_VIEW2_TYPE, Etk_Text_View2))

Casts the object to an Etk_Text_View2.

#define ETK_IS_TEXT_VIEW2 ( obj   )     (ETK_OBJECT_CHECK_TYPE((obj), ETK_TEXT_VIEW2_TYPE))

Checks if the object is an Etk_Text_View2.


Function Documentation

Etk_Widget * etk_text_view2_new ( void   ) 

Creates a new text-view.

Returns:
Returns the new text-view widget

References ETK_TEXT_VIEW2_TYPE, and etk_widget_new().

Etk_Textblock2 * etk_text_view2_textblock_get ( Etk_Text_View2 *  text_view  ) 

Gets the textblock used by the text-view.

Parameters:
text_view a text-view
Returns:
Returns the textblock used by the text-view

References textblock.

Etk_Textblock2_Iter * etk_text_view2_cursor_get ( Etk_Text_View2 *  text_view  ) 

Gets the cursor's iterator of the text-view.

Parameters:
text_view a text-view
Returns the cursor's iterator of the text-view
Warning:
The text-view has to be realized, otherwise it will return NULL

References etk_textblock2_object_cursor_get(), and tbo.

Etk_Textblock2_Iter * etk_text_view2_selection_bound_get ( Etk_Text_View2 *  text_view  ) 

Gets the selection-bound's iterator of the text-view.

Parameters:
text_view a text-view
Returns the selection-bound's iterator of the text-view
Warning:
The text-view has to be realized, otherwise it will return NULL

References etk_textblock2_object_selection_bound_get(), and tbo.