parameters: (self, item)
return_statement: return maxsize
docstring: Returns the horizontal space available in :class:`CustomTreeCtrl`, in pixels, to draw this item.
  
          :param `item`: an instance of :class:`GenericTreeItem`.
  
          .. versionadded:: 0.9.3
docstring_summary: Returns the horizontal space available in :class:`CustomTreeCtrl`, in pixels, to draw this item.
docstring_tokens: Returns the horizontal space available in : class : CustomTreeCtrl in pixels to draw this item .
function: def GetItemSize(self, item):
          """
          Returns the horizontal space available in :class:`CustomTreeCtrl`, in pixels, to draw this item.
  
          :param `item`: an instance of :class:`GenericTreeItem`.
  
          .. versionadded:: 0.9.3
          """
          
          w, h = self.GetClientSize()
          xa, ya = self.CalcScrolledPosition((0, item.GetY()))
          
          wcheck = image_w = 0
          
          if item.GetType() != 0:
              wcheck, dummy = self._imageListCheck.GetSize(item.GetType())
              wcheck += 4
  
          image = item.GetCurrentImage()
          
          if image != _NO_IMAGE:                    
              if self._imageListNormal:                        
                  image_w, dummy = self._imageListNormal.GetSize(image)
                  image_w += 4
  
          maxsize = w - (wcheck + image_w + item.GetX()) + xa
          return maxsize
function_tokens: def GetItemSize ( self , item ) : w , h = self . GetClientSize ( ) xa , ya = self . CalcScrolledPosition ( ( 0 , item . GetY ( ) ) ) wcheck = image_w = 0 if item . GetType ( ) != 0 : wcheck , dummy = self . _imageListCheck . GetSize ( item . GetType ( ) ) wcheck += 4 image = item . GetCurrentImage ( ) if image != _NO_IMAGE : if self . _imageListNormal : image_w , dummy = self . _imageListNormal . GetSize ( image ) image_w += 4 maxsize = w - ( wcheck + image_w + item . GetX ( ) ) + xa return maxsize