Skip to content

Setting colours of cells #59

Answered by Akascape
Jackkkkk494 asked this question in Q&A
Nov 12, 2023 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

@Jackkkkk494 When you insert a value in a cell using .insert method, you can pass fg_color parameter too. Or you can simply set the hover color to the cell using .select(row, column) method.

If you don't want to change any value in a cell but want to only change color:

table.insert(row=row, column=column, value=table.get(row, colomn), fg_color="color_name")

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@aeris07
Comment options

@Akascape
Comment options

Answer selected by Jackkkkk494
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
information Related to docs
3 participants