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

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

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

Shell.setToolTipText介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
void setToolTipText (Shell shell, String string) {
  shell.setToolTipText (hwndText, string);
  shell.setToolTipText (hwndUpDown, string);
}

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

@Override
void setToolTipText (Shell shell, String newString) {
  if (entryHandle != 0) shell.setToolTipText (entryHandle, newString);
  if (buttonHandle != 0) shell.setToolTipText (buttonHandle, newString);
}

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

void setToolTipText (int /*long*/ tipWidget, String string) {
  setToolTipText (tipWidget, tipWidget, string);
}

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

@Override
void setToolTipText (Shell shell, String newString) {
  if (entryHandle != 0) shell.setToolTipText (entryHandle, newString);
  if (buttonHandle != 0) shell.setToolTipText (buttonHandle, newString);
}

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

@Override
void setToolTipText (Shell shell, String newString) {
  if (entryHandle != 0) shell.setToolTipText (entryHandle, newString);
  if (buttonHandle != 0) shell.setToolTipText (buttonHandle, newString);
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

void setToolTipText (Shell shell, String string) {
  shell.setToolTipText (handle, string);
}

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

void setToolTipText (Shell shell, String newString) {
  shell.setToolTipText (buttonHandle, newString);
}

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

void setToolTipText (Shell shell, String newString) {
  shell.setToolTipText (buttonHandle, newString);
}

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

void setToolTipText (long /*int*/ tipWidget, String string) {
  setToolTipText (tipWidget, tipWidget, string);
}

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

void setToolTipText (Shell shell, String newString) {
  shell.setToolTipText (buttonHandle, newString);
}

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

void setToolTipText (Shell shell, String newString) {
  shell.setToolTipText (buttonHandle, newString);
}

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

void setToolTipText (Shell shell, String newString) {
  shell.setToolTipText (buttonHandle, newString);
}

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

void setToolTipText (Shell shell, String newString) {
  shell.setToolTipText (buttonHandle, newString);
}

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.swt.win32.win32.x86

@Override
void setToolTipText (Shell shell, String string) {
  int /*long*/ hwndText = OS.GetDlgItem (handle, CBID_EDIT);
  int /*long*/ hwndList = OS.GetDlgItem (handle, CBID_LIST);
  if (hwndText != 0) shell.setToolTipText (hwndText, string);
  if (hwndList != 0) shell.setToolTipText (hwndList, string);
  shell.setToolTipText (handle, string);
}

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

void setToolTipText (Shell shell, String newString) {
  long /*int*/ child = OS.gtk_bin_get_child (handle);
  if ((style & SWT.DROP_DOWN) != 0) {
    long /*int*/ list = OS.gtk_container_get_children (child);
    child = OS.g_list_nth_data (list, 0);
    if (arrowHandle != 0) shell.setToolTipText (arrowHandle, newString);
  }
  shell.setToolTipText (child != 0 ? child : handle, newString);
}

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

void setToolTipText (Shell shell, String newString) {
  int /*long*/ child = OS.gtk_bin_get_child (handle);
  if ((style & SWT.DROP_DOWN) != 0) {
    int /*long*/ list = OS.gtk_container_get_children (child);
    child = OS.g_list_nth_data (list, 0);
    if (arrowHandle != 0) shell.setToolTipText (arrowHandle, newString);
  }
  shell.setToolTipText (child != 0 ? child : handle, newString);
}

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

void setToolTipText (Shell shell, String newString) {
  int /*long*/ child = OS.gtk_bin_get_child (handle);
  if ((style & SWT.DROP_DOWN) != 0) {
    int /*long*/ list = OS.gtk_container_get_children (child);
    child = OS.g_list_nth_data (list, 0);
    if (arrowHandle != 0) shell.setToolTipText (arrowHandle, newString);
  }
  shell.setToolTipText (child != 0 ? child : handle, newString);
}

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

@Override
public void setToolTipText (String string) {
  checkWidget();
  super.setToolTipText (string);
  Shell shell = _getShell ();
  ToolItem [] items = getItems ();
  for (int i = 0; i < items.length; i++) {
    String newString = string != null ? null : items [i].toolTipText;
    shell.setToolTipText (items [i].handle, newString);
  }
}

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

@Override
public void setToolTipText (String string) {
  checkWidget();
  super.setToolTipText (string);
  Shell shell = _getShell ();
  ToolItem [] items = getItems ();
  for (int i = 0; i < items.length; i++) {
    String newString = string != null ? null : items [i].toolTipText;
    shell.setToolTipText (items [i].handle, newString);
  }
}

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

@Override
public void setToolTipText (String string) {
  checkWidget();
  super.setToolTipText (string);
  Shell shell = _getShell ();
  ToolItem [] items = getItems ();
  for (int i = 0; i < items.length; i++) {
    String newString = string != null ? null : items [i].toolTipText;
    shell.setToolTipText (items [i].handle, newString);
  }
}

相关文章

微信公众号

最新文章

更多

Shell类方法