|
__init__(self,
volume_max_value=100,
volume_width=52,
volume_x=0,
volume_y=15,
line_width=3,
volume_left_right_padding_x=5,
volume_left_show_value=[(1,33),(34,66),(67,100)],
scroll_bool=False,
press_emit_bool=False,
bg_pixbuf=ui_theme.get_pixbuf("volumebutton/bg.png"),
fg_pixbuf=ui_theme.get_pixbuf("volumebutton/fg.png"),
zero_volume_normal_pixbuf=ui_theme.get_pixbuf("volumebutton/zero_normal.png"),
zero_volume_hover_pixbuf=ui_theme.get_pixbuf("volumebutton/zero_hover.png"),
zero_volume_press_pixbuf=ui_theme.get_pixbuf("volumebutton/zero_press.png"),
min_volume_normal_pixbuf=ui_theme.get_pixbuf("volumebutton/lower_normal.png"),
min_volume_hover_pixbuf=ui_theme.get_pixbuf("volumebutton/lower_hover.png"),
min_volume_press_pixbuf=ui_theme.get_pixbuf("volumebutton/lower_press.png"),
mid_volume_normal_pixbuf=ui_theme.get_pixbuf("volumebutton/middle_normal.png"),
mid_volume_hover_pixbuf=ui_theme.get_pixbuf("volumebutton/middle_hover.png"),
mid_volume_press_pixbuf=ui_theme.get_pixbuf("volumebutton/middle_press.png"),
max_volume_normal_pixbuf=ui_theme.get_pixbuf("volumebutton/high_normal.png"),
max_volume_hover_pixbuf=ui_theme.get_pixbuf("volumebutton/high_hover.png"),
max_volume_press_pixbuf=ui_theme.get_pixbuf("volumebutton/high_press.png"),
mute_volume_normal_pixbuf=ui_theme.get_pixbuf("volumebutton/mute_normal.png"),
mute_volume_hover_pixbuf=ui_theme.get_pixbuf("volumebutton/mute_hover.png"),
mute_volume_press_pixbuf=ui_theme.get_pixbuf("volumebutton/mute_press.png"),
point_volume_pixbuf=ui_theme.get_pixbuf("volumebutton/point_normal.png"),
inc_value=5) |
source code
|
|