Есть ли название для кнопок закрытия, минимизации и восстановления?

41744
beatgammit

Мне кажется, что должно быть общее имя для кнопок закрытия, восстановления и минимизации в строке заголовка в оконных менеджерах. Стало трудно искать ответы, связанные с ними. Я также разработчик, и я буду работать с низкоуровневым менеджером окон в Linux, так что это было бы полезно знать.

Есть ли какой-то общий термин для этого?

Title Bar Buttonsэто лучший термин, который я придумал, но он никоим образом не является официальным. Если это отличается для каждого оконного менеджера, то это также было бы полезно знать. Я не мог найти много поиска вокруг ...

Замечания:

Было бы неплохо узнать термины, используемые всеми платформами: Windows, Mac OS, GNOME, KDE, XFCE и т. Д.

14

4 ответа на вопрос

14
William Hilsum

Going all the way back to the Windows 95 evaluators guide, it simply calls these the Window Buttons.

enter image description here

+1 Полезно знать. Я собираюсь пойти с ответом Даниэля, потому что он более тщательный. beatgammit 13 лет назад 0
13
Daniel Beck

Apple calls them Title Bar Buttons. Note that they're named Close, Minimize and Zoom. These are also the names assigned in the AppleScript accessibility API:

{"close button", "zoom button", "minimize button"} 

It seems Microsoft does not give them a name (anymore?), as they're always listed like the following:

An application window includes elements such as a title bar, a menu bar, the window menu (formerly known as the system menu), the minimize button, the maximize button, the restore button, the close button, a sizing border, a client area, a horizontal scroll bar, and a vertical scroll bar. [...]

The buttons in the upper-right corner affect the size and position of the window. When you click the maximize button, the system enlarges the window to the size of the screen and positions the window, so it covers the entire desktop, minus the taskbar. At the same time, the system replaces the maximize button with the restore button. When you click the restore button, the system restores the window to its previous size and position. When you click the minimize button, the system reduces the window to the size of its taskbar button, positions the window over the taskbar button, and displays the taskbar button in its normal state. To restore the application to its previous size and position, click its taskbar button. When you click the close button, the application exits.

The glossary also does not contain a common term for these buttons.


The GNOME folks call them Window Commands (also here):

Different window commands are appropriate to different types of window. See the description of each particular window type for a list of appropriate window commands. These are the possible window commands:

  • Close
    Closes the window. Always draw this as a button on the window border when relevant to the window type.

  • Maximize
    Causes the window to use all unused screen space.

  • Minimize
    Causes the window to be temporarily hidden. It will continue to appear on the desktop window list.

  • Roll-up/Unroll
    Shows only the title bar of the window, as if it has been "rolled up".

Я думаю, что это то, что я искал. Спасибо! beatgammit 13 лет назад 0
Бьюсь об заклад, одна из причин, почему для них нет общего имени, заключается в том, что они реализованы по-разному. Обратите внимание, что до Windows 95 не было кнопки закрытия. Также обратите внимание, что API для отключения кнопок Max Min является частью GWL_Style. Но звонки на отключение кнопки закрытия идут через системное меню. surfasb 12 лет назад 0
4
Ignacio Vazquez-Abrams

"Window state buttons", although that covers more than just those 3.

Мне интересно, если это больше вопрос программирования? Moab 13 лет назад 0
0
Eagle-Eye

Windows Forms относится к группе из них как к ControlBoxвнутренним.

Похожие вопросы