I am creating a plugin for Qgis 2.6 and when my plugin loads up i want to disable the visibility of some of the tool bar. I was able to set the visibility for various tool bars like
self.iface.digitizeToolBar().setVisible(True)
self.iface.mapNavToolToolBar().setVisible(True)
self.iface.advancedDigitizeToolBar().setVisible(True)
self.iface.pluginToolBar().setVisible(True)
self.iface.layerToolBar().setVisible(True)
self.iface.databaseToolBar().setVisible(False)
self.iface.fileToolBar().setVisible(False)
self.iface.helpToolBar().setVisible(False)
self.iface.vectorToolBar().setVisible(False)
self.iface.rasterToolBar().setVisible(False)
self.iface.webToolBar().setVisible(False)
self.iface.attributesToolBar().setVisible(False)
Apart from this tool bars I have other tool bars like Manage Layer, Grass, Label but I am not able to get the reference for this tool bar from the iface to set the visibility.
http://doc.qgis.org/api/classQgisInterface.html#a882199db87f1b58bd5fc9b3d5db00d28 This documentation does not expose this tool bars.