Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • libadwaita libadwaita
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 159
    • Issues 159
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • libadwaitalibadwaita
  • Issues
  • #160
Closed
Open
Issue created May 06, 2021 by Alexander Mikhaylenko@exalmMaintainer

Do we need AdwValueObject?

GTK4 has GtkStringList, which is a lot easier to use than AdwValueObject+GListStore if you have strings. Additionally, GtkDropDown and AdwComboRow special case th GtkStringList and don't require setting an expression to display their items.

Meanwhile, while AdwValueObject is more generic as it works with any GValue, the API strongly looks like "You're supposed to use this with strings" with all the string-oriented helpers, and you have to deal with raw GValues to use any other type.

So, should we remove it and tell people to use GtkStringList instead?

@aplazas

Edited May 06, 2021 by Alexander Mikhaylenko
Assignee
Assign to
Time tracking