Re: [Iup-users] Integrating Iup with poll(2) based message loop

2015-07-27 Thread Nodir Temirkhodjaev
Monday, July 27, 2015, 3:07:18 PM, Jörg F. Wittenberger wrote: Am 25.07.2015 um 16:24 schrieb Nodir Temirkhodjaev: The best thing I could hope for would be if I could ask Iup for a file descriptor to listen on. Whenever data is ready to read on this fd, I would know that Iup wants to become

Re: [Iup-users] Integrating Iup with poll(2) based message loop

2015-07-27 Thread Jörg F. Wittenberger
Am 25.07.2015 um 16:24 schrieb Nodir Temirkhodjaev: The best thing I could hope for would be if I could ask Iup for a file descriptor to listen on. Whenever data is ready to read on this fd, I would know that Iup wants to become active and I should call the stepper until it eat up all this

Re: [Iup-users] Integrating Iup with poll(2) based message loop

2015-07-27 Thread Jörg F. Wittenberger
Am 25.07.2015 um 16:02 schrieb Antonio Scuri: Never used poll before, but if you what to block system execution then I suggest you to do it in another thread. I had a look at the Iup code. Seems that supporting such an interface is not as easy as I imagined. IupTimer will not work if the

Re: [Iup-users] Two problems with matrix formatting.

2015-07-27 Thread Jörg F. Wittenberger
Am 25.07.2015 um 16:08 schrieb Antonio Scuri: A) the problem is not alignment, but height of the line. Set the HEIGHTn attribute for the lines that have text with multiple lines. If my understanding the documentation is correct, than not giving of those attributes, I should end up using

Re: [Iup-users] Cocoa question

2015-07-27 Thread Eric Wing
On 7/26/15, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: Take a look at the iupgtk_image.c. The necessary conversions can be copied from there. iupdrvImageCreateImageRaw() and iupdrvImageGetRawData() are opposite functions I doubt that you will be able to reuse code.