FLTK logo

[fltk.general] Re: fl_choice

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: fl_choice Ian MacArthur May 19, 2021  
 
On Tuesday, 18 May 2021 at 23:08:13 UTC+1 holm.h... wrote:

Hi,

I use the following code:
     ret = fl_choice("Are you sure you want to quit?", "Cancel", "Quit", NULL);

How can I specify the font-color ?

The colour used for the button text?

I do not think you can, TBH. 
Those helper dialogs form fl_ask are sort of meant as a sort of minimal option: if you want anything even vaguely fancy you are better off making your own dialog window, that you can style to better suit your needs.


 

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c89884c8-9bc9-48b7-a0ac-53663d14d030n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.