-
Notifications
You must be signed in to change notification settings - Fork 17
/
wNim.nim
195 lines (179 loc) · 6.63 KB
/
wNim.nim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
#====================================================================
#
# wNim - Nim's Windows GUI Framework
# Copyright (c) Chen Kai-Hung, Ward
#
#====================================================================
## wNim is Nim's Windows GUI framework.
##
## Reference
## =========
##
## Basic Elements
## --------------
## - `wTypes <wTypes.html>`_
## - `wMacros <wMacros.html>`_
## - `wApp <wApp.html>`_
## - `wImage <wImage.html>`_
## - `wImageList <wImageList.html>`_
## - `wIconImage <wIconImage.html>`_
## - `wResizer <wResizer.html>`_
## - `wResizable <wResizable.html>`_
## - `wAcceleratorTable <wAcceleratorTable.html>`_
## - `wDataObject <wDataObject.html>`_
## - `wPrintData <wPrintData.html>`_
## - `wUtils <wUtils.html>`_
##
## Windows
## -------
## - `wWindow <wWindow.html>`_
## - `wPanel <wPanel.html>`_
## - `wFrame <wFrame.html>`_
## - `wToolTip <wToolTip.html>`_
##
## Menus
## -----
## - `wMenuBar <wMenuBar.html>`_
## - `wMenu <wMenu.html>`_
## - `wMenuItem <wMenuItem.html>`_
## - `wMenuBase <wMenuBase.html>`_
##
## GUI Controls
## ------------
## - `wControl <wControl.html>`_
## - `wStatusBar <wStatusBar.html>`_
## - `wToolBar <wToolBar.html>`_
## - `wButton <wButton.html>`_
## - `wCheckBox <wCheckBox.html>`_
## - `wRadioButton <wRadioButton.html>`_
## - `wStaticBox <wStaticBox.html>`_
## - `wTextCtrl <wTextCtrl.html>`_
## - `wListBox <wListBox.html>`_
## - `wComboBox <wComboBox.html>`_
## - `wCheckComboBox <wCheckComboBox.html>`_
## - `wStaticText <wStaticText.html>`_
## - `wStaticBitmap <wStaticBitmap.html>`_
## - `wStaticLine <wStaticLine.html>`_
## - `wNoteBook <wNoteBook.html>`_
## - `wSpinCtrl <wSpinCtrl.html>`_
## - `wSpinButton <wSpinButton.html>`_
## - `wSlider <wSlider.html>`_
## - `wScrollBar <wScrollBar.html>`_
## - `wGauge <wGauge.html>`_
## - `wCalendarCtrl <wCalendarCtrl.html>`_
## - `wDatePickerCtrl <wDatePickerCtrl.html>`_
## - `wTimePickerCtrl <wTimePickerCtrl.html>`_
## - `wListCtrl <wListCtrl.html>`_
## - `wTreeCtrl <wTreeCtrl.html>`_
## - `wHyperlinkCtrl <wHyperlinkCtrl.html>`_
## - `wSplitter <wSplitter.html>`_
## - `wIpCtrl <wIpCtrl.html>`_
## - `wWebView <wWebView.html>`_
## - `wHotkeyCtrl <wHotkeyCtrl.html>`_
## - `wRebar <wRebar.html>`_
## - `wMenuBarCtrl <wMenuBarCtrl.html>`_
##
## Device Contexts
## ---------------
## - `wDC <wDC.html>`_
## - `wMemoryDC <wMemoryDC.html>`_
## - `wClientDC <wClientDC.html>`_
## - `wWindowDC <wWindowDC.html>`_
## - `wScreenDC <wScreenDC.html>`_
## - `wPaintDC <wPaintDC.html>`_
## - `wPrinterDC <wPrinterDC.html>`_
##
## GDI Objects
## -----------
## - `wGdiObject <wGdiObject.html>`_
## - `wFont <wFont.html>`_
## - `wPen <wPen.html>`_
## - `wBrush <wBrush.html>`_
## - `wBitmap <wBitmap.html>`_
## - `wIcon <wIcon.html>`_
## - `wCursor <wCursor.html>`_
## - `wRegion <wRegion.html>`_
##
## Dialogs
## -------
## - `wDialog <wDialog.html>`_
## - `wMessageDialog <wMessageDialog.html>`_
## - `wDirDialog <wDirDialog.html>`_
## - `wFileDialog <wFileDialog.html>`_
## - `wColorDialog <wColorDialog.html>`_
## - `wFontDialog <wFontDialog.html>`_
## - `wTextEntryDialog <wTextEntryDialog.html>`_
## - `wPasswordEntryDialog <wPasswordEntryDialog.html>`_
## - `wFindReplaceDialog <wFindReplaceDialog.html>`_
## - `wPageSetupDialog <wPageSetupDialog.html>`_
## - `wPrintDialog <wPrintDialog.html>`_
##
## Events
## ------
## - `wEvent <wEvent.html>`_
## - `wMouseEvent <wMouseEvent.html>`_
## - `wKeyEvent <wKeyEvent.html>`_
## - `wSizeEvent <wSizeEvent.html>`_
## - `wMoveEvent <wMoveEvent.html>`_
## - `wContextMenuEvent <wContextMenuEvent.html>`_
## - `wScrollWinEvent <wScrollWinEvent.html>`_
## - `wTrayEvent <wTrayEvent.html>`_
## - `wDragDropEvent <wDragDropEvent.html>`_
## - `wNavigationEvent <wNavigationEvent.html>`_
## - `wSetCursorEvent <wSetCursorEvent.html>`_
## - `wStatusBarEvent <wStatusBarEvent.html>`_
## - `wCommandEvent <wCommandEvent.html>`_
## - `wScrollEvent <wScrollEvent.html>`_
## - `wSpinEvent <wSpinEvent.html>`_
## - `wHyperlinkEvent <wHyperlinkEvent.html>`_
## - `wListEvent <wListEvent.html>`_
## - `wTreeEvent <wTreeEvent.html>`_
## - `wIpEvent <wIpEvent.html>`_
## - `wWebViewEvent <wWebViewEvent.html>`_
## - `wDialogEvent <wDialogEvent.html>`_
## - `wTextLinkEvent <wTextLinkEvent.html>`_
##
## Constants
## ---------
## - `wKeyCodes <wKeyCodes.html>`_
## - `wColors <wColors.html>`_
##
## Autolayout
## ----------
## - `autolayout <autolayout.html>`_
{.experimental.}
when not defined(Nimdoc):
import
wNim/private/[wTypes, wMacros, wApp, wAcceleratorTable, wDataObject, wPrintData,
wIconImage, wImage, wImageList, wEvent, wResizable, wResizer, wWindow,
wPanel, wFrame, wToolTip, wUtils, autolayout],
wNim/private/gdiobjects/[wBitmap, wBrush, wCursor, wFont, wGdiObject, wIcon, wPen, wRegion],
wNim/private/dc/[wDC, wClientDC, wMemoryDC, wPaintDC, wPrinterDC, wScreenDC, wWindowDC],
wNim/private/menu/[wMenu, wMenuBar, wMenuBase, wMenuItem],
wNim/private/controls/[wControl, wButton, wCalendarCtrl, wCheckBox, wCheckComboBox,
wComboBox, wDatePickerCtrl, wGauge, wHotkeyCtrl, wHyperlinkCtrl, wIpCtrl,
wListBox, wListCtrl, wNoteBook, wRadioButton, wRebar, wScrollBar, wSlider,
wSpinButton, wSpinCtrl, wSplitter, wStaticBitmap, wStaticBox, wStaticLine,
wStaticText, wStatusBar, wTextCtrl, wTimePickerCtrl, wToolBar, wTreeCtrl,
wWebView, wMenuBarCtrl],
wNim/private/dialogs/[wColorDialog, wDialog, wDirDialog, wFileDialog, wFindReplaceDialog,
wFontDialog, wMessageDialog, wPageSetupDialog, wPasswordEntryDialog,
wPrintDialog, wTextEntryDialog],
wNim/private/consts/[wColors, wKeyCodes]
export
wTypes, wMacros, wApp, wAcceleratorTable, wDataObject, wPrintData,
wIconImage, wImage, wImageList, wEvent, wResizable, wResizer, wWindow,
wPanel, wFrame, wToolTip, wUtils, autolayout,
wBitmap, wBrush, wCursor, wFont, wGdiObject, wIcon, wPen, wRegion,
wDC, wClientDC, wMemoryDC, wPaintDC, wPrinterDC, wScreenDC, wWindowDC,
wMenu, wMenuBar, wMenuBase, wMenuItem,
wControl, wButton, wCalendarCtrl, wCheckBox, wCheckComboBox,
wComboBox, wDatePickerCtrl, wGauge, wHotkeyCtrl, wHyperlinkCtrl, wIpCtrl,
wListBox, wListCtrl, wNoteBook, wRadioButton, wRebar, wScrollBar, wSlider,
wSpinButton, wSpinCtrl, wSplitter, wStaticBitmap, wStaticBox, wStaticLine,
wStaticText, wStatusBar, wTextCtrl, wTimePickerCtrl, wToolBar, wTreeCtrl,
wWebView, wMenuBarCtrl,
wColorDialog, wDialog, wDirDialog, wFileDialog, wFindReplaceDialog,
wFontDialog, wMessageDialog, wPageSetupDialog, wPasswordEntryDialog,
wPrintDialog, wTextEntryDialog,
wColors, wKeyCodes