On 11/10/2016 03:36 PM, Jafar Al-Gharaibeh wrote:
> Steve,
>
> I tried the on my Ubuntu machine:
> procedure main()
>    w := open("resize", "g", "size=400,400")
>    Event(w)
>    WAttrib(w, "size=800,400")
>    Event(w)
>    close(w)
> end
>
> It works as advertised. Want to test it at your end?

That works, but the following version doesn't (where the user can
drag out a new window size):

    procedure main()
        w := open("resize", "g", "size=400,400", "resize=on")
        repeat {
            while Pending(w) do {
                Event(w)
                x := WAttrib(w, "width");
                WAttrib(w, "size="||x||","||x)
                }
           }
        close(w)
    end

-- 
Steve Wampler -- swamp...@noao.edu
The gods that smiled on your birth are now laughing out loud.

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to