Package evas :: Module c_evas :: Class Text
[hide private]
[frames] | no frames]

Class Text

object --+    
         |    
    Object --+
             |
            Text

Text object.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
_set_common_params(...)
Set common parameters in one go.
str
text_get(...)
 
text_set(...)
Change text to be used

Inherited from Object: __repr__, __str__, bottom_center_get, bottom_center_set, clipees_get, evas_get, left_center_get, left_center_set, name_get, name_set, on_changed_size_hints_add, on_changed_size_hints_del, on_del_add, on_del_del, parent_get, right_center_get, right_center_set, size_hint_align_get, size_hint_align_set, size_hint_aspect_get, size_hint_aspect_set, size_hint_max_get, size_hint_max_set, size_hint_min_get, size_hint_min_set, size_hint_padding_get, size_hint_padding_set, size_hint_request_get, size_hint_request_set, size_hint_weight_get, size_hint_weight_set, top_center_get, top_center_set, type_get

Inherited from Object (private): _set_evas

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

    Font settings
(str, int)
font_get(...)
 
font_set(...)
Set font to use.
str
font_source_get(...)
 
font_source_set(...)
Set where to find the font (ie: EET/Edje).
    Style settings
tuple of int
glow2_color_get(...)
 
glow2_color_set(...)
Set second level glow color.
tuple of int
glow_color_get(...)
 
glow_color_set(...)
Set glow color.
tuple of int
outline_color_get(...)
 
outline_color_set(...)
Set outline color.
tuple of int
shadow_color_get(...)
 
shadow_color_set(...)
Set shadow color.
int
style_get(...)
tuple of int
style_pad_get(...)
 
style_set(...)
Set text drawing style.
    Metrics
int
ascent_get(...)
tuple of int
char_coords_get(...)
Retrieve position and dimension information of a character at desired position.
tuple of int
char_pos_get(...)
Retrieve position and dimension information of a character.
int
descent_get(...)
int
horiz_advance_get(...)
int
inset_get(...)
int
max_ascent_get(...)
int
max_descent_get(...)
int
vert_advance_get(...)
    State manipulation

Inherited from Object: clip_get, clip_set, clip_unset, color_get, color_set, delete, hide, is_deleted, show, visible_get, visible_set

    Positioning

Inherited from Object: bottom_left_get, bottom_left_set, bottom_right_get, bottom_right_set, center_get, center_set, geometry_get, geometry_set, move, move_relative, pos_get, pos_set, resize, size_get, size_set, top_left_get, top_left_set, top_right_get, top_right_set

    Layer & Stack manipulation

Inherited from Object: above_get, below_get, bottom_get, layer_get, layer_set, lower, raise_, stack_above, stack_below, top_get

    Event processing control

Inherited from Object: focus_get, focus_set, pass_events_get, pass_events_set, propagate_events_get, propagate_events_set, repeat_events_get, repeat_events_set

    Event callbacks

Inherited from Object: event_callback_add, event_callback_del, on_focus_in_add, on_focus_in_del, on_focus_out_add, on_focus_out_del, on_free_add, on_free_del, on_hide_add, on_hide_del, on_hold_add, on_hold_del, on_key_down_add, on_key_down_del, on_key_up_add, on_key_up_del, on_mouse_down_add, on_mouse_down_del, on_mouse_in_add, on_mouse_in_del, on_mouse_move_add, on_mouse_move_del, on_mouse_out_add, on_mouse_out_del, on_mouse_up_add, on_mouse_up_del, on_mouse_wheel_add, on_mouse_wheel_del, on_move_add, on_move_del, on_resize_add, on_resize_del, on_restack_add, on_restack_del, on_show_add, on_show_del

    Often unused

Inherited from Object: anti_alias_get, anti_alias_set, color_interpolation_get, color_interpolation_set, pointer_mode_get, pointer_mode_set, render_op_get, render_op_set

Instance Variables [hide private]

Inherited from Object: clipees, data, evas, name, parent, rect, type

    State manipulation

Inherited from Object: clip, color, visible

    Positioning

Inherited from Object: bottom_left, bottom_right, center, geometry, pos, size, top_left, top_right

    Layer & Stack manipulation

Inherited from Object: above, below, layer

    Event processing control

Inherited from Object: focus, pass_events, propagate_events, repeat_events

    Often unused

Inherited from Object: anti_alias, color_interpolation, pointer_mode, render_op

Properties [hide private]
  text

Inherited from Object: bottom_center, left_center, right_center, size_hint_align, size_hint_aspect, size_hint_max, size_hint_min, size_hint_padding, size_hint_request, size_hint_weight, top_center

Inherited from object: __class__

    Font settings
  font
  font_source
    Style settings
  glow2_color
  glow_color
  outline_color
  shadow_color
  style
  style_pad
    Metrics
  ascent
  descent
  horiz_advance
  inset
  max_ascent
  max_descent
  vert_advance
Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

_set_common_params(...)

 

Set common parameters in one go.

Overrides: Object._set_common_params
(inherited documentation)

char_coords_get(...)

 

Retrieve position and dimension information of a character at desired position.

Like char_pos_get(), but instead of providing the character index one can give its position.

Returns: tuple of int

char_pos_get(...)

 

Retrieve position and dimension information of a character.

This function is used to obtain the x, y, width and height of a the character located at char_index within this object.

Returns: tuple of int