X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fchimara-glk.c;h=f5617703c8c169c2349904fe65a0abe1d5adfa6f;hb=c6e78c57fc1b323ec055bfe48c7430515be27d1c;hp=dbd89c2cd5c21567f61e652030f10e83409cd7bc;hpb=ae1a5770d142aa0900f1a4d4c7e7732a38aaafa9;p=rodin%2Fchimara.git diff --git a/libchimara/chimara-glk.c b/libchimara/chimara-glk.c index dbd89c2..f561770 100644 --- a/libchimara/chimara-glk.c +++ b/libchimara/chimara-glk.c @@ -714,7 +714,8 @@ chimara_glk_class_init(ChimaraGlkClass *klass) * * Sets whether the widget is interactive. A Glk widget is normally * interactive, but in non-interactive mode, keyboard and mouse input are - * ignored and the Glk program is controlled by chimara_glk_feed_text(). + * ignored and the Glk program is controlled by + * chimara_glk_feed_char_input() and chimara_glk_feed_line_input(). * More prompts when a lot of text is printed to a text * buffer are also disabled. This is typically used when you wish to control * an interpreter program by feeding it a predefined list of commands. @@ -862,6 +863,9 @@ chimara_glk_get_protect(ChimaraGlk *glk) * @glk: a #ChimaraGlk widget * * Resets the styles for text buffer and text grid windows to their defaults. + * + * This function is not implemented yet. + * */ void chimara_glk_set_css_to_default(ChimaraGlk *glk) @@ -873,8 +877,8 @@ chimara_glk_set_css_to_default(ChimaraGlk *glk) * chimara_glk_set_css_from_file: * @glk: a #ChimaraGlk widget * @filename: path to a CSS file, or %NULL - * @error: location to store a GError, or - * %NULL + * @error: location to store a GError, or %NULL * * Sets the styles for text buffer and text grid windows according to the CSS * file @filename. Note that the styles are set cumulatively on top of whatever @@ -918,12 +922,12 @@ chimara_glk_set_css_from_file(ChimaraGlk *glk, const gchar *filename, GError **e /** * chimara_glk_set_css_from_string: * @glk: a #ChimaraGlk widget - * @filename: a string containing CSS code + * @css: a string containing CSS code * - * Sets the styles for text buffer and text grid windows according to @css. Note - * that the styles are set cumulatively on top of whatever the styles are at the - * time this function is called; to reset the styles to their defaults, use - * chimara_glk_set_css_to_default(). + * Sets the styles for text buffer and text grid windows according to the CSS + * code @css. Note that the styles are set cumulatively on top of whatever the + * styles are at the time this function is called; to reset the styles to their + * defaults, use chimara_glk_set_css_to_default(). */ void chimara_glk_set_css_from_string(ChimaraGlk *glk, const gchar *css) @@ -1028,8 +1032,8 @@ glk_enter(struct StartupData *startup) * class="header">glk.h * @argc: Number of command line arguments in @argv * @argv: Array of command line arguments to pass to the plugin - * @error: location to store a GError, or - * %NULL + * @error: location to store a GError, or %NULL * * Opens a Glk program compiled as a plugin. Sorts out its command line * arguments from #glkunix_arguments, calls its startup function