Skip to content

Implement an alternative cairo canvas by subclassing GtkWidget#98

Open
jwahlstrand wants to merge 3 commits intomainfrom
jw/newcanvas
Open

Implement an alternative cairo canvas by subclassing GtkWidget#98
jwahlstrand wants to merge 3 commits intomainfrom
jw/newcanvas

Conversation

@jwahlstrand
Copy link
Copy Markdown
Member

This is a possible successor to GtkCanvas that shouldn't be susceptible to #87. It should be a drop-in replacement but needs more testing.

The method for subclassing follows what you do in C to define a new GObject. It currently requires a lot of boilerplate code, much of which could eventually be moved into macros.

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.

1 participant