get check box in sheet
Dwiki Putrandityo <[email protected]> Mon, 19 Aug 2013 18:35:56 +0800 (SGT)
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
--===============1698785244769939839== Content-Type: multipart/alternative; boundary="1255308993-858847320-1376908556=:2445" --1255308993-858847320-1376908556=:2445 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable hello,=A0=0Aive got sheet with a cell contain check box, every time user ch= eck or uncheck check box, ive got to set some value in other variable,=0Aiv= e try this on linux=0A=0Acheck : Gtk.Check_Button.Gtk_Check_Button;=0A=0A= =0Acheck:=3DGtk.Check_Button.Gtk_Check_Button(Gtk.Extra.Sheet.Get_Widget(Gt= k.Extra.Sheet.Get_Child_At(Sheet =3D> sheet,Row =A0 =3D> row,Col =A0 =3D> c= ol)));=0A=0A=0Aactive:=3DGtk.Check_Button.Get_Active(check);=0A=0A=0Aif act= ive then=0A=0Aticked, do something=0Aelse=0Anot=A0ticked, do something=0Aen= d=0A=0A=0Abut, when im trying in windows, it work only when i thick first r= ow, but failed on other row. it say=A0=0Araised PROGRAM_ERROR : EXCEPTION_A= CCESS_VIOLATION=0A=0A=0Ais there any other way to get status of=A0check box= ??=0A=0Athank you --1255308993-858847320-1376908556=:2445 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ti= mes new roman, new york, times, serif;font-size:12pt"><div style=3D"font-fa= mily: 'times new roman', 'new york', times, serif; font-size: 12pt;">hello,= </div><div style=3D"font-family: 'times new roman', 'new york', times= , serif; font-size: 12pt;">ive got sheet with a cell contain check box, eve= ry time user check or uncheck check box, ive got to set some value in other= variable,</div><div style=3D"font-family: 'times new roman', 'new york', t= imes, serif; font-size: 12pt;">ive try this on linux</div><div><font face= =3D"times new roman, new york, times, serif"><br></font></div><div style=3D= "color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new= york', times, serif; background-color: transparent;"><span style=3D"font-s= tyle: italic;"><font face=3D"times new roman, new york, times, serif">check= : Gtk.Check_Button.Gtk_Check_Button;</font><br></span></div><div style=3D"background-color: transparent;"><font face=3D"times new roman, ne= w york, times, serif" style=3D"font-style: italic;"><br></font></div><div s= tyle=3D"background-color: transparent; color: rgb(0, 0, 0); font-size: 16px= ; font-family: 'times new roman', 'new york', times, serif;"><span style=3D= "font-style: italic;"><font face=3D"times new roman, new york, times, serif= ">check:=3DGtk.Check_Button.Gtk_Check_Button(Gtk.Extra.Sheet.Get_Widget(Gtk= .Extra.Sheet.Get_Child_At(Sheet =3D> sheet,Row =3D> row,Col &n= bsp; =3D> col)));</font><br></span></div><div style=3D"background-color:= transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'Times New= Roman';"><font face=3D"times new roman, new york, times, serif" style=3D"f= ont-style: italic;"><br></font></div><div style=3D"background-color: transp= arent;"><font face=3D"times new roman, new york, times, serif"><span style= =3D"font-style: italic;">active:=3DGtk.Check_Button.Get_Active(check);</spa= n><br></font></div><div style=3D"background-color: transparent; color: rgb(0, 0, 0); font-size: 16= px; font-family: 'times new roman', 'new york', times, serif; font-style: n= ormal;"><font face=3D"times new roman, new york, times, serif"><span style= =3D"font-style: italic;"><br></span></font></div><div style=3D"background-c= olor: transparent;"><font face=3D"times new roman, new york, times, serif">= <span><span style=3D"font-style: italic;">if active then</span><br></span><= /font></div><div style=3D"background-color: transparent; color: rgb(0, 0, 0= ); font-size: 16px; font-family: 'times new roman', 'new york', times, seri= f; font-style: normal;"><font face=3D"times new roman, new york, times, ser= if"><span><span style=3D"font-style: italic;"><span class=3D"Apple-tab-span= " style=3D"white-space:pre">=09</span>ticked, do something</span></span></f= ont></div><div style=3D"background-color: transparent; color: rgb(0, 0, 0);= font-size: 16px; font-family: 'times new roman', 'new york', times, serif;= font-style: normal;"><font face=3D"times new roman, new york, times, serif"><span><spa= n style=3D"font-style: italic;">else</span></span></font></div><div style= =3D"background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; fo= nt-family: 'times new roman', 'new york', times, serif; font-style: italic;= "><font face=3D"times new roman, new york, times, serif"><span><span style= =3D"font-style: italic;"><span class=3D"Apple-tab-span" style=3D"white-spac= e:pre">=09</span>not </span></span></font>ticked, do something</div><d= iv style=3D"background-color: transparent; color: rgb(0, 0, 0); font-size: = 16px; font-family: 'times new roman', 'new york', times, serif; font-style:= italic;"><font face=3D"times new roman, new york, times, serif"><span><spa= n style=3D"font-style: italic;">end</span></span></font></div><div style=3D= "background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-= family: 'times new roman', 'new york', times, serif; font-style: italic;"><= font face=3D"times new roman, new york, times, serif"><span><span style=3D"font-style: italic;"><= br></span></span></font></div><div style=3D"background-color: transparent; = color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new = york', times, serif; font-style: italic;"><font face=3D"times new roman, ne= w york, times, serif"><span><span style=3D"font-style: italic;"><br></span>= </span></font></div><div style=3D"background-color: transparent; color: rgb= (0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', tim= es, serif;">but, when im trying in windows, it work only when i thick first= row, but failed on other row. it say </div><div style=3D"background-c= olor: transparent;"><span style=3D"font-family: 'times new roman', 'new yor= k', times, serif; font-style: italic;">raised PROGRAM_ERROR : EXCEPTION_ACC= ESS_VIOLATION</span><br></div><div style=3D"background-color: transparent; = color: rgb(0, 0, 0); font-size: 16px; font-family: 'Times New Roman'; font-= style: normal;"><br></div><div style=3D"background-color: transparent; color: rgb= (0, 0, 0); font-size: 16px;"><span style=3D"font-family: 'times new roman',= 'new york', times, serif;">is there any other way to get status of </= span><span style=3D"font-family: 'times new roman', 'new york', times, seri= f;">check box??</span></div><div style=3D"background-color: transparent; co= lor: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new yo= rk', times, serif; font-style: normal;"><span style=3D"font-family: 'times = new roman', 'new york', times, serif;"><br></span></div><div style=3D"backg= round-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family= : 'times new roman', 'new york', times, serif; font-style: normal;"><span s= tyle=3D"font-family: 'times new roman', 'new york', times, serif;">thank yo= u</span></div></div></body></html> --1255308993-858847320-1376908556=:2445-- --===============1698785244769939839== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk --===============1698785244769939839== 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 --===============1698785244769939839==--