74 |
|
|
75 |
native void connectSignals (); |
native void connectSignals (); |
76 |
|
|
77 |
public native void select (int position); |
native void selectNative (int position); |
78 |
|
native void selectNativeUnlocked (int position); |
79 |
|
|
80 |
|
public void select (int position) |
81 |
|
{ |
82 |
|
if (Thread.currentThread() == GtkToolkit.mainThread) |
83 |
|
selectNativeUnlocked (position); |
84 |
|
else |
85 |
|
selectNative (position); |
86 |
|
} |
87 |
|
|
88 |
public void add (String item, int index) |
public void add (String item, int index) |
89 |
{ |
{ |
90 |
int before = nativeGetSelected(); |
int before = nativeGetSelected(); |