Re: alternative to gtk_font_selection_get_font()



murrayc t-online de (Murray Cumming) writes:

> On Sun, 2001-10-14 at 05:02, Havoc Pennington wrote:
> > 
> > murrayc t-online de (Murray Cumming) writes:
> > > gtk_font_selection_get_font() and gtk_font_selection_dialog_get_font()
> > > are deprecated. What should be used instead? The fontname?
> > > 
> > > I notice that most functions that involve GdkFont are deprecated. Is
> > > GdkFont used anywhere anymore?
> > 
> > No, totally deprecated. Pango should be used instead. 
> 
> So gdk_draw_string() and friends are not finished?
> 
> void gdk_draw_string    (GdkDrawable      *drawable,
> 			 GdkFont          *font,
> 			 GdkGC            *gc,
> 			 gint              x,
> 			 gint              y,
> 			 const gchar      *string);

They are finished. Gone. Kaput. Dead. Or at least deprecated.

                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]