org.eclipse.swt.widgets.Shell.gtk_new()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(117)

本文整理了Java中org.eclipse.swt.widgets.Shell.gtk_new()方法的一些代码示例,展示了Shell.gtk_new()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Shell.gtk_new()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Shell
类名称:Shell
方法名:gtk_new

Shell.gtk_new介绍

[英]Invokes platform specific functionality to allocate a new shell that is embedded.

IMPORTANT: This method is not part of the public API for Shell. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code.
[中]调用特定于平台的功能来分配嵌入的新shell。
重要提示:此方法不是[$0$]的公共API的部分。它被标记为public,以便在SWT提供的包中共享。它并不是在所有平台上都可用,也不应该从应用程序代码中调用。

代码示例

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

final Shell shell = Shell.gtk_new (display, handle);
final ComponentListener listener = new ComponentAdapter () {
  @Override

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

final Shell shell = Shell.gtk_new (display, handle);
final ComponentListener listener = new ComponentAdapter () {
  @Override

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

final Shell shell = Shell.gtk_new (display, handle);
final ComponentListener listener = new ComponentAdapter () {
  @Override

相关文章

微信公众号

最新文章

更多

Shell类方法