如何把一个小部件到其他窗口的前面? 我想提出的timeleft标签在包装盒绘图区的前面
我的代码:
box.SetSizeRequest((int)Math.Floor(size*2.5), size);
box.ExposeEvent += boxExpose;
theMainWindow.winFix.Put(box, x, y);
box.Show();
Pango.FontDescription fontdesc = Pango.FontDescription.FromString("Lucida Console " + (size - 6));
timeLeft.ModifyFont(fontdesc);
timeLeft.SetSizeRequest((int)Math.Floor(size*2.5)-6, size-6);
theMainWindow.winFix.Put(timeLeft, x+3, y+3);
timeLeft.Show();