Package evas :: Module debug :: Class VisualDebug
[hide private]
[frames] | no frames]

Class VisualDebug

source code

       object --+            
                |            
    c_evas.Object --+        
                    |        
   c_evas.SmartObject --+    
                        |    
c_evas.ClippedSmartObject --+
                            |
                           VisualDebug

Debug object events using an observer that lays on top of it.

This visual debug attaches an smart object that will follow the given object and draw red lines on top and left and blue lines on bottom and right with squares on these corners.

Text is used to display information:

Instance Methods [hide private]
 
__init__(self, obj)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
unregister(self) source code
 
show_desc(self) source code
 
hide_desc(self) source code
 
_update_desc(self) source code
 
cb_on_move(self, obj) source code
 
cb_on_resize(self, obj) source code
 
cb_on_restack(self, obj) source code
 
cb_on_hide(self, obj) source code
 
cb_on_show(self, obj) source code
 
cb_on_free(self, obj) source code

Inherited from c_evas.ClippedSmartObject: __new__

Inherited from c_evas.SmartObject: Textblock, changed, move_children_relative, need_recalculate_get, need_recalculate_set

Inherited from c_evas.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 c_evas.Object (private): _set_common_params, _set_evas

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

    Children manipulation

Inherited from c_evas.ClippedSmartObject: member_add, member_del

Inherited from c_evas.SmartObject: members_get

    Default implementations

Inherited from c_evas.ClippedSmartObject: clip_set, clip_unset, color_set, hide, show

Inherited from c_evas.SmartObject: calculate, delete, move

    Factories

Inherited from c_evas.SmartObject: FilledImage, Gradient, Image, Line, Polygon, Rectangle, Text

    Missing implementations
 
resize(self, w, h)
Virtual method resize(w, h) of SmartObject
source code
    Event system

Inherited from c_evas.SmartObject: callback_add, callback_call, callback_del

    State manipulation

Inherited from c_evas.Object: clip_get, color_get, is_deleted, visible_get, visible_set

    Positioning

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

    Layer & Stack manipulation

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

    Event processing control

Inherited from c_evas.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 c_evas.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 c_evas.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

Class Variables [hide private]
  __evas_event_callbacks__ = []
  __evas_smart_class__ = 140452440
Instance Variables [hide private]

Inherited from c_evas.ClippedSmartObject: clipper

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

    State manipulation

Inherited from c_evas.Object: clip, color, visible

    Positioning

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

    Layer & Stack manipulation

Inherited from c_evas.Object: above, below, layer

    Event processing control

Inherited from c_evas.Object: focus, pass_events, propagate_events, repeat_events

    Often unused

Inherited from c_evas.Object: anti_alias, color_interpolation, pointer_mode, render_op

Properties [hide private]

Inherited from c_evas.SmartObject: need_recalculate

Inherited from c_evas.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__

    Children manipulation

Inherited from c_evas.SmartObject: members

Method Details [hide private]

__init__(self, obj)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

resize(self, w, h)

source code 

Virtual method resize(w, h) of SmartObject

Overrides: c_evas.Object.resize
(inherited documentation)