Notifies can_write property changed.
If Efl.Io.Writer.can_write is true
there is data to Efl.Io.Writer.write without blocking/error. If Efl.Io.Writer.can_write is false
, Efl.Io.Writer.write would either block or fail.
Note that usually this event is dispatched from inside Efl.Io.Writer.write, thus before it returns.
Since 1.22
can_write,changed: bool;
EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED(Eina_Bool)
static void on_efl_io_writer_event_can_write_changed(void *data, const Efl_Event *event) { Eina_Bool info = event->info; Eo *obj = event->object; Data *d = data; /* event hander code */ } static void setup_event_handler(Eo *obj, Data *d) { efl_event_callback_add(obj, EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, on_efl_io_writer_event_can_write_changed, d); }