Skip to content

Clutter gui kernel - #5645

Closed
vindolin wants to merge 4 commits into
ipython:masterfrom
vindolin:master
Closed

vindolin wants to merge 4 commits into
ipython:masterfrom
vindolin:master

Conversation

@vindolin

Copy link
Copy Markdown

I simply used the GTK3 kernel as a template, made some adjustments and added an example.
It's working, but the key-press and button-press events don't seem to work.
Maybe someone else want to look over it?

…3 gui as a template, button and keypress events seem not to be working though
@takluyver

Copy link
Copy Markdown
Member

I don't think any of us do anything with clutter, so we probably can't do much review.

However, it needs a test exclusion so it doesn't fail when clutter can't be imported - see existing code in IPython.testing.iptest for how to do this.

@vindolin

Copy link
Copy Markdown
Author

I've excluded it from the test, hope I did it right.
I'll try to figure out where/how clutters main loop iteration needs to be called from, over the weekend.
Thanks.

@vindolin vindolin closed this Apr 17, 2014
@takluyver

Copy link
Copy Markdown
Member

Looks like it needs another exclusion in the kernel test section. Did you mean to close this?

By the way, we've been thinking about how to provide an API for these event loop integrations to be maintained outside IPython, because it's code we don't use much ourselves, so we don't really review it or update it. Would you be interested in maintaining the clutter integration as a separate project if we built that API?

@vindolin

Copy link
Copy Markdown
Author

Oh I thought I close it and then reopen it when it's working.
Sure I can try, let me know when you have something I can use.
When do you think that API would be usable?

@takluyver

Copy link
Copy Markdown
Member

We haven't started implementing it yet, but if you're happy to use it, I'll try to have something within the next couple of weeks.

@takluyver

Copy link
Copy Markdown
Member

@vindolin : Take a look at #5666. It's not polished yet, but it should allow the inputhook part of this to be done as an extension.

@minrk minrk added this to the no action milestone May 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants