Skip to content

BuilderListItemFactory, using gtkexpression to set the style class #1535

Closed Answered by emmanueltouzery
emmanueltouzery asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, i got it, for GStrv, the type of the property should be Vec<String> instead of String. Then it works just fine.

I got confused by the fact that when you specify the value by hand, you give a single newline-separated string. And I didn't look too closely at the C alias for GStrv, which is a double pointer, and so doesn't explicitely say it contains an array (like it would with a [] marker for instance).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by emmanueltouzery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant