Fl_Input, Cursor blink

32 बार देखा गया
नहीं पढ़े गए पहले मैसेज पर जाएं

Apprentice

नहीं पढ़ी गई,
24 अक्तू॰ 2021, 3:32:41 am24/10/21
ईमेल पाने वाला fltk.general
System: Linux, Slackware64 Current
Compiler: g++
Fltk: v.1.4.0

Good morning everybody!

In Fl_Input Is there any way to make the cursor blink?
I learned to do in the Fl_Text_Editor using show_cursor that does not exist in Fl_Input

Thanks!

Ian MacArthur

नहीं पढ़ी गई,
29 अक्तू॰ 2021, 6:47:46 am29/10/21
ईमेल पाने वाला fltk.general
On Sunday, 24 October 2021 at 08:32:41 UTC+1 Apprentice wrote:

In Fl_Input Is there any way to make the cursor blink?
I learned to do in the Fl_Text_Editor using show_cursor that does not exist in Fl_Input

I don't think so - the Fl_Input widgets typically show a caret rather than a cursor, and the caret glyph is not of the blinking type, as it were...

I suppose you could derive your own widget from Fl_Input and change the draw method to render a blinking cursor rather than a caret, but...

सभी प्रषकों को उत्तर दें
लेखक को उत्तर दें
आगे भेजें
0 नया मैसेज