Re: GtkDrawingArea size
- From: Christopher Howard <christopher howard frigidcode com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkDrawingArea size
- Date: Wed, 07 Mar 2012 09:44:15 -0900
On 03/06/2012 02:08 PM, Christopher Howard wrote:
Hello again. So, I recently started a project to create a certain board
game (in C) using gtk+, and I just started learning gtk+. I was planning
to draw the board graphics, pieces, etc. all into one GtkDrawingArea.
So, how do I fix the size of the drawing area so it doesn't get larger
or smaller than my graphics?
The alternative, I suppose, would be to scale everything against the
actual size of the drawing area (cairo can resize bitmap images, no?)
but presumably that would be a lot more complicated to code, and I would
still need to constrain the proportions of width to height.
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
I'm trying to look through some other projects to see how this is done,
but I would appreciate it if anyone happens to know of the top of their
] [Thread Prev