Mercurial > projects > dwt-linux
comparison dwt/widgets/Control.d @ 27:ffa3c27c4328
Display
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 09 Jan 2008 01:08:22 +0100 |
parents | 09f5459a5014 |
children | 5e5d1c9cffdb |
comparison
equal
deleted
inserted
replaced
26:09f5459a5014 | 27:ffa3c27c4328 |
---|---|
11 module dwt.widgets.Control; | 11 module dwt.widgets.Control; |
12 | 12 |
13 import dwt.internal.gtk.c.gtktypes; | 13 import dwt.internal.gtk.c.gtktypes; |
14 import dwt.widgets.Widget; | 14 import dwt.widgets.Widget; |
15 import dwt.widgets.Shell; | 15 import dwt.widgets.Shell; |
16 import dwt.graphics.Point; | |
16 | 17 |
17 class Control : Widget { | 18 class Control : Widget { |
18 GdkWindow* paintWindow () { return null; }; | 19 GdkWindow* paintWindow () { return null; }; |
19 public Shell getShell(); | 20 public Shell getShell(); |
20 bool isEnabled(); | 21 bool isEnabled(); |
22 bool isDisposed(); | |
23 GdkWindow* eventWindow (); | |
24 GtkIMContext * imHandle(); | |
25 Control findBackgroundControl (); | |
26 GdkColor* getBackgroundColor () ; | |
27 GdkColor* getForegroundColor () ; | |
28 PangoFontDescription* getFontDescription (); | |
29 public Point toDisplay (int x, int y); | |
30 public Point toDisplay (Point point) ; | |
31 Point getIMCaretPos () ; | |
21 } | 32 } |
22 /+++ | 33 /+++ |
23 import dwt.*; | 34 import dwt.*; |
24 import dwt.internal.Converter; | 35 import dwt.internal.Converter; |
25 import dwt.internal.accessibility.gtk.ATK; | 36 import dwt.internal.accessibility.gtk.ATK; |