GtkGraphicRenderer class. More...
Public Member Functions | |
def | __init__ (self, data) |
Initializer. More... | |
def | button_press (self, widget, event) |
Button Press. More... | |
def | button_release (self, widget, event) |
Button Release. More... | |
def | expose (self, widget, event) |
Expose. More... | |
def | motion_notify (self, widget, event) |
Motion Notify. More... | |
def | output_png (self, filename) |
Output PNG. More... | |
def | set_bigger_zoom (self) |
Set Bigger Zoom. More... | |
def | set_smaller_zoom (self) |
Set Smaller Zoom. More... | |
def | size_allocate (self, widget, allocation) |
Size Allocate. More... | |
Private Attributes | |
__buffer_surface | |
__buffer_surface More... | |
__data | |
data More... | |
__force_full_redraw | |
full redraw More... | |
__height | |
height More... | |
__moving_both | |
moving both More... | |
__moving_both_cur | |
moving both cur More... | |
__moving_both_start | |
moving both start More... | |
__moving_left | |
moving left More... | |
__moving_left_cur | |
moving left cur More... | |
__moving_right | |
moving right More... | |
__moving_right_cur | |
moving right cur More... | |
__moving_top | |
moving top More... | |
__moving_top_cur | |
moving top cur More... | |
__moving_top_start | |
moving top start More... | |
__width | |
width More... | |
GtkGraphicRenderer class.
def grid.GtkGraphicRenderer.__init__ | ( | self, | |
data | |||
) |
grid.GtkGraphicRenderer.button_press | ( | self, | |
widget, | |||
event | |||
) |
Button Press.
button_press function
self | this object |
widget | widget |
event | event |
Definition at line 1456 of file grid.py.
References grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, grid.GtkGraphicRenderer.__moving_both, grid.GtkGraphicRenderer.__moving_left, and grid.GtkGraphicRenderer.__moving_right.
grid.GtkGraphicRenderer.button_release | ( | self, | |
widget, | |||
event | |||
) |
Button Release.
button_release function
self | this object |
widget | widget |
event | event |
Definition at line 1485 of file grid.py.
References grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, grid.GtkGraphicRenderer.__force_full_redraw, grid.GtkGraphicRenderer.__moving_both, grid.GtkGraphicRenderer.__moving_both_cur, grid.GtkGraphicRenderer.__moving_both_start, grid.GtkGraphicRenderer.__moving_left, grid.GtkGraphicRenderer.__moving_left_cur, grid.GtkGraphicRenderer.__moving_right, grid.GtkGraphicRenderer.__moving_right_cur, and grid.GtkGraphicRenderer.__moving_top.
grid.GtkGraphicRenderer.expose | ( | self, | |
widget, | |||
event | |||
) |
Expose.
expose function
self | this object |
widget | widget |
event | event |
Definition at line 1594 of file grid.py.
References grid.GtkGraphicRenderer.__force_full_redraw.
grid.GtkGraphicRenderer.motion_notify | ( | self, | |
widget, | |||
event | |||
) |
Motion Notify.
motion_notify function
self | this object |
widget | widget |
event | event |
Definition at line 1520 of file grid.py.
References grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, and grid.GtkGraphicRenderer.__moving_left.
def grid.GtkGraphicRenderer.output_png | ( | self, | |
filename | |||
) |
Output PNG.
self | this object |
filename | file name |
Definition at line 1443 of file grid.py.
References grid.GtkGraphicRenderer.__buffer_surface, grid.GraphicRenderer.__data, and grid.GtkGraphicRenderer.__data.
def grid.GtkGraphicRenderer.set_bigger_zoom | ( | self | ) |
Set Bigger Zoom.
self | this object |
Definition at line 1433 of file grid.py.
References grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, and grid.GtkGraphicRenderer.__force_full_redraw.
def grid.GtkGraphicRenderer.set_smaller_zoom | ( | self | ) |
Set Smaller Zoom.
self | this object |
Definition at line 1423 of file grid.py.
References grid.GraphicRenderer.__data, grid.GtkGraphicRenderer.__data, and grid.GtkGraphicRenderer.__force_full_redraw.
grid.GtkGraphicRenderer.size_allocate | ( | self, | |
widget, | |||
allocation | |||
) |
|
private |
__buffer_surface
Definition at line 1602 of file grid.py.
Referenced by grid.GtkGraphicRenderer.output_png().
|
private |
data
Definition at line 1408 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_press(), grid.GtkGraphicRenderer.button_release(), grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.GraphicRenderer.get_selection_rectangle(), grid.GraphicRenderer.layout(), grid.GtkGraphicRenderer.motion_notify(), grid.GtkGraphicRenderer.output_png(), grid.GraphicRenderer.scale_data(), grid.GtkGraphicRenderer.set_bigger_zoom(), and grid.GtkGraphicRenderer.set_smaller_zoom().
|
private |
full redraw
Definition at line 1413 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_release(), grid.GtkGraphicRenderer.expose(), grid.GtkGraphicRenderer.set_bigger_zoom(), and grid.GtkGraphicRenderer.set_smaller_zoom().
|
private |
height
Definition at line 1589 of file grid.py.
Referenced by grid.GraphicRenderer.draw(), grid.TopLegendRenderer.get_height(), grid.ScaleRenderer.get_height(), grid.GraphicRenderer.get_height(), and grid.GraphicRenderer.layout().
|
private |
moving both
Definition at line 1411 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_press(), and grid.GtkGraphicRenderer.button_release().
|
private |
moving both cur
Definition at line 1475 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_release().
|
private |
moving both start
Definition at line 1474 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_release().
|
private |
moving left
Definition at line 1409 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_press(), grid.GtkGraphicRenderer.button_release(), and grid.GtkGraphicRenderer.motion_notify().
|
private |
moving left cur
Definition at line 1530 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_release().
|
private |
moving right
Definition at line 1410 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_press(), and grid.GtkGraphicRenderer.button_release().
|
private |
moving right cur
Definition at line 1541 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_release().
|
private |
moving top
Definition at line 1412 of file grid.py.
Referenced by grid.GtkGraphicRenderer.button_release().
|
private |
|
private |
|
private |
width
Definition at line 1588 of file grid.py.
Referenced by grid.TopLegendRenderer.draw(), grid.ScaleRenderer.draw(), grid.GraphicRenderer.draw(), grid.GraphicRenderer.get_data_rectangle(), grid.ScaleRenderer.get_position(), grid.GraphicRenderer.get_width(), grid.GraphicRenderer.layout(), grid.GraphicRenderer.scale_data(), and grid.GraphicRenderer.scale_selection().