Project

General

Profile

WDialog position

Added by Ulf Johnsson almost 10 years ago

Hi!

I have a Wt::WDialog that I need to know the position off.

offset() och setOffset() works fine exept for when you move the window by dragging.

When you move a dialog by dragging the offset doesnt seem to be updated ?

How can I get the current position of my WDialog after dragging ?

Best regards,

Ulf Johnsson.


Replies (2)

RE: WDialog position - Added by Koen Deforche almost 10 years ago

Hey,

I don't think there's a way. We would need to add a Signal<int,int,int,int> moved() which provides the current position and size?

You can add a feature request for this.

Or you can try to add it yourself (in WDialog.js and WDialog.C/h), it should be straight forward.

Regards,

koen

RE: WDialog position - Added by Ulf Johnsson almost 10 years ago

I created a feature request:

http://redmine.webtoolkit.eu/issues/3370

Regards,

Ulf.

    (1-2/2)