在Cocoa中创建信息性弹出窗口/工具提示 [英] Create informational popup / tooltip in Cocoa

查看:70
本文介绍了在Cocoa中创建信息性弹出窗口/工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题标题有点含糊,但我真的不知道这叫什么.

The question title is kind of vague, but I really don't know what the thing is called.

我正在尝试创建那些黄色的信息弹出窗口之一.任何人都可以告诉我它们的名字以及如何创建它们?

I am trying to create one of those yellow informational popup things. Anyone can tell me what they're called and how I can create them?

推荐答案

这称为工具提示.您可以使用setToolTip:为任何NSView设置工具提示.

That's called a tool tip. You can set the tool tip for any NSView using setToolTip:.

这篇关于在Cocoa中创建信息性弹出窗口/工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆