Parent Directory | Revision Log | Patch
revision 1.16 by fitzsim, Tue Oct 7 21:30:24 2003 UTC | revision 1.17 by fitzsim, Wed Oct 8 23:40:49 2003 UTC | |
---|---|---|
# | Line 48 public class GtkTextAreaPeer extends Gtk | Line 48 public class GtkTextAreaPeer extends Gtk |
48 | { | { |
49 | native void create (int scrollbarVisibility); | native void create (int scrollbarVisibility); |
50 | ||
51 | native void gtkSetFont(String xlfd, int size); | native void gtkSetFont(String name, int style, int size); |
52 | ||
53 | void create () | void create () |
54 | { | { |
# | Line 106 public class GtkTextAreaPeer extends Gtk | Line 106 public class GtkTextAreaPeer extends Gtk |
106 | ||
107 | public void setFont (Font f) | public void setFont (Font f) |
108 | { | { |
109 | gtkSetFont(f.getName(), f.getSize()); | gtkSetFont(f.getName(), f.getStyle(), f.getSize()); |
110 | } | } |
111 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |