Messages Table of Contents | Messages Index |
The preferences panel produces three messages: B_SET_PROPERTY, B_REFS_RECEIVED, and B_CLOSE. The first of these is discussed under "Scripting Messages". It's produces when the user changes a widget to a new value. The second of these is discussed under "General Messages". It's produced when the user opens a new configuration, reverts the configuration to an earlier configuration, or reset the configuration to the default configuration. The remaining message is described below.
A close notification is sent whenever a preferences panel is hidden. This includes the Okay button being clicked and the panel being closed.
Field | Type code | Description |
"old_what" | B_INT32_TYPE | The "previous" what value. This is only useful (and dependable) if you supplied the BPreferencesPanel with your own BMessage: The what from your message is moved to the "old_what" field. If you didn't supply a BMessage, you should ignore this field (it could contain garbage). |
"source" | B_POINTER_TYPE | A pointer to the BPreferencesPanel object. |
See the BPreferencesPanel class in The Storage Kit chapter for more information.
Messages Table of Contents | Messages Index |
Copyright © 2002, Andrew Bachmann. All rights reserved..