为什么我的GtkEntry图标工具提示不起作用?

时间:2017-07-23 04:13:36

标签: gtk gjs gtkentry

我在GJS中定义了一个GtkEntry,如下所示:

let myEntry = new Gtk.Entry({
    hexpand: true,
    placeholder_text: "Type here...",
    secondary_icon_name: "dialog-error-symbolic",
    secondary_icon_tooltip_text: "Send...",
    secondary_icon_activatable: true,
    secondary_icon_sensitive: true
});

但是,工具提示永远不会显示。没有错误打印到日志,我已经梳理了属性和函数的文档,我错过了什么?

更新

这是get_icon_at_pos()中的一个已知错误,由::query-tooltip处理程序使用,修复程序已由Daniel Boles在2017-07-31推送upstream

0 个答案:

没有答案