Images attached to sheet not moveable/sizeable
"oliver" <[email protected]> Fri, 3 Aug 2018 05:16:58 -0400
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <8D542DDEEEDE4550AA76F59E6056DBDF@art64> |
This is a multi-part message in MIME format. --===============1996558353509629004== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01D42AE9.34BC4FD0" This is a multi-part message in MIME format. ------=_NextPart_000_0003_01D42AE9.34BC4FD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi =20 I would like to have images created/pasted into/onto my (GTKExtra) = sheets. I can paste an image from the clipboard and use "attach" or "put" to get there, though I first put the image inside an event-box and attach that. =20 However, once there, the "image/plot" is "fixed" in "location and size" = etc. =20 I can implement the same bit as in the testgtksheet example with = gtk_curve, but that pasted "image" is also in a fixed place and of fixed size. =20 Rather, I would like the "image" to be as one might find "charts" in = Excel. That is, they are "truly floating/sizeable" etc. on a given sheet etc (though for now I could live with just "images" coming in as PixBuf's) =20 I have played around with the testimage.c example. That seems to have = the features I am looking for, but I want the "moveable/sizeable" plot to be = as an item attached to a sheet, rather than, apparently one layer of a = canvas on top of another layer of a canvas. I can't figure out how to use "canvas's" in the way I would like. Also, the "plot" s/r's seem to be PixMap oriented, where as some of the image data arrives as PixBuf (and = I have not found a suitable "converter"). =20 Any assistance or pointing in the right direction would be appreciated, again for now just attach/put an image that is sizeable/moveable etc = would be sufficient (cf. a full plotting structure etc). =20 Cheers =20 DrO ------=_NextPart_000_0003_01D42AE9.34BC4FD0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <TITLE>Message</TITLE> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.23562"></HEAD> <BODY> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial>Hi</FONT></SPAN></DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial></FONT></SPAN> </DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2 = face=3DArial>I=20 would like to have images created/pasted into/onto my (GTKExtra) = sheets. I=20 can paste an image from the clipboard and use "attach" or "put" to get = there,=20 though I first put the image inside an event-box and attach=20 that.</FONT></SPAN></DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial></FONT></SPAN> </DIV> <DIV><SPAN class=3D484545008-03082018> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial>However, once there, the "image/plot" is "fixed" in = "location and=20 size" etc. </FONT></SPAN></DIV></SPAN></DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial></FONT></SPAN> </DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2 = face=3DArial>I can=20 implement the same bit as in the testgtksheet example with gtk_curve, = but that=20 pasted "image" is also in a fixed place and of fixed=20 size.</FONT></SPAN></DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial></FONT></SPAN> </DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial>Rather, I would like the "image" to be as one might find = "charts" in=20 Excel. That is, they are "truly floating/sizeable" etc. on a given = sheet=20 etc (though for now I could live with just "images" coming in as=20 PixBuf's)</FONT></SPAN></DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial></FONT></SPAN> </DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2 = face=3DArial>I have=20 played around with the testimage.c example. That seems to have the = features I am looking for, but I want the "moveable/sizeable" plot to be = as an=20 item attached to a sheet, rather than, apparently one layer of a = canvas on=20 top of another layer of a canvas. I can't figure out how to = use=20 "canvas's" in the way I would like. Also, the "plot" s/r's = seem to=20 be PixMap oriented, where as some of the image data arrives as = PixBuf (and=20 I have not found a suitable "converter").</FONT></SPAN></DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial></FONT></SPAN> </DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2 = face=3DArial>Any=20 assistance or pointing in the right direction would be appreciated, = again for=20 now just attach/put an image that is sizeable/moveable etc would be = sufficient=20 (cf. a full plotting structure etc).</FONT></SPAN></DIV> <DIV><FONT color=3D#0000ff size=3D2 face=3DArial></FONT> </DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial>Cheers</FONT></SPAN></DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial></FONT></SPAN> </DIV> <DIV><SPAN class=3D484545008-03082018><FONT color=3D#0000ff size=3D2=20 face=3DArial>DrO</FONT></SPAN><FONT color=3D#0000ff size=3D2 = face=3DArial><SPAN=20 class=3D218305711-14122016><SPAN=20 class=3D609584802-23122016></SPAN></SPAN></FONT></DIV></BODY></HTML> ------=_NextPart_000_0003_01D42AE9.34BC4FD0-- --===============1996558353509629004== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============1996558353509629004== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Scigraphica-gtkextra mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra --===============1996558353509629004==--