开发者

Toolbar button style

I create toolbar with gtkuimanager in my gtk+ application. How can i change style o开发者_Python百科f toolbar button?

Thank you.


    #   set a vertical toolbar to the left
    self.tools   = gtk.Toolbar()
    toolbar_item = gtk.ToolButton()
    toolbar_item.set_stock_id(gtk.STOCK_APPLY)
    toolbar_item.set_label("Show Levels")
    toolbar_item.show()
    self.tools.insert(toolbar_item, -1)
    self.tools.set_orientation(gtk.ORIENTATION_VERTICAL)
    containerH.pack_start(self.tools, False, False, 0)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜