Re: [Iup-users] A bag of questions.

2015-08-11 Thread Jörg F. Wittenberger
Am 10.08.2015 um 19:11 schrieb Antonio Scuri: > In the GTK IUP driver what I do is to simply > call gtk_scrolled_window_set_shadow_type when MULTILINE=Yes, > and gtk_entry_set_has_frame when multiline=no. > > It is just that the border support. This could be a behavior depending on > the GTK i

Re: [Iup-users] A bag of questions.

2015-08-10 Thread Antonio Scuri
In the GTK IUP driver what I do is to simply call gtk_scrolled_window_set_shadow_type when MULTILINE=Yes, and gtk_entry_set_has_frame when multiline=no. It is just that the border support. This could be a behavior depending on the GTK installation or theme. You can check the GTK IUP is usin

Re: [Iup-users] A bag of questions.

2015-08-08 Thread Jörg F. Wittenberger
Sorry, I just re-read what I posted here. There is a bug in the picture I attached, while the text of the message is correct: the right single line IupText had border=No - just as the single line text claims. The multiline text in the attached picture above however wrongly claims that both the si

Re: [Iup-users] A bag of questions.

2015-08-07 Thread Jörg F. Wittenberger
Am 07.08.2015 um 23:04 schrieb Milind Gupta: > Multiline is no by default so border worked for the code I sent. Is your > code in lua? Can you send a sample case showing the problem. That will be > the best way to fix it quickly if others can replicate it. It's not in Lua. I'm using the Chicken-b

Re: [Iup-users] A bag of questions.

2015-08-07 Thread Milind Gupta
Multiline is no by default so border worked for the code I sent. Is your code in lua? Can you send a sample case showing the problem. That will be the best way to fix it quickly if others can replicate it. Milind On Aug 7, 2015 1:42 PM, Jörg F. Wittenberger < joerg.wittenber...@softeyes.net> wrote

Re: [Iup-users] A bag of questions.

2015-08-07 Thread Jörg F. Wittenberger
More Info: I've got a text without a border - as I want it. It works for multiline=yes. Seems that only the combination of multiline=No and border=No is not working for me. Am 04.08.2015 um 17:00 schrieb Antonio Scuri: > I just tested BORDER under Windows, GTK2 (Ubuntu 10) and GTK3 (Ubuntu >

Re: [Iup-users] A bag of questions.

2015-08-07 Thread Jörg F. Wittenberger
I just tripple-checked my code, it never tries to change the border after mapping. Only right after creation. Even before requesting multiline=yes - which works. (Debian, gtk2) So the problem must be something else. But how to nail it? /Jörg Am 04.08.2015 um 17:00 schrieb Antonio Scuri: >

Re: [Iup-users] A bag of questions.

2015-08-04 Thread Antonio Scuri
Hi, I just tested BORDER under Windows, GTK2 (Ubuntu 10) and GTK3 (Ubuntu 14). And they all work fine. But notice that border is a creation only attribute, so it must be set before mapping into the native system. The Milind example does that. FITTOCHILDREN=C0 on the other hand, works after

Re: [Iup-users] A bag of questions.

2015-08-04 Thread Jörg F. Wittenberger
Am 04.08.2015 um 04:06 schrieb Milind Gupta: > I didn't understand your requirements fully. But are you trying to achieve > something that the lua program below does: > > --IupDialog Example in IupLua > --Creates a simple dialog. > > require( "iuplua" ) > > vbox = iup.vbox { > iup.hbox{ > iup.la

Re: [Iup-users] A bag of questions.

2015-08-03 Thread Milind Gupta
I didn't understand your requirements fully. But are you trying to achieve something that the lua program below does: --IupDialog Example in IupLua --Creates a simple dialog. require( "iuplua" ) vbox = iup.vbox { iup.hbox{ iup.label {title="Label"}, iup.text { border="NO"; value="This is good";