Skip to content

Extended Window Manager Hints

Extended Window Manager Hints, 일명 NetWM 또는 Net WM 은 창 관리자를위한 X Window System 표준입니다. 전체 데스크탑 환경의 일부인 창 관리자, 유틸리티 및 응용 프로그램 간의 다양한 상호 작용을 정의합니다. 이는 Inter-Client Communication Conventions Manual (ICCCM)의 기능을 기반으로합니다.

_NET_WM_WINDOW_TYPE

_NET_WM_WINDOW_TYPE, ATOM[]/32

창의 기능 유형을 나타내는 원자 목록에 매핑하기 전에 클라이언트가 설정해야합니다. 이 속성은 창 관리자가 창의 장식, 쌓기 위치 및 기타 동작을 결정하는 데 사용해야합니다. 클라이언트는 선호하는 순서대로 창 유형을 지정해야하지만 (첫 번째가 가장 선호 됨) 아래 목록에서 기본 창 유형 원자 중 하나 이상을 포함해야합니다. 이는 확장을 인식하지 않는 창 관리자에 대한 기본 동작을 제공하면서 유형 목록의 확장을 허용하기위한 것입니다.

이 힌트는 컴 포지 팅 관리자가 메뉴, 도구 설명 등에 일관된 장식을 적용 할 수 있도록 재정의-리디렉션 창에 대해서도 설정해야합니다.

Rationale: This hint is intended to replace the MOTIF hints. One of the objections to the MOTIF hints is that they are a purely visual description of the window decoration. By describing the function of the window, the Window Manager can apply consistent decoration and behavior to windows of the same type. Possible examples of behavior include keeping dock/panels on top or allowing pinnable menus / toolbars to only be hidden when another window has focus (NextStep style).

값의 목록

  • _NET_WM_WINDOW_TYPE_DESKTOP, ATOM
  • _NET_WM_WINDOW_TYPE_DOCK, ATOM
  • _NET_WM_WINDOW_TYPE_TOOLBAR, ATOM
  • _NET_WM_WINDOW_TYPE_MENU, ATOM
  • _NET_WM_WINDOW_TYPE_UTILITY, ATOM
  • _NET_WM_WINDOW_TYPE_SPLASH, ATOM
  • _NET_WM_WINDOW_TYPE_DIALOG, ATOM
  • _NET_WM_WINDOW_TYPE_DROPDOWN_MENU, ATOM
  • _NET_WM_WINDOW_TYPE_POPUP_MENU, ATOM
  • _NET_WM_WINDOW_TYPE_TOOLTIP, ATOM
  • _NET_WM_WINDOW_TYPE_NOTIFICATION, ATOM
  • _NET_WM_WINDOW_TYPE_COMBO, ATOM
  • _NET_WM_WINDOW_TYPE_DND, ATOM
  • _NET_WM_WINDOW_TYPE_NORMAL, ATOM

값의 상세 설명

_NET_WM_WINDOW_TYPE_DESKTOP
indicates a desktop feature. This can include a single window containing desktop icons with the same dimensions as the screen, allowing the desktop environment to have full control of the desktop, without the need for proxying root window clicks.
_NET_WM_WINDOW_TYPE_DOCK
indicates a dock or panel feature. Typically a Window Manager would keep such windows on top of all other windows.
_NET_WM_WINDOW_TYPE_TOOLBAR and _NET_WM_WINDOW_TYPE_MENU
indicate toolbar and pinnable menu windows, respectively (i.e. toolbars and menus "torn off" from the main application). Windows of this type may set the WM_TRANSIENT_FOR hint indicating the main application window. Note that the _NET_WM_WINDOW_TYPE_MENU should be set on torn-off managed windows, where _NET_WM_WINDOW_TYPE_DROPDOWN_MENU and _NET_WM_WINDOW_TYPE_POPUP_MENU are typically used on override-redirect windows.
_NET_WM_WINDOW_TYPE_UTILITY
indicates a small persistent utility window, such as a palette or toolbox. It is distinct from type TOOLBAR because it does not correspond to a toolbar torn off from the main application. It's distinct from type DIALOG because it isn't a transient dialog, the user will probably keep it open while they're working. Windows of this type may set the WM_TRANSIENT_FOR hint indicating the main application window.
_NET_WM_WINDOW_TYPE_SPLASH
indicates that the window is a splash screen displayed as an application is starting up.
_NET_WM_WINDOW_TYPE_DIALOG
대화 창임을 나타냅니다.
_NET_WM_WINDOW_TYPE이 설정되지 않은 경우 WM_TRANSIENT_FOR가 설정된 관리 창을이 유형으로 가져와야합니다.
WM_TRANSIENT_FOR를 사용하지만 _NET_WM_WINDOW_TYPE이없는 재정의-리디렉션 창은 _NET_WM_WINDOW_TYPE_NORMAL로 간주되어야합니다.
_NET_WM_WINDOW_TYPE_DROPDOWN_MENU
indicates that the window in question is a dropdown menu, ie., the kind of menu that typically appears when the user clicks on a menubar, as opposed to a popup menu which typically appears when the user right-clicks on an object. This property is typically used on override-redirect windows.
_NET_WM_WINDOW_TYPE_POPUP_MENU
indicates that the window in question is a popup menu, ie., the kind of menu that typically appears when the user right clicks on an object, as opposed to a dropdown menu which typically appears when the user clicks on a menubar. This property is typically used on override-redirect windows.
_NET_WM_WINDOW_TYPE_TOOLTIP
indicates that the window in question is a tooltip, ie., a short piece of explanatory text that typically appear after the mouse cursor hovers over an object for a while. This property is typically used on override-redirect windows.
_NET_WM_WINDOW_TYPE_NOTIFICATION
indicates a notification. An example of a notification would be a bubble appearing with informative text such as "Your laptop is running out of power" etc. This property is typically used on override-redirect windows.
_NET_WM_WINDOW_TYPE_COMBO
should be used on the windows that are popped up by combo boxes. An example is a window that appears below a text field with a list of suggested completions. This property is typically used on override-redirect windows.
_NET_WM_WINDOW_TYPE_DND
indicates that the window is being dragged. Clients should set this hint when the window in question contains a representation of an object being dragged from one place to another. An example would be a window containing an icon that is being dragged from one file manager window to another. This property is typically used on override-redirect windows.
_NET_WM_WINDOW_TYPE_NORMAL
이것이 관리되거나 재정의-리디렉션되는 정상적인 최상위 창임을 나타냅니다.
_NET_WM_WINDOW_TYPEWM_TRANSIENT_FOR 세트가없는 관리 창은이 유형으로 가져와야합니다.
_NET_WM_WINDOW_TYPE이없는 재정의-리디렉션 창은 WM_TRANSIENT_FOR 설정 여부에 관계없이이 유형으로 간주되어야합니다.

See also

Favorite site