Using gtk-rs, how do I highlight the entire single line edit?

⚓ rust    📅 2025-05-20    👤 surdeus    👁️ 4      

surdeus

Warning

This post was published 41 days ago. The information described in this article may have changed.

In this line of code:

    let entry = Entry::new();
    entry.set_placeholder_text(Some(&format!("{}", label)));

this will show this:

image

However using nemo or even thunar file managers when selected it shows like this:

image

Not too sure how do I get like some sort of a background color highlight like this when the field is selected?

1 post - 1 participant

Read full topic

🏷️ rust_feed