wxPython - SetMargins() function in wx.ToolBar
In this article we are going to learn about SetMargins() function associated with wx.ToolBar class of wxPython. SetMargins() function set the values to be used as margins for the toolbar. It takes two integer x and y as parameter for left and right margins. Syntax: wx.ToolBar.SetMargins(self, x, y)