1 |
/* GtkTextAreaPeer.java -- Implements TextAreaPeer with GTK |
/* GtkTextAreaPeer.java -- Implements TextAreaPeer with GTK |
2 |
Copyright (C) 1998, 1999 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
67 |
|
|
68 |
gtkTextGetSize (rows, cols, dims); |
gtkTextGetSize (rows, cols, dims); |
69 |
|
|
|
System.out.println ("TAP: getMinimumSize " + cols + " = " + dims[0] + |
|
|
" x " + dims[1]); |
|
|
|
|
70 |
return (new Dimension (dims[0], dims[1])); |
return (new Dimension (dims[0], dims[1])); |
71 |
} |
} |
72 |
|
|
76 |
|
|
77 |
gtkTextGetSize (rows, cols, dims); |
gtkTextGetSize (rows, cols, dims); |
78 |
|
|
|
System.out.println ("TAP: getPreferredSize " + cols + " = " + dims[0] + |
|
|
" x " + dims[1]); |
|
|
|
|
79 |
return (new Dimension (dims[0], dims[1])); |
return (new Dimension (dims[0], dims[1])); |
80 |
} |
} |
81 |
|
|