Hi Antonio,

* On 2013-12-09 19:15:39 +0100, Antonio Scuri wrote:
 
> I still have the same impression that that the window initial resize is not
> being forward to the application. Because when it does the contents are
> rearranged accordingly. Don't know how to help you.

The plot thickens, but I'm not familiar enough with the GTK api to find
out much more at this time. I noticed the following: consider this example:

iup.dialog {
    iup.split {
        iup.button { title = "Flip", expand = "yes" },
        iup.button { title = "Flop", expand = "yes" },
    },
}:show()

Running this snippet, the gtk configure-event is called only once, with the
wrong size.

Changing the 'split' into a 'hbox' changes the behaviour, in this case the
configure-event gets called three times, the third time with the proper size.

Does the above make any sense?

-- 
:wq
^X^Cy^K^X^C^C^C^C

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to