0
Je crée une barre d'outils avec gtkuimanager dans mon application gtk +. Comment puis-je changer le style du bouton de la barre d'outils?Style du bouton de la barre d'outils
Merci.
Je crée une barre d'outils avec gtkuimanager dans mon application gtk +. Comment puis-je changer le style du bouton de la barre d'outils?Style du bouton de la barre d'outils
Merci.
# 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)