Mercurial > projects > dstep
comparison dstep/appkit/NSSegmentedControl.d @ 25:b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 06 Apr 2010 11:37:27 +0200 |
parents | 19885b43130e |
children |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
29 NSSegmentStyleSmallSquare = 6 | 29 NSSegmentStyleSmallSquare = 6 |
30 } | 30 } |
31 | 31 |
32 class NSSegmentedControl : NSControl | 32 class NSSegmentedControl : NSControl |
33 { | 33 { |
34 mixin (ObjcWrap); | 34 mixin ObjcWrap; |
35 | |
36 this (id object) | |
37 { | |
38 super(object); | |
39 } | |
35 | 40 |
36 void setSegmentCount (NSInteger count) | 41 void setSegmentCount (NSInteger count) |
37 { | 42 { |
38 return invokeObjcSelf!(void, "setSegmentCount:", NSInteger)(count); | 43 return invokeObjcSelf!(void, "setSegmentCount:", NSInteger)(count); |
39 } | 44 } |