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.

gobject_sys::g_signal_handlers_block_matched() unusable? #52

Open
@hasufell

Description

@hasufell

I see no useful way to invoke gobject_sys::g_signal_handlers_block_matched().

pub fn g_signal_handlers_block_matched(
    instance: *mut GObject,
    mask: GSignalMatchType,
    signal_id: c_uint,
    detail: glib::GQuark,
    closure: *mut GClosure,
    func: gpointer,
    data: gpointer,
) -> c_uint;

The gnome documentation suggest I either need G_SIGNAL_MATCH_CLOSURE, G_SIGNAL_MATCH_FUNC or G_SIGNAL_MATCH_DATA as GSignalMatchType for any match to occur.

I don't see any way to provide either of those information, because of the way the gtk bindings connect to signals, utilizing rust closures I have no access to:

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