Closed ishankhare07 closed 9 years ago
Yes that's exactly what i wanted, thanks a lot! I'm sorry on my part, I didn't see that search was case sensitive
No problem, thanks for the report.
can you provide details of what arguments (**kwargs) are given to the constructor, or some other way. basically I want to bind a GtkSource.View to the Completer, if I do:
completer = GtkSource.Completion()
completer.props.view = builder.get_object('my_source_view')
I get get an error :
Warning: g_object_set_property: construct property "view" for object 'GtkSourceCompletion' can't be set after construction
I figured it out myself
completer = GtkSource.Completion(view=builder.get_object('my_source_view'))
Yeah. If you look at the property list: https://lazka.github.io/pgi-docs/#GtkSource-3.0/classes/Completion.html#properties the flags column contains r/w/c, "c" in this case means it can only be set during construction.
The **kargs
of each GObject.Object subclass takes property keys and values.
where is the documentation for GtkSource
also i cannot find any documentation for
gi.repository
correct me if I'm missing something