Messages Table of Contents     Messages Index

Preferences Panel Messages

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.


B_CLOSE

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


The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2002, Andrew Bachmann. All rights reserved..