Re: printing gtktextview and text layout

2008-04-18 Thread Behdad Esfahbod
On Fri, 2008-04-18 at 17:30 +0200, Philippe Rouquier wrote: > > Le mardi 15 avril 2008 à 15:05 -0400, Behdad Esfahbod a écrit : > > On Sat, 2008-04-12 at 11:08 +0200, Philippe Rouquier wrote: > > > > > > Could someone help me with that please? > > > > Just reorder your code to use pango_cairo_s

Re: setting the font of a dialog widget

2008-04-18 Thread jcupitt
Hi Garth, 2008/4/18 Garth's KidStuff <[EMAIL PROTECTED]>: > that's not relevant). If the widget I'm trying to set happens to be a > Gtk::Label, then it works. But other widgets (e.g. Gtk::Frame or > Gtk::Checkbutton) don't and just seem to use their default font no matter > what. For exampl

temporary gtkrc file parsing aka 'sub-themes'

2008-04-18 Thread Brian J. Tarricone
Hey all, I have an app that draws some windows in a special way, and I'm letting it be easily themed separately (rather, on top of) gtk's theming. I'm just using normal gtkrc files for the theming, and calling gtk_rc_parse() when the user changes the theme. The problem is this: if the new the

setting the font of a dialog widget

2008-04-18 Thread Garth's KidStuff
Hi, Thanks in advance. I'd like to set the font size of a general widget in a dialog box as part of the initialization of the dialog. I'm not using Glade -- I'm building the dialog by hand (actually auto-converting from a Windows resource file, but that's not relevant). If the widget I'm trying

Re: printing gtktextview and text layout

2008-04-18 Thread Philippe Rouquier
Le mardi 15 avril 2008 à 15:05 -0400, Behdad Esfahbod a écrit : > On Sat, 2008-04-12 at 11:08 +0200, Philippe Rouquier wrote: > > > > Could someone help me with that please? > > Just reorder your code to use pango_cairo_show_layout() for both display > and print, then make sure you set font opt