Mercurial > dwindows
changeset 1076:dbaf1b11c301
Added stub dw_font_set_default() functions for GTK.
After some research I haven't been able to find a way to set the default font for just the running application.
There are APIs for setting it for all applications, but that isn't what I want... so just committing stubs for the moment.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 26 Jun 2011 02:36:23 +0000 |
parents | 3d117071a50b |
children | 34f1d6f5f1c3 |
files | gtk/dw.c gtk3/dw.c |
diffstat | 2 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gtk/dw.c Sun Jun 26 02:07:49 2011 +0000 +++ b/gtk/dw.c Sun Jun 26 02:36:23 2011 +0000 @@ -2842,6 +2842,15 @@ } /* + * Sets the default font used on text based widgets. + * Parameters: + * fontname: Font name in Dynamic Windows format. + */ +void API dw_font_set_default(char *fontname) +{ +} + +/* * Sets the font used by a specified window (widget) handle. * Parameters: * handle: The window (widget) handle.
--- a/gtk3/dw.c Sun Jun 26 02:07:49 2011 +0000 +++ b/gtk3/dw.c Sun Jun 26 02:36:23 2011 +0000 @@ -2501,6 +2501,15 @@ } /* + * Sets the default font used on text based widgets. + * Parameters: + * fontname: Font name in Dynamic Windows format. + */ +void API dw_font_set_default(char *fontname) +{ +} + +/* * Sets the font used by a specified window (widget) handle. * Parameters: * handle: The window (widget) handle.