Using gtk-rs, how do I highlight the entire single line edit?
⚓ Rust 📅 2025-05-20 👤 surdeus 👁️ 10In this line of code:
let entry = Entry::new();
entry.set_placeholder_text(Some(&format!("{}", label)));
this will show this:
However using nemo or even thunar file managers when selected it shows like this:
![]()
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
🏷️ rust_feed
