Open In App

wxPython | GetToolPacking() function in python

Last Updated : 10 Mar, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

In this article we are going to learn about GetToolPacking() function associated with wx.ToolBar class of wxPython. GetToolPacking() function simply returns the value used for packing tools.The packing is used for spacing in the vertical direction if the toolbar is horizontal, and for spacing in the horizontal direction if the toolbar is vertical. It takes no arguments. 
 

Syntax: 

wx.ToolBar.GetToolPacking(self, packing)

Parameters : 

GetToolPacking() function takes no parameters.

Return Type: 

int

Code Example: 

Output : 

7

Code Example 2: 

Output : 

12

Next Article
Article Tags :
Practice Tags :

Similar Reads