Loading...
Searching...
No Matches
Classes | Enumerations
Alert.h File Reference

BAlert class definition and support enums. More...

Classes

class  BAlert
 The BAlert class defines a modal alert dialog which displays a short message and provides a set of labeled buttons that allow the user to respond. More...
 

Enumerations

enum  alert_type {
  B_EMPTY_ALERT = 0 ,
  B_INFO_ALERT ,
  B_IDEA_ALERT ,
  B_WARNING_ALERT ,
  B_STOP_ALERT
}
 
enum  button_spacing {
  B_EVEN_SPACING = 0 ,
  B_OFFSET_SPACING
}
 

Detailed Description

BAlert class definition and support enums.

Enumeration Type Documentation

◆ alert_type

enum alert_type
Enumerator
B_EMPTY_ALERT 

No icon

Since
BeOS R3
B_INFO_ALERT 

Info icon

Since
BeOS R3
B_IDEA_ALERT 

Idea icon

Since
BeOS R3
B_WARNING_ALERT 

Warning icon

Since
BeOS R3
B_STOP_ALERT 

Stop icon

Since
BeOS R3

◆ button_spacing

Enumerator
B_EVEN_SPACING 

If the alert dialog has more than one button than the buttons are spaced evenly across the bottom of the alert dialog.

Since
BeOS R3
B_OFFSET_SPACING 

If the alert dialog has more than one button than the leftmost button is offset to the left-hand side of the dialog while the rest of the buttons are grouped on the right. This is useful to separate off a leftmost "Cancel" or "Delete" button.

Since
BeOS R3