Package dtk :: Package ui :: Module iconview :: Class IconItem

Class IconItem

source code


Icon item.

Instance Methods
 
__init__(self, pixbuf)
Initialize ItemIcon class.
source code
 
emit_redraw_request(self)
Emit `redraw-request` signal.
source code
 
get_width(self)
Get item width.
source code
 
get_height(self)
Get item height.
source code
 
render(self, cr, rect)
Render item.
source code
 
icon_item_motion_notify(self, x, y)
Handle `motion-notify-event` signal.
source code
 
icon_item_lost_focus(self)
Lost focus.
source code
 
icon_item_highlight(self)
Highlight item.
source code
 
icon_item_normal(self)
Set item with normal status.
source code
 
icon_item_button_press(self, x, y)
Handle button-press event.
source code
 
icon_item_button_release(self, x, y)
Handle button-release event.
source code
 
icon_item_single_click(self, x, y)
Handle single click event.
source code
 
icon_item_double_click(self, x, y)
Handle double click event.
source code
Class Variables
  __gsignals__ = {"redraw-request":(gobject.SIGNAL_RUN_LAST, gob...
Method Details

__init__(self, pixbuf)
(Constructor)

source code 

Initialize ItemIcon class.

Parameters:
  • pixbuf - Icon pixbuf.

emit_redraw_request(self)

source code 

Emit `redraw-request` signal.

This is IconView interface, you should implement it.

get_width(self)

source code 

Get item width.

This is IconView interface, you should implement it.

get_height(self)

source code 

Get item height.

This is IconView interface, you should implement it.

render(self, cr, rect)

source code 

Render item.

This is IconView interface, you should implement it.

icon_item_motion_notify(self, x, y)

source code 

Handle `motion-notify-event` signal.

This is IconView interface, you should implement it.

icon_item_lost_focus(self)

source code 

Lost focus.

This is IconView interface, you should implement it.

icon_item_highlight(self)

source code 

Highlight item.

This is IconView interface, you should implement it.

icon_item_normal(self)

source code 

Set item with normal status.

This is IconView interface, you should implement it.

icon_item_button_press(self, x, y)

source code 

Handle button-press event.

This is IconView interface, you should implement it.

icon_item_button_release(self, x, y)

source code 

Handle button-release event.

This is IconView interface, you should implement it.

icon_item_single_click(self, x, y)

source code 

Handle single click event.

This is IconView interface, you should implement it.

icon_item_double_click(self, x, y)

source code 

Handle double click event.

This is IconView interface, you should implement it.


Class Variable Details

__gsignals__

Value:
{"redraw-request":(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()),}