> On 11/03/11 17:17, David wrote:
> > It's on the fl_choice message prompt, not menu items.
>
> Oh, I see.. you're talking about fl_choice() [the dialog function],
> whereas I thought you meant the Fl_Choice widget [which has a
> pulldown menu, and doesn't wrap the menu items]
>
>
On 11/03/11 17:17, David wrote:
> It's on the fl_choice message prompt, not menu items.
Oh, I see.. you're talking about fl_choice() [the dialog function],
whereas I thought you meant the Fl_Choice widget [which has a
pulldown menu, and doesn't wrap the menu items]
> On 11/03/11 12:02, David wrote:
> > It would just wrap it like a text editor or word processor would,
> > just like it does now replying to this. You give a width to
> > fl_measure and it wraps as needed (including hardwraps when no white space
> > found).
>
> Sounds like a feature request
On 11/03/11 12:02, David wrote:
> It would just wrap it like a text editor or word processor would,
> just like it does now replying to this. You give a width to
> fl_measure and it wraps as needed (including hardwraps when no white space
> found).
Sounds like a feature request to have multi
On 3 Nov 2011, at 17:14, David wrote:
> I need a popup window that is there for show only, because in the same thread
> I need to do a bunch of work that will take a long time and can't sit in
> message loop. So I create a window, put text on it, show the window, but it
> won't show without f
> On 11/03/11 10:17, David wrote:
> > the trick to get rid of the @ issue worked, but the line is long and
> > fl_choice now shows more but the part it wrapped is long (no spaces in that
> > part) and it's cutting it off instead of wrapping again (hard wrap since no
> > space). Is there a featu
On 11/03/11 10:17, David wrote:
> the trick to get rid of the @ issue worked, but the line is long and
> fl_choice now shows more but the part it wrapped is long (no spaces in that
> part) and it's cutting it off instead of wrapping again (hard wrap since no
> space). Is there a feature to turn
>
> Fl_Window *win=new Fl_Window(x,y,w,h);
> Fl_Box *box=new Fl_Box(x,y,w,h,text);
> win->show();
>
> (need it to show here without waiting too long)
>
> do lots of stuff that takes a long time and can't call wait()
>
> win->hide();
>
> (need it to go away here without waiting too long)
>
> delete
the trick to get rid of the @ issue worked, but the line is long and fl_choice
now shows more but the part it wrapped is long (no spaces in that part) and
it's cutting it off instead of wrapping again (hard wrap since no space). Is
there a feature to turn on complete wrapping so I can throw any
On 11/03/11 09:22, David wrote:
> ..Also, in looking at the function I see:
>
> timeval t;
> t.tv_sec = int(time_to_wait);
> t.tv_usec = int(100 * (time_to_wait-t.tv_sec));
>
> but wouldn't t.tv_usec always be zero.
No, because time_to_wait is a float.
eg. if tim
> On 03.11.2011 17:22, David wrote:
> Difficult to say from your description, please provide an example code,
> so that we can help you better. You should probably use Fl::wait()
> (without an argument, or with 0), and you MUST use a loop.
>
> A good example to see how to terminate the loop is in
>
On 03.11.2011 17:22, David wrote:
> So I want a popup window, I have a window created, text placed on it via
> Fl_Box. but using Fl::wait(0) only shows the window and no text, in a loop,
> same thing, if I change it to one second, then same thing if just once, but
> if put in loop then it shows
So I want a popup window, I have a window created, text placed on it via
Fl_Box. but using Fl::wait(0) only shows the window and no text, in a loop,
same thing, if I change it to one second, then same thing if just once, but if
put in loop then it shows text too. Then it however wait's because
Ian wrote:
> > looks like most of fltk always assumes @ is to be used as
> > special character, even for fl_choice, fl_ask, fl_message,
> > etc.. The problem is that a message box may have anything in
> > it like a @, which can cause it to truncate the message to be
> > displayed. Is there an
> looks like most of fltk always assumes @ is to be used as
> special character, even for fl_choice, fl_ask, fl_message,
> etc.. The problem is that a message box may have anything in
> it like a @, which can cause it to truncate the message to be
> displayed. Is there any way to disable @ a
15 matches
Mail list logo