[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: gtk2-perl-xs - changing textview fonts
- From: Steven Usdansky <usdanskys rocketmail com>
- To: gtk-perl-list gnome org
- Subject: Re: gtk2-perl-xs - changing textview fonts
- Date: Sat, 26 Apr 2003 05:53:15 -0500
On 25 Apr 2003 21:08:17 -0400
Ross McFarland <rwmcfa1 neces com> scribbled:
> On Fri, 2003-04-25 at 19:33, Steven Usdansky wrote:
> > I just downloaded gtk2-perl-xs from CVS yesterday, hoping to translate one
> > of my old gtk-based C programs into perl, and am at a loss as to how to get
> > a Gtk2::TextView to use a fixed font (Courier 12 would be just fine). I'm a
> > newbie to both perl and gtk2, so any hand-holding would be greatly
> > appreciated.
>
> take a look at Gtk2/examples/calendar.pl
>
> it has code in it that sets the font (as well as popping up a a dialog
> to let you choose/preview the font face and size, etc. the only part
> that has anything to do with fonts is calendar_select_font.
>
> it's a port and perl-ization of the gtk2 examples/calendar.c program.
> it's not 100% complete, but the font related stuff is implemented.
>
> -rm
>
> _______________________________________________
Just what I needed, thanks.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]