[Sugar-devel] The gtk MediaRecord stock is well added to toolbar, but not the gtk MediaPlay
laurent.bernabe at gmail.com
Fri Mar 9 12:12:07 EST 2012
I've solved the problem by writting
playButton = ToolButton(stock_id = gtk.STOCK_MEDIA_PLAY)
playButton = ToolButton('gtk-media-play')
Le 9 mars 2012 18:01, laurent bernabe <laurent.bernabe at gmail.com> a écrit :
> Hello everyone,
> I'm implementing the new Sugar toolbar in my application LearningWriting.
> I haven't done any commit yet for the problem I'm facing.
> I wrote the line
> playButton = ToolButton('gtk-media-play') #(line 99)
> in order to add a tool button with the play icon. But the space for the
> button is allocated, and no icon is shown.
> Whereas, if i replace by
> playButton = ToolButton('gtk-media-record') #(line 99)
> this time I can see the gtk icon for a record button.
> Here is my activity code :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel