Skip to content

New and with_type methods as in gtk-rs-core #1384

Open
@ranfdev

Description

@ranfdev

In general, we should provide typed methods when possible and with_type variants.

Example: Widget::ancestor(widget, type) (which currently returns a Option<Widget>) could become Widget::ancestor::<gtk::Label>(widget) and directly return a typed Option<Label>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions