back to gui 

wxBitmapButton

generated from ../src/mod_gui/control/bmpbtn.cpp

A button that contains a bitmap.

Constants

Constructor

wxBitmapButton

wxBitmapButton()
 
wxBitmapButton(Parent, 
               Id, 
               Bitmap, 
               Position = wxDefaultPosition, 
               Size = wxDefaultSize, 
               Style = wxButton.AUTO_DRAW)
 
Name Type Default Description
Parent wxWindow The parent window
Id Integer A windows identifier. Use -1 when you don't need it.
Bitmap wxBitmap The bitmap to display
Position wxPoint wxDefaultPosition The position of the control on the given parent
Size wxSize wxDefaultSize The size of the control
Style Integer wxButton.AUTO_DRAW The style of the control

Constructs a new wxBitmapButton object.

Properties

Name Type Description
bitmapDisabled wxBitmap Bitmap to show when the button is disabled.
bitmapFocus wxBitmap Bitmap to show when the button has the focus.
bitmapLabel wxBitmap The default bitmap.
bitmapSelected wxBitmap Bitmap to show when the button is selected.

Methods

create

create(Parent, 
       Id, 
       Bitmap, 
       Position = wxDefaultPosition, 
       Size = wxDefaultSize, 
       Style = wxButton.AUTO_DRAW) : Boolean
 
Name Type Default Description
Parent wxWindow The parent window
Id Integer A windows identifier. Use -1 when you don't need it.
Bitmap wxBitmap The bitmap to display
Position wxPoint wxDefaultPosition The position of the control on the given parent
Size wxSize wxDefaultSize The size of the control
Style Integer wxButton.AUTO_DRAW The style of the control

Creates a bitmap button.



SourceForge.net Logo Support This Project

Table of Contents

Prototype

wxButton

Constructor

wxBitmapButton

Properties

bitmapDisabled
bitmapFocus
bitmapLabel
bitmapSelected

Methods

create


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.