import gtk
streamVolumeButton = gtk.VolumeButton()

img_minus_button = gtk.Image()
img_minus_button.set_from_icon_name(gtk.STOCK_REMOVE, gtk.ICON_SIZE_MENU)
minus_button = streamVolumeButton.get_minus_button()
minus_button.set_label('')
minus_button.set_image(img_minus_button)

img_plus_button = gtk.Image()
img_plus_button.set_from_icon_name(gtk.STOCK_ADD, gtk.ICON_SIZE_MENU)
plus_button = streamVolumeButton.get_plus_button()
plus_button.set_label('')
plus_button.set_image(img_plus_button)


# I try get the children objects of gtk.VolumeButton and returns a list with 3 elements, but...
scale_button = streamVolumeButton.get_popup().get_child().get_child().get_children()
#[<gtk.Button object at 0x8d28cd4 (GtkButton at 0x8dde760)>, <gtk.ScaleButtonScale object at 0x8d28824 (GtkScaleButtonScale at 0x8f0a060)>, <gtk.Button object at 0x8d28d4c (GtkButton at 0x8f06800)>]

# If you access to a element, in my case, gtk.ScaleButtonScale, then it crash
print scale_button[1]
"""  Then show this message:
TypeError: Cannot create a consistent method resolution
order (MRO) for bases ImplementorIface, Buildable, gtk.Orientable
**
ERROR:/build/buildd/pygobject-2.18.0/gobject/pygobject.c:924:pygobject_new_full: assertion failed: (tp != NULL)
/usr/bin/tivion: line 5: 30042 Cancelado               python tivion.py $1 $2 $3 $4
"""

# The following code never is excecuted. I need modify these properties      
scale_button = scale_button[1]       
scale_button.set_digits(0)
scale_button.set_property("height-request", 160)  
scale_button.set_value_pos(gtk.POS_BOTTOM)