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

Publish EventAny under its name #118

Closed
wants to merge 1 commit into from
Closed

Conversation

EPashkin
Copy link
Member

To generate Widget signals map-event and unmap-event in gtk-rs/gtk#339

@gkoz
Copy link
Member

gkoz commented May 13, 2016

A hack like this just to make two signals automatic feels dubious.

@EPashkin
Copy link
Member Author

Then what we do with 2 problem signals now?

@gkoz
Copy link
Member

gkoz commented May 13, 2016

They can live in the manual widget trait, it's there anyway.

@EPashkin
Copy link
Member Author

So only 2 signals in WidgetSignals :(

@EPashkin EPashkin closed this May 13, 2016
@EPashkin EPashkin deleted the event_any branch May 13, 2016 17:09
@gkoz
Copy link
Member

gkoz commented May 13, 2016

I meant WidgetExtManual because I assume we're getting rid of all *Signal traits.

@EPashkin
Copy link
Member Author

Ok that better that restoring it in signals.rs

@vhdirk
Copy link

vhdirk commented Jul 6, 2018

I just bumped into this when generating subclass traits (gtk-rs/gir#604) for Gtk.Widget. Do you think there'd be any way to do this automatically? I am rather opposed to doing stuff manual for the subclassing traits, since they are all injected into the generated code, and not just reused.
I was thinking of introducing a sort of type alias syntax into the gir config file?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants