Gtk+Extra 2.1.1 Resizing the plotcanvas area
James Scott Jr <[email protected]> Thu, 09 Mar 2006 15:57:30 -0500
| Newsgroups | gmane.comp.scigraphica.devel |
|---|---|
| Message-ID | <[email protected]> |
--=-eIDJH7v9aH44nSROdy1q Content-Type: multipart/alternative; boundary="=-20VcZRe6VDLIHRbfBH/b" --=-20VcZRe6VDLIHRbfBH/b Content-Type: text/plain Content-Transfer-Encoding: 7bit Folks, I am using gtkextra to show a simple line graph with 5 series of data (or lines), loosely based on the testrealtime.c example. The question I have is "How do you automatically resize the plotcanvas area? or is that even possible?" If the parent window is maximized I would like the plot area to adjust its size both up or down. My code structure is as follows: Top_level_window->GtkVbox->GtkEventbox->GtkNotebook->notebook_page->scrolled_window->GtkPlotCanvas->GtkPlot James, ________________________________________________________________________ Registered Linux User #270764 FC4 on Dual AMD 2400+ MPs ;) Author: GkrellFah2 Folding@home Linux Monitor ________________________________________________________________________ --=-20VcZRe6VDLIHRbfBH/b Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2"> </HEAD> <BODY> Folks,<BR> <BR> I am using gtkextra to show a simple line graph with 5 series of data (or lines), loosely based on the testrealtime.c example. <BR> <BR> The question I have is "How do you automatically resize the plotcanvas area? or is that even possible?" If the parent window is maximized I would like the plot area to adjust its size both up or down.<BR> <BR> My code structure is as follows:<BR> <BR> Top_level_window->GtkVbox->GtkEventbox->GtkNotebook->notebook_page->scrolled_window->GtkPlotCanvas->GtkPlot<BR> <BR> <BR> <BR> <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%"> <TR> <TD> <B>James,</B><BR> <HR NOSHADE> <BR> <BR> <I>Registered Linux User #270764</I><BR> FC4 on Dual AMD 2400+ MPs<BR> <IMG SRC="cid:[email protected]" ALIGN="bottom" ALT=";)" BORDER="0"> <A HREF="http://gkrellfah2.sourceforge.net/">Author: GkrellFah2 Folding@home Linux Monitor</A> <BR> <HR NOSHADE> </TD> </TR> </TABLE> </BODY> </HTML> --=-20VcZRe6VDLIHRbfBH/b-- --=-eIDJH7v9aH44nSROdy1q Content-ID: <[email protected]> Content-Disposition: attachment; filename=smiley-4.png Content-Type: image/png; name=smiley-4.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC/UlEQVR42n2Tf2iUdRzHX9/v8zy3 u91ulnO5pXGXUUsK1yIY9ke0CDQiodbQKCOnNieaIkKI/yRhf0QgCeEqViKUYgUOnTE9G5WtjlqB TV1bsnl0tV93u93ux3PP93meb/8sKBNf8P7jw/v9+fz1/sD/iQI7gB7AWdApoGPB+w/ihvnI/bHK bfu2NLF2zUrMcAw8G2d+mIGBi+w/nGE46XQBnTc7cOFAZ+MTO1/bgDBCuIVxnPwIQhgYwXqMQA2q MMahd+O8fWLmAvAkgLGw/MGbOx55fueuF/FKKVRxHF/NIaQFgO+kcQtjgGZ1cwyjOLXiuyG7DuiV QLSx4fat2zvX4dmTeOVphDCwvUqkWcVk2mfDnkGEtPCdLEJabH95CfctN7YBUQk83XNoMUJaTE+M cuT476x9pZfmZ3sI1D7D8fMeP/2a4a3uGaqWt6Ly1zBDdbzadhvAowLomrn0eocqXMeoqCVU+xga E2mYlKb6sSINtG58gzOnTzGf/BR7+hukWUni52u07p04aS5bdudmAN/NURZ3oSe+RBhhhLTQGsqZ BKd7Pic3fhSVGwLAtaeoX2IAPGem02kQJrP5EHJRHYb0CHhZtG+CdtFeiezIO2h3Hu17OI6Dqxzy RR8AadvlXu0WqDSm6O87xkzWx6p+AF/l8N08vmejvRLaV7jKJjNnEwwvJTXtASQk0FecOEsoUs/6 9RuJx8+RGOgjuLgZK7ISzBo8X9L/w1+07RnmnqZ2RpNlrg7lAU4IILrq3sh437GnMCruIFD9IL8M fsvQpUE+OiO4fGWYRVUGhw+2sablIZJXPiN+cYwPT2b4LaUb/mli94Etsfatm5pwi0kisU1Y4RUI IfHsSTQalR/lcuJj/ph0Od8/y9G46gI6/13lrzrW1bTs3RwmEKxGyAp8lWN2rkShpCkrzfU/FYkf 53j/rPM18PjNnqn77jrZ/kJLFasaQ4SDglJZk533GUspvjiXZSTFJ8BL3IIosBv4HlBAGrgKvAc8 fGP4b4kpTGRKdd96AAAAAElFTkSuQmCC --=-eIDJH7v9aH44nSROdy1q-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642