Mercurial > projects > dwt-mac
comparison dwt/accessibility/Accessible.d @ 37:642f460a0908
Fixed a lot of compile errors, a "hello world" app compiles now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 12:29:48 +0200 |
parents | f565d3a95c0a |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
36:db5a898b2119 | 37:642f460a0908 |
---|---|
46 Control control; | 46 Control control; |
47 | 47 |
48 this (Control control) { | 48 this (Control control) { |
49 this.control = control; | 49 this.control = control; |
50 } | 50 } |
51 | |
52 /** | |
53 * Invokes platform specific functionality to allocate a new accessible object. | |
54 * <p> | |
55 * <b>IMPORTANT:</b> This method is <em>not</em> part of the public | |
56 * API for <code>Accessible</code>. It is marked public only so that it | |
57 * can be shared within the packages provided by SWT. It is not | |
58 * available on all platforms, and should never be called from | |
59 * application code. | |
60 * </p> | |
61 * | |
62 * @param control the control to get the accessible object for | |
63 * @return the platform specific accessible object | |
64 */ | |
65 public static Accessible internal_new_Accessible(Control control) { | |
66 return new Accessible(control); | |
67 } | |
51 | 68 |
52 /** | 69 /** |
53 * Adds the listener to the collection of listeners who will | 70 * Adds the listener to the collection of listeners who will |
54 * be notified when an accessible client asks for certain strings, | 71 * be notified when an accessible client asks for certain strings, |
55 * such as name, description, help, or keyboard shortcut. The | 72 * such as name, description, help, or keyboard shortcut. The |