9011501793
2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com> * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c (native create): Add width parameter. (create): Calculate text entry width based on current font's metrics and number of columns. Set TextField's font if not already set. Call native create. (gtkEntryGetBorderWidth): New native method. (gtkEntryGetSize): Remove method. (getMinimumSize): Call minimumSize. (getPreferredSize): Call preferredSize. (minimumSize): Calculate minimum size based on backing GtkEntry's borders, font metrics and number of columns. (preferredSize): Likewise for preferred size. (get_border_width): New static function. From-SVN: r76228 |
||
---|---|---|
.. | ||
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 |