Rebuilt the call reference based on new set_index_color parms

This commit is contained in:
PySimpleGUI 2023-08-21 17:33:27 -04:00
parent 77ea65b8de
commit 0b6eb6d5b3
2 changed files with 16 additions and 8 deletions

View File

@ -5641,16 +5641,20 @@ Sets the color of a specific item without selecting it
``` ```
set_index_color(index, set_index_color(index,
text_color = None, text_color = None,
background_color = None) background_color = None,
highlight_text_color = None,
highlight_background_color = None)
``` ```
Parameter Descriptions: Parameter Descriptions:
|Type|Name|Meaning| |Type|Name|Meaning|
|--|--|--| |--|--|--|
| int | index | specifies which item to change. index starts at 0 and goes to length of values list minus one | | 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 | text_color | color of the text for this item |
| str | background_color | color of the background 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 ### set_size

View File

@ -5641,16 +5641,20 @@ Sets the color of a specific item without selecting it
``` ```
set_index_color(index, set_index_color(index,
text_color = None, text_color = None,
background_color = None) background_color = None,
highlight_text_color = None,
highlight_background_color = None)
``` ```
Parameter Descriptions: Parameter Descriptions:
|Type|Name|Meaning| |Type|Name|Meaning|
|--|--|--| |--|--|--|
| int | index | specifies which item to change. index starts at 0 and goes to length of values list minus one | | 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 | text_color | color of the text for this item |
| str | background_color | color of the background 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 ### set_size