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

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

问题描述

我见过像一个相当技术性的术语一样使用小部件,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.

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

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

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

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