The OpenD Programming Language

cef_menu_model_t.set_font_list

Sets the font list for the specified |command_id|. If |font_list| is NULL the system font will be used. Returns true (1) on success. The format is "<FONT_FAMILY_LIST>,STYLES <SIZE>", where: - FONT_FAMILY_LIST is a comma-separated list of font family names, - STYLES is an optional space-separated list of style names (case- sensitive "Bold" and "Italic" are supported), and - SIZE is an integer font size in pixels with the suffix "px".

Here are examples of valid font description strings: - "Arial, Helvetica, Bold Italic 14px" - "Arial, 14px"

struct cef_menu_model_t
extern (System)
int function(cef_menu_model_t* self, int command_id, const(cef_string_t)* font_list) nothrow set_font_list;

Meta