From 0b6eb6d5b3c5c2c9cf98c70679b79aef703507d7 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Mon, 21 Aug 2023 17:33:27 -0400 Subject: [PATCH] Rebuilt the call reference based on new set_index_color parms --- docs/call reference.md | 12 ++++++++---- readme_creator/output/call reference.md | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/call reference.md b/docs/call reference.md index 37b27a5b..cc0bd9ef 100644 --- a/docs/call reference.md +++ b/docs/call reference.md @@ -5641,16 +5641,20 @@ Sets the color of a specific item without selecting it ``` set_index_color(index, text_color = None, - background_color = None) + background_color = None, + highlight_text_color = None, + highlight_background_color = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| int | index | specifies which item to change. index starts at 0 and goes to length of values list minus one | -| str | text_color | color of the text for this item | -| str | background_color | color of the background for this item | +| int | index | specifies which item to change. index starts at 0 and goes to length of values list minus one | +| str | text_color | color of the text for this item | +| str | background_color | color of the background for this item | +| str | highlight_text_color | color of the text when this item is selected. | +| str | highlight_background_color | color of the background when this item is selected | ### set_size diff --git a/readme_creator/output/call reference.md b/readme_creator/output/call reference.md index 37b27a5b..cc0bd9ef 100644 --- a/readme_creator/output/call reference.md +++ b/readme_creator/output/call reference.md @@ -5641,16 +5641,20 @@ Sets the color of a specific item without selecting it ``` set_index_color(index, text_color = None, - background_color = None) + background_color = None, + highlight_text_color = None, + highlight_background_color = None) ``` Parameter Descriptions: |Type|Name|Meaning| |--|--|--| -| int | index | specifies which item to change. index starts at 0 and goes to length of values list minus one | -| str | text_color | color of the text for this item | -| str | background_color | color of the background for this item | +| int | index | specifies which item to change. index starts at 0 and goes to length of values list minus one | +| str | text_color | color of the text for this item | +| str | background_color | color of the background for this item | +| str | highlight_text_color | color of the text when this item is selected. | +| str | highlight_background_color | color of the background when this item is selected | ### set_size