Can't find CB to remove

閲覧: 20 回
最初の未読メッセージにスキップ

Dave Jordan

未読、
2021/05/18 8:12:142021/05/18
To: fltkg...@googlegroups.com
i know where this is happening, what if anything should/can i do about it?
create some callbacks so they can be removed?

Fl_Text_Buffer::remove_modify_callback(): Can't find modify CB to remove
Fl_Text_Buffer::remove_predelete_callback(): Can't find pre-delete CB to remove

Dave Jordan

未読、
2021/05/22 6:48:472021/05/22
To: fltkg...@googlegroups.com
the answer is 
set the buffer of the (possibly derived) widget to 0.
like this:
Some_text_editor_class->buffer(0);
Where Some_text_editor_class is either a class
derived from Fl_Text_Editor or perhaps an Fl_Text_Editor itself.
全員に返信
投稿者に返信
転送
新着メール 0 件