FYI [gui] gtk MenuPeer tearoff support

Mark Wielaard mark@klomp.org
Sat Jul 24 04:27:00 GMT 2004


Hi,

I just committed the following patch from our new GNU Classpath hacker
Craig to implement tearoff support for gtk peer AWT menus to the gui
branch.

2004-07-23  Craig Black  <craig.black@aonix.com>

       * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
       (addTearOff): New function.
       * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
       New native method.
       (init): Call addTearOff() when menu.isTearOff().

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tearoff.patch
Type: text/x-patch
Size: 2057 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040724/d1a505d8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040724/d1a505d8/attachment.sig>


More information about the Java-patches mailing list