Package elisa :: Package plugins :: Package bad :: Package raval_frontend :: Package raval_widgets :: Module grid_bar :: Class GridBar
[hide private]
[frames] | no frames]

Class GridBar

source code


Nested Classes [hide private]

Inherited from pgm.graph.group.Group: __metaclass__

Instance Methods [hide private]
 
__init__(self, canvas='frontend', layer=<enum PGM_DRAWABLE_MIDDLE of type PgmDrawableLayer>, width=1.0, height=2.0, background='frontend', main_text='', sub_text='', back_button='frontend', back_button_focused='frontend', zoom_in_button='frontend', zoom_in_button_focused='frontend', zoom_out_button='frontend', zoom_out_button_focused='frontend') source code
 
canvas__set(self, canvas) source code
 
_setup_initial_widgets(self) source code
 
_create_text(self) source code
 
_create_click_zone(self) source code
 
_layout(self) source code
 
_layout_buttons(self) source code
 
_unfocus(self, attr) source code
 
_focus(self, attr) source code
 
_focus_buttons(self, emit_signal=True) source code
 
_set_image(self, img, image_file, visible=True) source code
 
_img_loaded(self, img) source code
 
_img_clicked(self, mouse_zone, x, y, z, time, button_type) source code
 
focused_button__set(self, value) source code
 
focused_button__get(self) source code
 
background__set(self, image_file) source code
 
background__get(self) source code
 
main_text__set(self, text) source code
 
main_text__get(self) source code
 
sub_text__set(self, text) source code
 
sub_text__get(self) source code
 
back_button__set(self, image_file) source code
 
back_button__get(self) source code
 
back_button_focused__set(self, image_file) source code
 
back_button_focused__get(self) source code
 
zoom_in_button__set(self, image_file) source code
 
zoom_in_button__get(self) source code
 
zoom_in_button_focused__set(self, image_file) source code
 
zoom_in_button_focused__get(self) source code
 
zoom_out_button__set(self, image_file) source code
 
zoom_out_button__get(self) source code
 
zoom_out_button_focused__set(self, image_file) source code
 
zoom_out_button_focused__get(self) source code

Inherited from pgm.graph.group.Group: absolute_opacity_factor__get, absolute_position__get, add, canvas__get, children__get, empty, height__get, height__set, opacity__get, opacity__set, parent__get, position__get, position__set, regenerate, remove, size__get, size__set, visible__get, visible__set, width__get, width__set, x__get, x__set, y__get, y__set, z__get, z__set

Inherited from pgm.graph.group.Group (private): _proxy_child_signal, _set_visibility_from_parent

Inherited from gobject.GObject: __cmp__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Static Methods [hide private]

Inherited from pgm.graph.group.Group: __classinit__

Class Variables [hide private]
  attr_focus_map = {0: 'back', 1: 'zoom_out', 2: 'zoom_in'}
  __gsignals__ = {'focus-changed':(gobject.SIGNAL_RUN_LAST, gobj...
  __gtype__ = <GType elisa+plugins+bad+raval_frontend+raval_widg...
Properties [hide private]
  back_button
  back_button_focused
  background
  canvas
  focused_button
  main_text
  sub_text
  zoom_in_button
  zoom_in_button_focused
  zoom_out_button
  zoom_out_button_focused

Inherited from pgm.graph.group.Group: absolute_opacity_factor, absolute_position, children, height, opacity, parent, position, size, visible, width, x, y, z

Inherited from gobject.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self, canvas='frontend', layer=<enum PGM_DRAWABLE_MIDDLE of type PgmDrawableLayer>, width=1.0, height=2.0, background='frontend', main_text='', sub_text='', back_button='frontend', back_button_focused='frontend', zoom_in_button='frontend', zoom_in_button_focused='frontend', zoom_out_button='frontend', zoom_out_button_focused='frontend')
(Constructor)

source code 
Overrides: pgm.graph.group.Group.__init__

canvas__set(self, canvas)

source code 
Overrides: pgm.graph.group.Group.canvas__set

Class Variable Details [hide private]

__gsignals__

Value:
{'focus-changed':(gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject\
.TYPE_INT,))}

__gtype__

Value:
<GType elisa+plugins+bad+raval_frontend+raval_widgets+grid_bar+GridBar\
 (1730241

Property Details [hide private]

back_button

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.back_button__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.back_button__set(self, image_file)
Delete Method:
'frontend'

back_button_focused

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.back_button_focused__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.back_button_focused__set(self, image_file)
Delete Method:
'frontend'

background

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.background__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.background__set(self, image_file)
Delete Method:
'frontend'

canvas

Get Method:
pgm.graph.group.Group.canvas__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.canvas__set(self, canvas)
Delete Method:
'frontend'

focused_button

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.focused_button__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.focused_button__set(self, value)
Delete Method:
'frontend'

main_text

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.main_text__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.main_text__set(self, text)
Delete Method:
'frontend'

sub_text

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.sub_text__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.sub_text__set(self, text)
Delete Method:
'frontend'

zoom_in_button

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_in_button__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_in_button__set(self, image_file)
Delete Method:
'frontend'

zoom_in_button_focused

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_in_button_focused__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_in_button_focused__set(self, image_file)
Delete Method:
'frontend'

zoom_out_button

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_out_button__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_out_button__set(self, image_file)
Delete Method:
'frontend'

zoom_out_button_focused

Get Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_out_button_focused__get(self)
Set Method:
elisa.plugins.bad.raval_frontend.raval_widgets.grid_bar.GridBar.zoom_out_button_focused__set(self, image_file)
Delete Method:
'frontend'