-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optionally initialize a GtkCanvas immediately
This is helpful for precompilation. GtkCanvas was one of the few widgets where being realized was important to calling its functions. With this we can avoid popping up windows during precompilation. This also changes the behavior of the width and height arguments of the GtkCanvas constructor. We now set the "content area" size rather than the initial size of the widget. I think this is more useful because it sets a minimum size for the widget. The initial size can still be set by calling "size_request" on the widget after construction.
- Loading branch information
1 parent
7ff168b
commit ce3d3c5
Showing
3 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters