FLTK logo

Re: [fltk.general] Re: Handling composed key for international text

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

Re: Re: Handling composed key for international text Manolo 23:55 Aug 22  
 
Wait a minute. I'm getting confused here. Vulkan is not a full new FLTK platform.
It replaces what EGL does for the Wayland platform and runs inside a Wayland client.

Thus, Wayland will call wl_keyboard_key() at each keystroke. That function will compute
Fl::e_text and send FL_KEYBOARD events to your widget. It's your widget's job to draw 
the utf8 text received in Fl::event_text() adequately.

So, yes, all your widget has to do is follow what the documentation of functions
Fl::compose(), Fl::compose_reset(), fl_set_spot() and fl_reset_spot() say.


--
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 visit https://groups.google.com/d/msgid/fltkgeneral/0c5a01a4-bfb4-4897-873c-6fac8a27183fn%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-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.