added API docs for the less obvious functions. Gracefully handle attempts

2003-11-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpcanvas.c: added API docs for the less obvious
	functions. Gracefully handle attempts to draw on the unrealized
	widget.

	* app/display/gimpdisplayshell-selection.c (selection_draw):
	removed the redundant check for a realized canvas widget.

Also updated API docs.
This commit is contained in:
Sven Neumann
2003-11-11 21:35:50 +00:00
committed by Sven Neumann
parent ed0a346861
commit b219ccb394
12 changed files with 194 additions and 85 deletions

View File

@ -46,6 +46,8 @@ GimpColorButton
gimp_color_button_new
gimp_color_button_set_color
gimp_color_button_get_color
gimp_color_button_set_update
gimp_color_button_get_update
gimp_color_button_has_alpha
gimp_color_button_set_type
<SUBSECTION Standard>
@ -268,6 +270,7 @@ GimpDialog
gimp_dialog_new
gimp_dialog_new_valist
gimp_dialog_add_buttons_valist
gimp_dialog_run
<SUBSECTION Standard>
GIMP_TYPE_DIALOG
GIMP_DIALOG
@ -319,6 +322,7 @@ GIMP_STOCK_RESET
GIMP_STOCK_CLOSE
GIMP_STOCK_MENU_LEFT
GIMP_STOCK_MENU_RIGHT
GIMP_STOCK_MOVE_TO_SCREEN
GIMP_STOCK_INVERT
GIMP_STOCK_LAYER_TO_IMAGESIZE
GIMP_STOCK_MERGE_DOWN

View File

@ -64,6 +64,24 @@ color, the "color_changed" signal is emitted.
@gcb:
<!-- ##### FUNCTION gimp_color_button_set_update ##### -->
<para>
</para>
@button:
@continuous:
<!-- ##### FUNCTION gimp_color_button_get_update ##### -->
<para>
</para>
@button:
@Returns:
<!-- ##### FUNCTION gimp_color_button_has_alpha ##### -->
<para>

View File

@ -67,3 +67,12 @@ dialog-related stuff.
@args:
<!-- ##### FUNCTION gimp_dialog_run ##### -->
<para>
</para>
@dialog:
@Returns:

View File

@ -73,6 +73,14 @@ the ones in dialog size).
<!-- ##### MACRO GIMP_STOCK_MOVE_TO_SCREEN ##### -->
<para>
<inlinegraphic fileref="stock-move-to-screen-24.png" format="png"></inlinegraphic>
<inlinegraphic fileref="stock-move-to-screen-16.png" format="png"></inlinegraphic>
</para>
<!-- ##### MACRO GIMP_STOCK_INVERT ##### -->
<para>
<inlinegraphic fileref="stock-invert-16.png" format="png"></inlinegraphic>