+static VALUE c_scroll_percent_get (VALUE self)
+{
+ double val;
+
+ GET_OBJ (self, RbContainer, e);
+
+ val = esmart_container_scroll_percent_get (e->real.real);
+
+ return rb_float_new (val);
+}
+
+static VALUE c_scroll_percent_set (VALUE self, VALUE val)
+{
+ GET_OBJ (self, RbContainer, e);
+
+ Check_Type (val, T_FLOAT);
+
+ esmart_container_scroll_percent_set (e->real.real, NUM2DBL (val));
+
+ return Qnil;
+}
+