Package: gdk
Function gdk:pango-context-for-screen
Lambda Listgdk:pango-context-for-screen (screen) ArgumentsReturn ValueThe new pango-context instance for screen. Details
Creates a Pango context for the screen. When using GTK, normally you should use the gtk:widget-pango-context
function instead of this function, to get the appropriate Pango context for
the widget you intend to render text onto. The newly created Pango context will have the default font options for the screen. See the cairo:font-options-t API. If these options change it will not be updated. Using the gtk:widget-pango-context function is more convenient if you want to keep a Pango context around and track changes to the screens font rendering settings. | See also |
2024-6-28