Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIButton Class Reference

Push button widget. More...

#include <nsIButton.h>

Inheritance diagram for nsIButton:
Inheritance graph
[legend]
Collaboration diagram for nsIButton:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD SetLabel (const nsString &aText)=0
 Set the label.
NS_IMETHOD GetLabel (nsString &aBuffer)=0
 Get the button label.
NS_IMETHOD SetLabel (const nsString &aText)=0
 Set the label.
NS_IMETHOD GetLabel (nsString &aBuffer)=0
 Get the button label.

Detailed Description

Push button widget.

Automatically shows itself as depressed when clicked on.

Definition at line 53 of file nsIButton.h.


Member Function Documentation

NS_IMETHOD nsIButton::GetLabel ( nsString aBuffer) [pure virtual]

Get the button label.

Parameters:
aBuffercontains label upon return
Returns:
NS_Ok if no errors

Implemented in nsButton, nsButton, nsButton, and nsButton.

NS_IMETHOD nsIButton::GetLabel ( nsString aBuffer) [pure virtual]

Get the button label.

Parameters:
aBuffercontains label upon return
Returns:
NS_Ok if no errors

Implemented in nsButton, nsButton, nsButton, and nsButton.

NS_IMETHOD nsIButton::SetLabel ( const nsString aText) [pure virtual]

Set the label.

Parameters:
Setthe label to aText
Returns:
NS_Ok if no errors

Implemented in nsButton, nsButton, nsButton, and nsButton.

NS_IMETHOD nsIButton::SetLabel ( const nsString aText) [pure virtual]

Set the label.

Parameters:
Setthe label to aText
Returns:
NS_Ok if no errors

Implemented in nsButton, nsButton, nsButton, and nsButton.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: