diff --git a/IPython/html/widgets/widget_button.py b/IPython/html/widgets/widget_button.py
index bcb2d0e..793ae6f 100644
--- a/IPython/html/widgets/widget_button.py
+++ b/IPython/html/widgets/widget_button.py
@@ -18,7 +18,7 @@ import inspect
import types
from .widget import DOMWidget
-from IPython.utils.traitlets import Unicode, Bool, Int
+from IPython.utils.traitlets import Unicode, Bool
#-----------------------------------------------------------------------------
# Classes
diff --git a/IPython/html/widgets/widget_float.py b/IPython/html/widgets/widget_float.py
index 4979e34..144269c 100644
--- a/IPython/html/widgets/widget_float.py
+++ b/IPython/html/widgets/widget_float.py
@@ -14,7 +14,7 @@ Represents an unbounded float using a widget.
# Imports
#-----------------------------------------------------------------------------
from .widget import DOMWidget
-from IPython.utils.traitlets import Unicode, Float, Bool, List
+from IPython.utils.traitlets import Unicode, CFloat, Bool, List
#-----------------------------------------------------------------------------
# Classes
@@ -23,6 +23,6 @@ class FloatTextWidget(DOMWidget):
view_name = Unicode('FloatTextView', sync=True)
# Keys
- value = Float(0.0, help="Float value", sync=True)
+ value = CFloat(0.0, help="Float value", sync=True)
disabled = Bool(False, help="Enable or disable user changes", sync=True)
description = Unicode(help="Description of the value this widget represents", sync=True)
diff --git a/IPython/html/widgets/widget_float_range.py b/IPython/html/widgets/widget_float_range.py
index 49a619f..cb78484 100644
--- a/IPython/html/widgets/widget_float_range.py
+++ b/IPython/html/widgets/widget_float_range.py
@@ -14,18 +14,18 @@ Represents a bounded float using a widget.
# Imports
#-----------------------------------------------------------------------------
from .widget import DOMWidget
-from IPython.utils.traitlets import Unicode, Float, Bool, List
+from IPython.utils.traitlets import Unicode, CFloat, Bool, List
#-----------------------------------------------------------------------------
# Classes
#-----------------------------------------------------------------------------
class BoundedFloatTextWidget(DOMWidget):
view_name = Unicode('FloatTextView', sync=True)
- value = Float(0.0, help="Float value", sync=True)
- max = Float(100.0, help="Max value", sync=True)
- min = Float(0.0, help="Min value", sync=True)
+ value = CFloat(0.0, help="Float value", sync=True)
+ max = CFloat(100.0, help="Max value", sync=True)
+ min = CFloat(0.0, help="Min value", sync=True)
disabled = Bool(False, help="Enable or disable user changes", sync=True)
- step = Float(0.1, help="Minimum step that the value can take (ignored by some views)", sync=True)
+ step = CFloat(0.1, help="Minimum step that the value can take (ignored by some views)", sync=True)
description = Unicode(help="Description of the value this widget represents", sync=True)
diff --git a/IPython/html/widgets/widget_int.py b/IPython/html/widgets/widget_int.py
index 104d1fe..2a30071 100644
--- a/IPython/html/widgets/widget_int.py
+++ b/IPython/html/widgets/widget_int.py
@@ -14,7 +14,7 @@ Represents an unbounded int using a widget.
# Imports
#-----------------------------------------------------------------------------
from .widget import DOMWidget
-from IPython.utils.traitlets import Unicode, Int, Bool, List
+from IPython.utils.traitlets import Unicode, CInt, Bool, List
#-----------------------------------------------------------------------------
# Classes
@@ -23,6 +23,6 @@ class IntTextWidget(DOMWidget):
view_name = Unicode('IntTextView', sync=True)
# Keys
- value = Int(0, help="Int value", sync=True)
+ value = CInt(0, help="Int value", sync=True)
disabled = Bool(False, help="Enable or disable user changes", sync=True)
description = Unicode(help="Description of the value this widget represents", sync=True)
diff --git a/IPython/html/widgets/widget_int_range.py b/IPython/html/widgets/widget_int_range.py
index 4f16e4c..2f9a6cb 100644
--- a/IPython/html/widgets/widget_int_range.py
+++ b/IPython/html/widgets/widget_int_range.py
@@ -14,7 +14,7 @@ Represents a bounded int using a widget.
# Imports
#-----------------------------------------------------------------------------
from .widget import DOMWidget
-from IPython.utils.traitlets import Unicode, Int, Bool, List
+from IPython.utils.traitlets import Unicode, CInt, Bool, List
#-----------------------------------------------------------------------------
# Classes
@@ -23,11 +23,11 @@ class BoundedIntTextWidget(DOMWidget):
view_name = Unicode('IntTextView', sync=True)
# Keys
- value = Int(0, help="Int value", sync=True)
- max = Int(100, help="Max value", sync=True)
- min = Int(0, help="Min value", sync=True)
+ value = CInt(0, help="Int value", sync=True)
+ max = CInt(100, help="Max value", sync=True)
+ min = CInt(0, help="Min value", sync=True)
disabled = Bool(False, help="Enable or disable user changes", sync=True)
- step = Int(1, help="Minimum step that the value can take (ignored by some views)", sync=True)
+ step = CInt(1, help="Minimum step that the value can take (ignored by some views)", sync=True)
description = Unicode(help="Description of the value this widget represents", sync=True)
diff --git a/IPython/html/widgets/widget_selectioncontainer.py b/IPython/html/widgets/widget_selectioncontainer.py
index d20dcad..77416db 100644
--- a/IPython/html/widgets/widget_selectioncontainer.py
+++ b/IPython/html/widgets/widget_selectioncontainer.py
@@ -15,7 +15,7 @@ pages.
# Imports
#-----------------------------------------------------------------------------
from .widget import DOMWidget
-from IPython.utils.traitlets import Unicode, Dict, Int, List, Instance
+from IPython.utils.traitlets import Unicode, Dict, CInt, List, Instance
#-----------------------------------------------------------------------------
# Classes
@@ -25,7 +25,7 @@ class AccordionWidget(DOMWidget):
# Keys
_titles = Dict(help="Titles of the pages", sync=True)
- selected_index = Int(0, sync=True)
+ selected_index = CInt(0, sync=True)
children = List(Instance(DOMWidget), sync=True)
diff --git a/IPython/html/widgets/widget_string.py b/IPython/html/widgets/widget_string.py
index b35f479..cb1d377 100644
--- a/IPython/html/widgets/widget_string.py
+++ b/IPython/html/widgets/widget_string.py
@@ -17,7 +17,7 @@ import inspect
import types
from .widget import DOMWidget
-from IPython.utils.traitlets import Unicode, Bool, List, Int
+from IPython.utils.traitlets import Unicode, Bool, List
#-----------------------------------------------------------------------------
# Classes