站内搜索: 请输入搜索关键词
当前页面: 图书首页 > SWT: The Standard Widget Toolkit

2.5 Window System Keys - SWT: The Standard Widget Toolkit

Previous Section  < Day Day Up >  Next Section

2.5 Window System Keys

Keys that are processed by the window system never make it into your program. For example, Alt+F4 on many window systems closes the active window. The window manager invokes the appropriate action, and the key is consumed. The list of system key sequences is not only platform-specific; it is window manager-specific. Because there is no standard window manager API to query and intercept window system keys, there is generally nothing that can be done to prevent this behavior. In any case, overriding system keys is not something your application should do.

    Previous Section  < Day Day Up >  Next Section