Add TextField Support #57

Closed
opened 2025-04-17 01:30:45 +02:00 by jj11 · 3 comments

I would to take user input for searching

Describe the solution you'd like

  • I know there's search bar but that's not what i'm looking for
  • Instead if we have textfield I could wrap around with other widgets since my app just wants to do is search more like spotlight

Describe alternatives you've considered

  • At moment none

Additional context

### Is your feature request related to a problem? Please describe. I would to take user input for searching ### Describe the solution you'd like - I know there's search bar but that's not what i'm looking for - Instead if we have textfield I could wrap around with other widgets since my app just wants to do is search more like spotlight ### Describe alternatives you've considered - At moment none ### Additional context -
jj11 added the
enhancement
label 2025-04-17 01:30:45 +02:00
Author

Sorry my bad i guess we have to use searchEntry? The naming is super weird or generic.

Sorry my bad i guess we have to use searchEntry? The naming is super weird or generic.
Author

I was checking out the libadwaita-demo app and saw under styles this below, so wanna ask which widget is this, I wish that this app told which widget they using since the naming is different.

image.png

I was checking out the libadwaita-demo app and saw under styles this below, so wanna ask which widget is this, I wish that this app told which widget they using since the naming is different. ![image.png](/attachments/bcf10865-9d66-4537-9d04-80daa202af85)
Owner

There is GtkSearchEntry for search, and I've just added support for GtkEntry for more generic text fields as well (and there's also AdwEntryRow for similar use cases).

I wish that this app told which widget they using since the naming is different.

You can use the GTK inspector to find the name of widgets in GTK apps.

There is `GtkSearchEntry` for search, and I've just added support for [`GtkEntry`](https://adwaita-swift.aparoksha.dev/documentation/adwaita/entry) for more generic text fields as well (and there's also `AdwEntryRow` for similar use cases). > I wish that this app told which widget they using since the naming is different. You can use the [GTK inspector](https://developer.gnome.org/documentation/tools/inspector.html) to find the name of widgets in GTK apps.
Sign in to join this conversation.
No Milestone
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aparoksha/adwaita-swift#57
No description provided.