Re: TextView
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: TextView
- Date: Sun, 13 Feb 2005 00:10:36 +0100
On Mon, 2005-01-31 at 11:38 -0200, ADIS - C.P.D. wrote:
How can I create a Gtk2::TextView with fixed size?
Since Gtk2::TextView is a Gtk2::Widget, you can use the modify_font()
method on it:
my $desc = Gtk2::Pango::FontDescription -> new("Fixed 12");
$view -> modify_font($desc);
--
HTH,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]