Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Create ViewBuilder struct #106

@TomSteu

Description

@TomSteu

In the main crate of gtk-rs, most widgets have a builder struct such as:

let builder = gtk::TextViewBuilder::new();
/* ... setup  */
let text_view = builder.build();

which are missing in the sourceview crate alltogether. This is horribly inconsistent. The builders appear (to me) to be auto-generated, would it be possible to provide such structs in the next release?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions