究竟是什么定义了“小部件"? [英] What exactly defines a "widget"?

查看:24
本文介绍了究竟是什么定义了“小部件"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到小部件被用作一个相当专业的术语,W3C 对此有规范.但维基百科说,小部件只是一段可以以不同方式重用的代码.SE 对小部件标签的定义不符合这些描述中的任何一个.那么什么是小部件?

I've seen widget used like a rather technical term, and the W3C has specifications for it. But Wikipedia says that a widget is just a piece of code that can be re-used in different ways. SE's definition for the widget tag doesn't fit either of those descriptions. What's a widget then?

推荐答案

我想这取决于上下文.在 Android 上,小部件是可以从主屏幕与之交互的应用程序.在我的工作中,您可以将小部件添加到您的个性化 Intranet 主页.但是还有软件应用方面,通常说是衡量应用程序的大小.所以它有多重含义:一个专门用于单一用途/应用程序的通常较小的 GUI 元素,或作为一个整体的小型应用程序.

I guess it depends on the context. On Android, a widget is an application that can be interacted with from the home screen. At my job, you can add widgets to your personalized intranet home page. But there's also the software application aspect, usually said to give a measure of the size of the application. So it has multiple meanings: a generally small GUI element devoted to a single purpose/application, or a small application as a whole.

哈哈,如果您将鼠标悬停在widget"标签上,它会显示类似的内容.也许有人应该扩展标签描述.

Haha, and if you mouse-over the "widget" tag, it says something similar. Perhaps someone should expand the tag description.

这篇关于究竟是什么定义了“小部件"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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