Re: deprecated gtk_cairo_create
- From: rbd <rbd soest hawaii edu>
- To: cecashon aol com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: deprecated gtk_cairo_create
- Date: Fri, 30 Dec 2016 15:21:10 -1000 (HST)
On Fri, 30 Dec 2016, cecashon aol com wrote:
Hi Roger,
Would this be similar to using a GtkLayout and a GtkDrawingArea? If you add
a drawing area to a layout you get draw scrolling and the layout can update
the part of the drawing area shown on the screen even though the drawing
might be on a larger area.
Eric
Hi Eric,
Actually yes, I put my drawing area inside a layout inside a scrolled
window inside a toplevel window. I wouldn't be surprised if there were a
half-dozen better ways to the same end, but I got this to work for me and
I'm stickin' with it 'til it breaks. ;-> The outer layers (layout through
toplevel) actually constitute another principal object type of my toolkit
(a Frame) which is used to encapsulate other non-Canvas objects such as
large dialog panels and textwindows. Seemed like an easy way to make all
of my toplevels downsizable and scrollable.
Roger
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]