Einhugur Framework for C++

PushButton Class

A standard MacOS X push button control.

Control
   PushButton

class PushButton

Constructors

PushButton

Methods

Close (Inherited)
ContainsPoint (Inherited)Returns true if the control contains the point at the given location.
GetBounds (Inherited)Gets the position and size of the control.
GetControlHandle (Inherited)Returns the Mac ControlHandle for the control.
GetEnabled (Inherited)Returns true if the control is enabled.
GetHeight (Inherited)Returns the height of the control in pixels.
GetPanelID (Inherited)Returns the panel ID for the control.
GetTextGets to text from the button.
GetVisible (Inherited)Returns true if the control has its visible flag set to true.
GetWidth (Inherited)Returns the width of the control in pixels.
GetWindowRef (Inherited)Returns a Mac WindowRef for the Window that the control lives on.
HandleMouseEnter (Inherited)
HandleMouseLeave (Inherited)
HandleMouseMove (Inherited)
HandleOpen (Inherited)
HandleVisibilityChanged (Inherited)
IsVisibleOnTop (Inherited)Returns true if the controls visible flag is set to true and the control is on top most view panel if it lives on a TabPanel or other similar control.
LocalToScreenCoordinate (Inherited)This method converts a point that is local to the control to a point that is local to the screen.
LocalToWindowCoordinate (Inherited)This method converts a point that is local to the control to a point that is local to the window.
ParentResized (Inherited)
Release (Inherited)Decreases reference count by one and deletes the object if the reference count reached zero.
Retain (Inherited)Increases the reference count by one.
SetAnchor (Inherited)This method anchors the control to given sides of its parent container.
SetBounds (Inherited)Sets the position and size of the control.
SetEnabled (Inherited)Enables or disables the control.
SetFocus (Inherited)
SetPanelID (Inherited)Sets panel ID for the control.
SetPanelVisibility (Inherited)
SetPosition (Inherited)
SetSize (Inherited)Sets the size of the control.
SetTextSets the text of the button.
SetVisible (Inherited)Shows or hides the control.
WindowToLocalCoordinate (Inherited)Translates a coordinate that is relative to the Window to a coordinate that is relative to the control.

Events

ClickEventThis event is fired when the button is clicked.
CloseEvent (Inherited)This event is fired when the control is closing.
MouseEnterEvent (Inherited)This event is fired when the control is about to get displayed.
MouseLeaveEvent (Inherited)This event is fired when the mouse leaves the control.
MouseMoveEvent (Inherited)
OpenEvent (Inherited)This event is fired when the control is about to get displayed.