search for: setwidth

Displaying 9 results from an estimated 9 matches for "setwidth".

Did you mean: satwidth
2012 Dec 15
1
Could Rstd_Busy do something (src/unix/sys-std.c)?
...nterfaces can change this pointer and, thus, use a different function. I don't plan to create a whole new interface to R, but I maintain a package whose aim is to provide a new feature to R when it's running in a terminal emulator on Unix systems: http://cran.r-project.org/web/packages/setwidth/index.html The package setwidth updates the value of options("width") whenever R receives SIGWINCH signal. The package does not set the value of any interface pointer, but it may make R crash if the terminal emulator is resized while R is busy. I could avoid the crash if I knew that R is...
2006 Feb 08
2
Prototype: Position.clone()
...urce); target = $(target); target.style.position = ''absolute''; var offsets = this.cumulativeOffset(source); target.style.top = offsets[1] + ''px''; target.style.left = offsets[0] + ''px''; target.style.width = source.offsetWidth + ''px''; target.style.height = source.offsetHeight + ''px''; }, clone: function(source, target) { var options = Object.extend({ setLeft: true, setTop: true, setWidth: true, setHeight: true, offsetTop: 0, of...
2006 Jan 06
3
Protoype problem
Hey everybody, I encountered an interesting problem today. Here is what I have: I used the prototype function "Position.clone(src, target)" which actually copies the top, left, offsetWidth and offsetHeight from the src to the target. interestingly, my src-object had a css-styled border of 1px, and a total offsetWidth of 320px. my target-object had the same properties, but once I did the position-clone function, my target-object had a 322px width, because the width AND the border...
2009 Feb 25
1
[PATCH] CompRect more intuitive
Hi, Compiz++ uses CompRegion instead of XRectangle, right? This patch tries to improve CompRect usability *First* I was using CompRect, but I've found that the only way to modify a CompRect is using setGeometry function: void CompOutput::setGeometry (int x1, int x2, int y1, int y2); So I created setX1, setY1, setX2, setY2 functions *Second* As you can see above, setGeometry uses:
2017 Sep 01
3
patch: automatically adjust width option when terminal is resized
On Fri, 1 Sep 2017, Ralf Goertz wrote: > Am Mon, 28 Aug 2017 09:33:31 +0200 > schrieb Ralf Goertz <r_goertz at web.de>: > > > Hello, me again > >> Hi, >> >> I guess there have been discussions about this in the past and from >> what I understood hooking an R-function to facilitate automatic >> adjustment is problematic. So why not doing it
2005 Dec 01
1
Can''t add text to FXCanvas
...#this generates an error #dc.drawText(100,100,"test") #this generates an error end end end def dumpFontDesc(lab,fd) print "fontDesc #{lab} = #{fd.inspect}\n" print "#{fd.face}, #{fd.size},#{fd.weight}," print "#{fd.slant}, #{fd.setwidth},#{fd.encoding}," print "#{fd.flags}\n\n" STDOUT.flush end def create super show(PLACEMENT_SCREEN) end end if __FILE__ == $0 # Construct an application application = FXApp.new("Button", "FoxTest") # Construct the main window PlotterW...
2006 Oct 20
0
[695] trunk/wxruby2/swig/classes/include/wxPen.h: Get/SetStipple not available on GTK
...* stipple ) ; </del><ins>+// not available on GTK +#if defined(__WXMSW__) || defined(__WXMAC__) + void SetStipple(const wxBitmap& stipple ) ; +#endif </ins><span class="cx"> void SetStyle(int style ) ; </span><span class="cx"> void SetWidth(int width ) ; </span><span class="cx"> }; </span></span></pre> </div> </div> </body> </html>
2017 Sep 01
0
patch: automatically adjust width option when terminal is resized
...t is from just a quick look at the sources. > > RStudio does this by default and there is no obvious way, to me at > least, to turn it off, which is unfortunate given the > sink/capture.output issues. > > I made changes to R-devel in r73180 to set width if the you set > options(setWidthOnResize = TRUE). By default this option is not set > and the width option is not changed. We'll see if it causes any > problems. > > Best, > > luke > > >> If *some* consoles already do automatically change the value when >> resized why should an instance of R...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...iles changed, 231 insertions(+), 61 deletions(-) diff --git a/src/flexchart/flexchart.mxml b/src/flexchart/flexchart.mxml index 7a86cd9..d4d097b 100644 --- a/src/flexchart/flexchart.mxml +++ b/src/flexchart/flexchart.mxml @@ -22,6 +22,9 @@ private function myInit():void { + Constants.setWidth(this.stage.stageWidth); + Constants.setHeight(this.stage.stageHeight); + var bus:ApplicationBus = ApplicationBus.instance(); mainChart.height = Constants.height; mainChart.width = Constants.width; @@ -57,6 +60,7 @@ } private function zoomOutSeries(e:Event):void...