Documentation patch by <stefanbidi@gmail.com>.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24401 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2007-01-23 14:44:35 +00:00
parent e344345023
commit 3ed672d301
4 changed files with 51 additions and 1 deletions

View file

@ -37,6 +37,37 @@
@class NSFont;
@class NSSound;
/** Type of button in an NSButton or NSButtonCell.
* <deflist>
* <term>NSMomentaryPushInButton</term>
* <desc><em>Default button type!</em> Pushed in and lit when mouse is
* down, pushed out and unlit when mouse is release.</desc>
* <term>NSPushOnPushOffButton</term>
* <desc>Used to show/store ON / OFF states. In when ON, out when OFF.</desc>
* <term>NSToggleButton</term>
* <desc>Like NSPushOnPushOffButton but images is changed for ON and
* OFF state.</desc>
* <term>NSSwitchButton</term>
* <desc>A borderless NSToggleButton</desc>
* <term>NSRadioButton</term>
* <desc>A type of NSSwitchButton similar to a Microsoft Windows radio
* button.</desc>
* <term>NSMomentaryChangeButton</term>
* <desc>Image of button changes on mouse down and then changes back
* once released.</desc>
* <term>NSOnOffButton</term>
* <desc>Simple ON / OFF button. First click lights the button,
* seconds click unlights it.</desc>
* <term>NSMomentaryLightButton</term>
* <desc>Like NSMomentaryPushInButton but button is not pushed
* in on mouse down</desc>
*
* <term>NSMomentaryLight</term>
* <desc>Same as NSMomentaryPushInButton. Has been depricated in Cocoa.</desc>
* <term>NSMomentaryPushButton</term>
* <desc>Same as NSMomentaryLightButton. Has been depricated in
* Cocoa.</desc>
*/
typedef enum _NSButtonType {
NSMomentaryLightButton,
NSPushOnPushOffButton,