ags(apps-window): add placeholder text to search entry

This commit is contained in:
retrozinndev
2025-04-21 18:11:02 -03:00
parent e04bb9150a
commit a743715a84
+1
View File
@@ -27,6 +27,7 @@ export const AppsWindow = (mon: number): (Widget.Window) => {
const entry = new Widget.Entry({ const entry = new Widget.Entry({
className: "entry", className: "entry",
halign: Gtk.Align.CENTER, halign: Gtk.Align.CENTER,
placeholderText: "Start typing...",
primary_icon_name: "system-search", primary_icon_name: "system-search",
onChanged: (entry) => searchString.set(entry.text), onChanged: (entry) => searchString.set(entry.text),
onActivate: () => flowbox.get_selected_children()?.[0]?.get_child()?.activate() onActivate: () => flowbox.get_selected_children()?.[0]?.get_child()?.activate()