public ClutterSlider(float width, float height) : base()
        {
            //this.IsReactive = true;
            this.SetSize(width, height);

            handle = new ClutterSliderHandle((float)arrow_width * 0.5f + line_width * 2, 0, (float)SliderWidth, (float)Height, 0);
            handle.SliderHasChanged += HandleSliderHasChanged;
            handle.SliderHasMoved   += HandleSliderHasMoved;
            handle.BubbleEvents      = true;
            AddActor(handle);

            outline = new CairoTexture(SliderWidth, (uint)Height);
            AddActor(outline);
            outline.SetAnchorPoint(outline.Width * 0.5f, outline.Height * 0.5f);
            outline.SetPosition(Width * 0.5f, Height * 0.5f);

            arrow_left = new ClutterArrowButton((uint)arrow_width, (uint)arrow_height, 0, 0x03);
            arrow_left.ButtonPressed += HandleLeftArrowButtonPressEvent;
            AddActor(arrow_left);
            arrow_left.SetPosition(0, 0);

            arrow_right = new ClutterArrowButton((uint)arrow_width, (uint)arrow_height, 0, 0x01);
            arrow_right.ButtonPressed += HandleRightArrowButtonPressEvent;
            AddActor(arrow_right);
            arrow_right.SetPosition((float)(Width - arrow_width), 0);

            Update();
            ShowAll();
        }
        public ClutterSlider(float width, float height)
            : base()
        {
            //this.IsReactive = true;
            this.SetSize(width, height);

            handle = new ClutterSliderHandle((float) arrow_width*0.5f + line_width*2, 0, (float) SliderWidth, (float) Height, 0);
            handle.SliderHasChanged += HandleSliderHasChanged;
            handle.SliderHasMoved += HandleSliderHasMoved;
            handle.BubbleEvents = true;
            Add(handle);

            outline = new CairoTexture (SliderWidth, (uint) Height);
            Add(outline);
            outline.SetAnchorPoint (outline.Width*0.5f, outline.Height*0.5f);
            outline.SetPosition (Width*0.5f, Height*0.5f);

            arrow_left = new ClutterArrowButton((uint) arrow_width,(uint) arrow_height, 0, 0x03);
            arrow_left.ButtonPressEvent += HandleLeftArrowButtonPressEvent;
            Add (arrow_left);
            arrow_left.SetPosition (0,0);

            arrow_right = new ClutterArrowButton ((uint) arrow_width,(uint) arrow_height, 0, 0x01);
            arrow_right.ButtonPressEvent += HandleRightArrowButtonPressEvent;
            Add (arrow_right);
            arrow_right.SetPosition ((float) (Width-arrow_width),0);

            Update ();
            ShowAll ();
        }