wx.BrushList Class Reference

Inheritance diagram for wx.BrushList:

wx.Object

List of all members.

Public Member Functions

 BrushList ()
 BrushList (IntPtr wxObject)
override void Dispose ()
Brush FindOrCreateBrush (Colour colour, wx.Brush.Styles style)

Properties

static BrushList TheBrushList [get]


Detailed Description

Wrapper for wxBrushList. Whenever possible use static property TheBrushList().

Constructor & Destructor Documentation

wx.BrushList.BrushList ( IntPtr  wxObject  ) 

wx.BrushList.BrushList (  ) 


Member Function Documentation

override void wx.BrushList.Dispose (  )  [virtual]

Reimplemented from wx.Object.

Brush wx.BrushList.FindOrCreateBrush ( Colour  colour,
wx.Brush.Styles  style 
)

Find or create a brush of the provided properties. This methods allows independent parts of the application to share the same instances for brushes. This is important, because some OS like windows assign special identifiers (handles) to each living instance of a brush - and these identifiers can be a rare resource.

Parameters:
colour The colour of the brush.
style The style of the brush.
Returns:


Property Documentation

BrushList wx.BrushList.TheBrushList [static, get]

The global font list. Use this whenever possible to retrieve fonts.


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads