b7a9b4af03
2004-01-05 Fernando Nasser <fnasser@redhat.com> * java/awt/Choice.java (add): Leave posting of ItemEvents to peer. (insert): Ditto. (remove): Ditto. Also, Check for valid argument. (removeAll): Use peer interface method. * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for native add function. (nativeRemove): New name for native remove function. (getHistory): New native function. (constructor): Generate ItemEvent. (add): Ditto, if selection is changed. (remove): Ditto, ditto. (removeAll): Add implementation. (handleEvent): Remove. Dead code. (choicePostItemEvent): Add comment. * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to... (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add comments and fix condition to change selection. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to... (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add remove all capability. (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function. (item_activate): Add cast to remove compiler warning. From-SVN: r75443 |
||
---|---|---|
.. | ||
gdkfont.h | ||
gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c | ||
gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c | ||
gnu_java_awt_peer_gtk_GdkFontMetrics.c | ||
gnu_java_awt_peer_gtk_GdkGlyphVector.c | ||
gnu_java_awt_peer_gtk_GdkGraphics2D.c | ||
gnu_java_awt_peer_gtk_GdkGraphics.c | ||
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c | ||
gnu_java_awt_peer_gtk_GtkButtonPeer.c | ||
gnu_java_awt_peer_gtk_GtkCanvasPeer.c | ||
gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c | ||
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c | ||
gnu_java_awt_peer_gtk_GtkChoicePeer.c | ||
gnu_java_awt_peer_gtk_GtkClipboard.c | ||
gnu_java_awt_peer_gtk_GtkComponentPeer.c | ||
gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c | ||
gnu_java_awt_peer_gtk_GtkEvents.c | ||
gnu_java_awt_peer_gtk_GtkFileDialogPeer.c | ||
gnu_java_awt_peer_gtk_GtkImagePainter.c | ||
gnu_java_awt_peer_gtk_GtkLabelPeer.c | ||
gnu_java_awt_peer_gtk_GtkListPeer.c | ||
gnu_java_awt_peer_gtk_GtkMainThread.c | ||
gnu_java_awt_peer_gtk_GtkMenuBarPeer.c | ||
gnu_java_awt_peer_gtk_GtkMenuItemPeer.c | ||
gnu_java_awt_peer_gtk_GtkMenuPeer.c | ||
gnu_java_awt_peer_gtk_GtkPanelPeer.c | ||
gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c | ||
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c | ||
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c | ||
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c | ||
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c | ||
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c | ||
gnu_java_awt_peer_gtk_GtkToolkit.c | ||
gnu_java_awt_peer_gtk_GtkWindowPeer.c | ||
gthread-jni.c | ||
gthread-jni.h | ||
gtkcairopeer.h | ||
gtkpeer.h |