本文整理了Java中org.eclipse.swt.widgets.Scrollable.paintWindow()
方法的一些代码示例,展示了Scrollable.paintWindow()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Scrollable.paintWindow()
方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Scrollable
类名称:Scrollable
方法名:paintWindow
暂无
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x
@Override
long /*int*/ paintWindow () {
if ((style & SWT.SINGLE) != 0) {
long /*int*/ window = super.paintWindow ();
long /*int*/ children = OS.gdk_window_get_children (window);
if (children != 0) {
/*
* When search or cancel icons are added to Text, those
* icon window(s) are added to the beginning of the list.
* In order to always return the correct window for Text,
* browse to the end of the list.
*/
do {
window = OS.g_list_data (children);
} while ((children = OS.g_list_next (children)) != 0);
}
OS.g_list_free (children);
return window;
}
OS.gtk_widget_realize (handle);
return OS.gtk_text_view_get_window (handle, OS.GTK_TEXT_WINDOW_TEXT);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc
@Override
int /*long*/ paintWindow () {
if ((style & SWT.SINGLE) != 0) {
int /*long*/ window = super.paintWindow ();
int /*long*/ children = OS.gdk_window_get_children (window);
if (children != 0) {
/*
* When search or cancel icons are added to Text, those
* icon window(s) are added to the beginning of the list.
* In order to always return the correct window for Text,
* browse to the end of the list.
*/
do {
window = OS.g_list_data (children);
} while ((children = OS.g_list_next (children)) != 0);
}
OS.g_list_free (children);
return window;
}
OS.gtk_widget_realize (handle);
return OS.gtk_text_view_get_window (handle, OS.GTK_TEXT_WINDOW_TEXT);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc
@Override
int /*long*/ paintWindow () {
if ((style & SWT.SINGLE) != 0) {
int /*long*/ window = super.paintWindow ();
int /*long*/ children = OS.gdk_window_get_children (window);
if (children != 0) {
/*
* When search or cancel icons are added to Text, those
* icon window(s) are added to the beginning of the list.
* In order to always return the correct window for Text,
* browse to the end of the list.
*/
do {
window = OS.g_list_data (children);
} while ((children = OS.g_list_next (children)) != 0);
}
OS.g_list_free (children);
return window;
}
OS.gtk_widget_realize (handle);
return OS.gtk_text_view_get_window (handle, OS.GTK_TEXT_WINDOW_TEXT);
}
内容来源于网络,如有侵权,请联系作者删除!