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

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

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

Spinner.gtk_adjustment_get介绍

暂无

代码示例

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

int /*long*/ hAdjustment = OS.gtk_spin_button_get_adjustment (handle);
GtkAdjustment adjustment = new GtkAdjustment ();
gtk_adjustment_get (hAdjustment, adjustment);
int diff = Math.abs (value - digits);
int factor = 1;

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

long /*int*/ hAdjustment = OS.gtk_spin_button_get_adjustment (handle);
GtkAdjustment adjustment = new GtkAdjustment ();
gtk_adjustment_get (hAdjustment, adjustment);
int diff = Math.abs (value - digits);
int factor = 1;

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

int /*long*/ hAdjustment = OS.gtk_spin_button_get_adjustment (handle);
GtkAdjustment adjustment = new GtkAdjustment ();
gtk_adjustment_get (hAdjustment, adjustment);
int diff = Math.abs (value - digits);
int factor = 1;

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

int /*long*/ hAdjustment = OS.gtk_spin_button_get_adjustment (handle);
GtkAdjustment adjustment = new GtkAdjustment ();
gtk_adjustment_get (hAdjustment, adjustment);
if (value != adjustment.value && adjustment.lower <= value && value <= adjustment.upper) {
  OS.gtk_spin_button_update (handle);

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

int /*long*/ hAdjustment = OS.gtk_spin_button_get_adjustment (handle);
GtkAdjustment adjustment = new GtkAdjustment ();
gtk_adjustment_get (hAdjustment, adjustment);
if (value != adjustment.value && adjustment.lower <= value && value <= adjustment.upper) {
  OS.gtk_spin_button_update (handle);

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

long /*int*/ hAdjustment = OS.gtk_spin_button_get_adjustment (handle);
GtkAdjustment adjustment = new GtkAdjustment ();
gtk_adjustment_get (hAdjustment, adjustment);
if (value != adjustment.value && adjustment.lower <= value && value <= adjustment.upper) {
  OS.gtk_spin_button_update (handle);

相关文章