Parent Directory | Revision Log | Patch
revision 1.19 by mark, Tue Jan 22 22:26:56 2002 UTC | revision 1.20 by tromey, Wed Feb 19 03:50:33 2003 UTC | |
---|---|---|
# | Line 47 public class GtkButtonPeer extends GtkCo | Line 47 public class GtkButtonPeer extends GtkCo |
47 | { | { |
48 | native void create (); | native void create (); |
49 | ||
50 | native void gtkSetFont(String xlfd, int size); | |
51 | ||
52 | public GtkButtonPeer (Button b) | public GtkButtonPeer (Button b) |
53 | { | { |
54 | super (b); | super (b); |
# | Line 86 public class GtkButtonPeer extends GtkCo | Line 88 public class GtkButtonPeer extends GtkCo |
88 | ||
89 | args.add ("label", ((Button)component).getLabel ()); | args.add ("label", ((Button)component).getLabel ()); |
90 | } | } |
91 | ||
92 | public void setFont (Font f) | |
93 | { | |
94 | gtkSetFont(((GtkFontPeer)f.getPeer()).getXLFD(), f.getSize()); | |
95 | } | |
96 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |