I create a window ,but it can't be dragged. This is my code:
Window.WindowStyle style=new Window.WindowStyle();
style.titleFont=Context.assetMng.get("data/font/chinese.fnt", BitmapFont.class);
style.titleFontColor=Color.WHITE;
style.background=new NinePatchDrawable(new NinePatch(Context.assetMng.get("data/images/surface/window.png",Texture.class)));
bag=new Window("1111", style);
bag.padTop(10);
Can someone tell me the problem?