Package dtk :: Package ui :: Module treeview :: Class TreeView

Class TreeView

source code


Instance Methods
 
__init__(self, width=20, height=30, font_size=10, font_x_padding=5, font_width=120, font_height=0, font_align=pango.ALIGN_LEFT, arrow_x_padding=10, normal_pixbuf=ui_theme.get_pixbuf("treeview/arrow_right.png"), press_pixbuf=ui_theme.get_pixbuf("treeview/arrow_down.png"), normal_hover_pixbuf=ui_theme.get_pixbuf("treeview/arrow_right_hover.png"), press_hover_pixbuf=ui_theme.get_pixbuf("treeview/arrow_down_hover.png")) source code
 
tree_view_press_event(self, widget, event) source code
 
press_notify_function(self, event) source code
 
set_highlight_index(self, index) source code
 
get_highlight_index(self) source code
 
get_highlight_item(self) source code
 
tree_view_motion_event(self, widget, event) source code
 
get_offset_coordinate(self, widget)
Get offset coordinate.
source code
 
draw_mask(self, cr, x, y, w, h) source code
 
tree_view_expose_event(self, widget, event) source code
 
tree_view_key_press_event(self, widget, event) source code
 
tree_view_leave_notify_event(self, widget, event) source code
 
add_items(self, parent_id, child_items) source code
 
add_item(self, parent_id, child_item) source code
 
create_tree(self, child_item) source code
 
scan_item(self, item_id, node) source code
 
clear_scan_save_item(self) source code
 
set_index_text(self, index, text) source code
 
del_item_index(self) source code
 
del_item_from_index(self, index) source code
 
del_item(self, item_id) source code
 
get_other_item(self, index) source code
 
get_item_from_index(self, index) source code
 
get_items(self, parent_id) source code
 
set_text(self, item) source code
 
get_text(self, item) source code
 
clear(self) source code
 
sort_all_nodes(self, nodes) source code
 
get_all_items(self) source code
 
sort(self) source code
 
sort2(self, node, width) source code
Class Variables
  __gsignals__ = {"single-click-item":(gobject.SIGNAL_RUN_LAST, ...
Class Variable Details

__gsignals__

Value:
{"single-click-item":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gob\
ject.TYPE_PYOBJECT,)), "double-click-item":(gobject.SIGNAL_RUN_LAST, g\
object.TYPE_NONE, (gobject.TYPE_PYOBJECT,)), "right-press-item":(gobje\
ct.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT, gobject\
.TYPE_INT, gobject.TYPE_INT, gobject.TYPE_INT)),}