I guess It's complicated. As a reference I made a minimal gtk program,
which only creates a window with a configure-event handler which prints
the new window size, and goes straight to gtk_main().

In xmonad the configure event handler gets called three times: the first
two times with a size of 200x200 (which is probably a default somewhere
in gtk), the third time with the real window size as determined by
xmonad.

In iup, the configure-event handler is called only once, with a too
small size only.

If at the end of the gtkDialogMapMethod() function I add code to show
the newly created window and jump to gtk_main() straight away, I get an
empty window, but the configure-event handler is called three times,
just as in my reference program.

I'm now in the process of trying to understand the iupgtk_xxxx driver
files to see if I can find any clues what prevents gtk from processing
the configure event handler more then once. I don't expect to get this
done this evening, though :)

* On 2013-12-09 19:15:39 +0100, Antonio Scuri wrote:
 
>  Ok. Thanks.
> 
> Best,
> Scuri
> 
> > -----Original Message-----
> > From: Ico Doornekamp [mailto:[email protected]]
> > Sent: segunda-feira, 9 de dezembro de 2013 16:13
> > To: Antonio Scuri
> > Cc: 'IUP discussion list.'
> > Subject: RE: [Iup-users] split not expanding on tiling window manager
> > (Xmonad)
> > 
> > * On 2013-12-09 19:09:06 +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.
> > 
> > Ok, thanks for looking into this. I know that SDL has a similar problem with
> > this window manager, I have not seen problems with any other toolkit or
> > application in the years I've been using it.
> > 
> > I'll see if I can get iup to build from source and dig around a bit, I 
> > might be
> > able to find more information. I'll report back when I know more.
> > 
> > Thank you,
> > 
> > Ico
> > 
> > --
> > :wq
> > ^X^Cy^K^X^C^C^C^C

-- 
: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