summaryrefslogtreecommitdiffstats
path: root/otherlibs/labltk/Widgets.src
diff options
context:
space:
mode:
authorJun FURUSE / 古瀬 淳 <jun.furuse@gmail.com>2004-01-14 18:33:43 +0000
committerJun FURUSE / 古瀬 淳 <jun.furuse@gmail.com>2004-01-14 18:33:43 +0000
commitf1769ec756494af5c619ea43c02633fb8c99cc28 (patch)
treef5b30bace25098a6d52fc4e027243fef4cd6016e /otherlibs/labltk/Widgets.src
parent3640952183d8f9f56e41edeee987fadf901f22ed (diff)
forgive me to introduce a tk8.3 stuff, for Syndex...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6072 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/labltk/Widgets.src')
-rw-r--r--otherlibs/labltk/Widgets.src16
1 files changed, 16 insertions, 0 deletions
diff --git a/otherlibs/labltk/Widgets.src b/otherlibs/labltk/Widgets.src
index e011bbe30..5a34ce8e7 100644
--- a/otherlibs/labltk/Widgets.src
+++ b/otherlibs/labltk/Widgets.src
@@ -186,6 +186,7 @@ type State {
Normal ["normal"]
Active ["active"]
Disabled ["disabled"]
+ Hidden ["hidden"] % introduced in tk8.3, requested for Syndex
}
widget button {
@@ -374,9 +375,24 @@ subtype option(rectangle) {
}
% Text item configuration
+
+##ifndef CAMLTK
+% Only for Labltk. CanvasTextState is unified as State in Camltk
+type CanvasTextState {
+ Normal ["normal"]
+ Disabled ["disabled"]
+ Hidden ["hidden"]
+}
+##endif
+
subtype option(canvastext) {
Anchor FillColor Font Justify
Stipple Tags Text Width
+##ifdef CAMLTK
+ State % introduced in tk8.3, requested for Syndex
+##else
+ CanvasTextState ["-state"; CanvasTextState] % introduced in tk8.3, requested for Syndex
+##endif
}
% Window item configuration