Thread: [Fxruby-commits] CVS: FXRuby/rdoc-sources FXDrawable.rb,NONE,1.1 FXGIFIcon.rb,NONE,1.1 FXIcon.rb,NON
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <ly...@us...> - 2002-03-26 21:36:28
|
Update of /cvsroot/fxruby/FXRuby/rdoc-sources In directory usw-pr-cvs1:/tmp/cvs-serv30952 Modified Files: FX4Splitter.rb FXApp.rb FXButton.rb FXFrame.rb FXLabel.rb FXWindow.rb Added Files: FXDrawable.rb FXGIFIcon.rb FXIcon.rb FXId.rb FXImage.rb FXTooltip.rb Log Message: New and updated RDoc sources. --- NEW FILE: FXDrawable.rb --- module Fox # Drawable is an abstract base class for any surface that can be # drawn upon, such as a FXWindow, or FXImage. class FXDrawable < FXId # Width of drawable def width() ; end # Height of drawable def height() ; end # Get the visual def visual() ; end # Change visual def visual=(vis); end # Resize drawable to the specified width and height def resize(w, h); end end end --- NEW FILE: FXGIFIcon.rb --- module Fox # GIF Icon class class FXGIFIcon < FXIcon # Constructor def initialize(app, pixels=nil, clr=0, opts=0, w=1, h=1) ; end end end --- NEW FILE: FXIcon.rb --- module Fox # Icon class class FXIcon < FXImage # Create an icon with an initial pixel buffer pix, a transparent color clr, # and options as in FXImage. def initialize(app, pixels=nil, clr=0, opts=0, w=1, h=1) ; end # Obtain transparency color def transparentColor() ; end # Change transparency color def transparentColor=(color) ; end end end --- NEW FILE: FXId.rb --- module Fox # Encapsulates server side resource class FXId < FXObject # Get application def app() ; end # Create resource def create(); end # Detach resource def detach(); end # Destroy resource def destroy(); end # Set user data def userData=(data) ; end # Get user data def userData() ; end end end --- NEW FILE: FXImage.rb --- module Fox # Image class # # = Image rendering hints # IMAGE_KEEP:: Keep pixel data in client # IMAGE_OWNED:: Pixel data is owned by image # IMAGE_DITHER:: Dither image to look better # IMAGE_NEAREST:: Turn off dithering and map to nearest color # IMAGE_ALPHA:: Data has alpha channel # IMAGE_OPAQUE:: Force opaque background # IMAGE_ALPHACOLOR:: Override transparancy color # IMAGE_SHMI:: Using shared memory image # IMAGE_SHMP:: Using shared memory pixmap # IMAGE_ALPHAGUESS:: Guess transparency color from corners # class FXImage < FXDrawable # Create an image def initialize(app, pixels=nil, opts=0, w=1, h=1); end # Returns a copy of the pixel data def data() ; end # Return the option flags def options() ; end # Change options def options=(opts) ; end # Return number of channels, RGB or RGBA def channels() ; end # Get pixel at x,y def getPixel(x, y) ; end # Change pixel at x,y def setPixel(x, y, color) ; end # Restore client-side pixel buffer from image def restore() ; end # Render the image from client-side pixel buffer def render() ; end # Rescale pixels image to the specified width and height def scale(w, h) ; end # Mirror image horizontally and/or vertically def mirror(horizontal, vertical) ; end # Rotate image by degrees ccw def rotate(degrees) ; end # Crop image to given rectangle def crop(x, y, w, h) ; end # Save pixel data to an FXStream def savePixels(store) ; end # Load pixel data from an FXStream def loadPixels(store) ; end end end --- NEW FILE: FXTooltip.rb --- module Fox # Hopefully Helpful Hint message # # = Tooltip styles # TOOLTIP_PERMANENT:: Tooltip stays up indefinitely # TOOLTIP_VARIABLE:: Tooltip stays up variable time, depending on the length of the string # TOOLTIP_NORMAL:: # # = Message identifiers # # ID_TIP_SHOW:: Show it # ID_TIP_HIDE:: Hide it # class FXTooltip < FXShell # Handles the +SEL_PAINT+ message def onPaint(sender, selector, event); end # Handles the +SEL_UPDATE+ message def onUpdate(sender, selector, ptr); end # Handles the +SEL_COMMAND+ message with identifier +ID_TIP_SHOW+ def onTipShow(sender, selector, ptr); end # Handles the +SEL_COMMAND+ message with identifier +ID_TIP_HIDE+ def onTipHide(sender, selector, ptr); end def onCmdGetStringValue(sender, selector, ptr) ; end def onCmdSetStringValue(sender, selector, string); end # Construct a tool tip def initialize(app, opts=TOOLTIP_NORMAL, x=0, y=0, w=0, h=0); end # Set the text for this tip def text=(text); end # Get the text for this tip def text() ; end # Set the tip text font def font=(font) ; end # Get the tip text font def font() ; end # Get the current tip text color def textColor() ; end # Set the current tip text color def textColor=(color); end end end Index: FX4Splitter.rb =================================================================== RCS file: /cvsroot/fxruby/FXRuby/rdoc-sources/FX4Splitter.rb,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FX4Splitter.rb 7 Feb 2002 16:54:54 -0000 1.2 --- FX4Splitter.rb 26 Mar 2002 21:36:22 -0000 1.3 *************** *** 30,73 **** class FX4Splitter < FXComposite # Get top left child, if any ! def getTopLeft(); end # Get top right child, if any ! def getTopRight(); end # Get bottom left child, if any ! def getBottomLeft(); end # Get bottom right child, if any ! def getBottomRight(); end # Get horizontal split fraction ! def getHSplit(); end # Get vertical split fraction ! def getVSplit(); end # Change horizontal split fraction ! def setHSplit(hSplit); end # Change vertical split fraction ! def setVSplit(vSplit); end # Return current splitter style ! def getSplitterStyle(); end # Change splitter style ! def setSplitterStyle(splitterStyle); end # Change splitter bar width ! def setBarSize(barSize); end # Get splitter bar width ! def getBarSize(); end # Expand child (_expanded_=0, 1, 2 or 3), or restore to 4-way split (_expanded_=-1) ! def setExpanded(expanded); end # Get expanded child, or -1 if not expanded ! def getExpanded(); end # Handles the +SEL_LEFTBUTTONPRESS+ message --- 30,73 ---- class FX4Splitter < FXComposite # Get top left child, if any ! def topLeft(); end # Get top right child, if any ! def topRight(); end # Get bottom left child, if any ! def bottomLeft(); end # Get bottom right child, if any ! def bottomRight(); end # Get horizontal split fraction ! def hSplit(); end # Get vertical split fraction ! def vSplit(); end # Change horizontal split fraction ! def hSplit=(hSplit); end # Change vertical split fraction ! def vSplit=(vSplit); end # Return current splitter style ! def splitterStyle(); end # Change splitter style ! def splitterStyle=(splitterStyle); end # Change splitter bar width ! def barSize=(barSize); end # Get splitter bar width ! def barSize(); end # Expand child (_expanded_=0, 1, 2 or 3), or restore to 4-way split (_expanded_=-1) ! def expanded=(expanded); end # Get expanded child, or -1 if not expanded ! def expanded(); end # Handles the +SEL_LEFTBUTTONPRESS+ message Index: FXApp.rb =================================================================== RCS file: /cvsroot/fxruby/FXRuby/rdoc-sources/FXApp.rb,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FXApp.rb 7 Feb 2002 16:54:54 -0000 1.3 --- FXApp.rb 26 Mar 2002 21:36:23 -0000 1.4 *************** *** 2,27 **** # FOX Event class FXEvent ! attr_accessor :type # Event type ! attr_accessor :time # Time of last event ! attr_accessor :win_x # Window-relative x-coord ! attr_accessor :win_y # Window-relative y-coord ! attr_accessor :root_x # Root x-coord ! attr_accessor :root_y # Root y-coord ! attr_accessor :state # Keyboard/Modifier state ! attr_accessor :code # Button, Keysym, or mode DDE Source ! attr_accessor :text # Text of keyboard event ! attr_accessor :last_x # Window-relative x-coord of previous mouse location ! attr_accessor :last_y # Window-relative y-coord of previous mouse location ! attr_accessor :click_x # Window-relative x-coord of mouse press ! attr_accessor :click_y # Window-relative y-coord of mouse press ! attr_accessor :rootclick_x # Root-relative x-coord of mouse press ! attr_accessor :rootclick_y # Root-relative y-coord of mouse press ! attr_accessor :click_time # Time of mouse button press ! attr_accessor :click_button # Mouse button pressed ! attr_accessor :click_count # Click-count ! attr_accessor :moved # Moved cursor since press ! attr_accessor :rect # Rectangle ! attr_accessor :synthetic # True if synthetic expose event ! attr_accessor :target # Target drag type being requested end --- 2,49 ---- # FOX Event class FXEvent ! # Event type ! def type ; end ! # Time of last event ! def time ; end ! # Window-relative x-coord ! def win_x ; end ! # Window-relative y-coord ! def win_y ; end ! # Root x-coord ! def root_x ; end ! # Root y-coord ! def root_y ; end ! # Keyboard/Modifier state ! def state ; end ! # Button, Keysym, or mode DDE Source ! def code ; end ! # Text of keyboard event ! def text ; end ! # Window-relative x-coord of previous mouse location ! def last_x ; end ! # Window-relative y-coord of previous mouse location ! def last_y ; end ! # Window-relative x-coord of mouse press ! def click_x ; end ! # Window-relative y-coord of mouse press ! def click_y ; end ! # Root-relative x-coord of mouse press ! def rootclick_x ; end ! # Root-relative y-coord of mouse press ! def rootclick_y ; end ! # Time of mouse button press ! def click_time ; end ! # Mouse button pressed ! def click_button ; end ! # Click-count ! def click_count ; end ! # Moved cursor since press ! def moved ; end ! # Exposed rectangle for paint events ! def rect ; end ! # True if synthetic expose event ! def synthetic ; end ! # Target drag type being requested ! def target ; end end *************** *** 90,97 **** # Get application name ! def getAppName() ; end # Get vendor name ! def getVendorName() ; end # Connection to display; this is called by #init --- 112,119 ---- # Get application name ! def appName() ; end # Get vendor name ! def vendorName() ; end # Connection to display; this is called by #init *************** *** 102,124 **** # Get default visual ! def getDefaultVisual() ; end # Change default visual ! def setDefaultVisual(vis) ; end # Get monochrome visual ! def getMonoVisual() ; end # Get root window ! def getRoot() ; end # Get the window under the cursor, if any ! def getCursorWindow() ; end # Get the window which has the focus, if any ! def getFocusWindow() ; end # Get main window, if any ! def getMainWindow() ; end # Add timeout message to be sent to target object in milliseconds; --- 124,146 ---- # Get default visual ! def defaultVisual() ; end # Change default visual ! def defaultVisual=(vis) ; end # Get monochrome visual ! def monoVisual() ; end # Get root window ! def root() ; end # Get the window under the cursor, if any ! def cursorWindow() ; end # Get the window which has the focus, if any ! def focusWindow() ; end # Get main window, if any ! def mainWindow() ; end # Add timeout message to be sent to target object in milliseconds; *************** *** 204,208 **** # True if the window is modal ! def isModal(window) ; end # Return window of current modal loop --- 226,230 ---- # True if the window is modal ! def modal?(window) ; end # Return window of current modal loop *************** *** 262,269 **** # Change default font ! def setNormalFont(font); end # Return default font ! def getNormalFont() ; end # Begin of wait-cursor block; wait-cursor blocks may be nested. --- 284,291 ---- # Change default font ! def normalFont=(font); end # Return default font ! def normalFont() ; end # Begin of wait-cursor block; wait-cursor blocks may be nested. *************** *** 274,281 **** # Change to a new wait cursor ! def setWaitCursor(cur); end # Return current wait cursor ! def getWaitCursor() ; end # Obtain a default cursor --- 296,303 ---- # Change to a new wait cursor ! def waitCursor=(cur); end # Return current wait cursor ! def waitCursor() ; end # Obtain a default cursor *************** *** 286,355 **** # Obtain application-wide settings ! def getTypingSpeed() ; end ! def getClickSpeed() ; end ! def getScrollSpeed() ; end ! def getScrollDelay() ; end ! def getBlinkSpeed() ; end ! def getAnimSpeed() ; end ! def getMenuPause() ; end ! def getTooltipPause() ; end ! def getTooltipTime() ; end ! def getDragDelta() ; end ! def getWheelLines() ; end # Change application-wide settings ! def setTypingSpeed(speed); end ! def setClickSpeed(speed); end ! def setScrollSpeed(speed); end ! def setScrollDelay(delay); end ! def setBlinkSpeed(speed); end ! def setAnimSpeed(speed); end ! def setMenuPause(pause); end ! def setTooltipPause(pause); end ! def setTooltipTime(time); end ! def setDragDelta(delta); end ! def setWheelLines(lines); end # Get default border color ! def getBorderColor() ; end # Get default base color ! def getBaseColor() ; end # Get default hilite color ! def getHiliteColor() ; end # Get default shadow color ! def getShadowColor() ; end # Get default background color ! def getBackColor() ; end # Get default foreground color ! def getForeColor() ; end # Get default selection foreground color ! def getSelforeColor() ; end # Get default selection background color ! def getSelbackColor() ; end # Get default tooltip foreground color ! def getTipforeColor() ; end # Get default tooltip background color ! def getTipbackColor() ; end # Set default border color ! def setBorderColor(color); end # Set default base color ! def setBaseColor(color); end # Set default hilite color ! def setHiliteColor(color); end # Set default shadow color ! def setShadowColor(color); end # Set default background color ! def setBackColor(color); end # Set default foreground color ! def setForeColor(color); end # Set default selection foreground color ! def setSelforeColor(color); end # Set default selection background color ! def setSelbackColor(color); end # Set default tooltip foreground color ! def setTipforeColor(color); end # Set default tooltip background color ! def setTipbackColor(color); end # Dump widget information --- 308,377 ---- # Obtain application-wide settings ! def typingSpeed() ; end ! def clickSpeed() ; end ! def scrollSpeed() ; end ! def scrollDelay() ; end ! def blinkSpeed() ; end ! def animSpeed() ; end ! def menuPause() ; end ! def tooltipPause() ; end ! def tooltipTime() ; end ! def dragDelta() ; end ! def wheelLines() ; end # Change application-wide settings ! def typingSpeed=(speed); end ! def clickSpeed=(speed); end ! def scrollSpeed=(speed); end ! def scrollDelay=(delay); end ! def blinkSpeed=(speed); end ! def animSpeed=(speed); end ! def menuPause=(pause); end ! def tooltipPause=(pause); end ! def tooltipTime=(time); end ! def dragDelta=(delta); end ! def wheelLines=(lines); end # Get default border color ! def borderColor() ; end # Get default base color ! def baseColor() ; end # Get default hilite color ! def hiliteColor() ; end # Get default shadow color ! def shadowColor() ; end # Get default background color ! def backColor() ; end # Get default foreground color ! def foreColor() ; end # Get default selection foreground color ! def selforeColor() ; end # Get default selection background color ! def selbackColor() ; end # Get default tooltip foreground color ! def tipforeColor() ; end # Get default tooltip background color ! def tipbackColor() ; end # Set default border color ! def borderColor=(color); end # Set default base color ! def baseColor=(color); end # Set default hilite color ! def hiliteColor=(color); end # Set default shadow color ! def shadowColor=(color); end # Set default background color ! def backColor=(color); end # Set default foreground color ! def foreColor=(color); end # Set default selection foreground color ! def selforeColor=(color); end # Set default selection background color ! def selbackColor=(color); end # Set default tooltip foreground color ! def tipforeColor=(color); end # Set default tooltip background color ! def tipbackColor=(color); end # Dump widget information *************** *** 363,370 **** # Set the amount of time to sleep ! def setSleepTime(sleepTime); end # Get the amount of time to sleep ! def getSleepTime() ; end end end --- 385,392 ---- # Set the amount of time to sleep ! def sleepTime=(sleepTime); end # Get the amount of time to sleep ! def sleepTime() ; end end end Index: FXButton.rb =================================================================== RCS file: /cvsroot/fxruby/FXRuby/rdoc-sources/FXButton.rb,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FXButton.rb 7 Feb 2002 16:54:54 -0000 1.1 --- FXButton.rb 26 Mar 2002 21:36:23 -0000 1.2 *************** *** 25,39 **** def setDefault(enable=true) ; end ! # Set the button state ! def setState(s) ; end # Get the button state ! def getState() ; end ! # Set the button style flags ! def setButtonStyle(style) ; end # Get the button style flags ! def getButtonStyle() ; end # Handles the +SEL_PAINT+ message --- 25,39 ---- def setDefault(enable=true) ; end ! # Set the button state (one of +STATE_UP+, +STATE_DOWN+, etc.) ! def state=(s) ; end # Get the button state ! def state() ; end ! # Set the button style flags (e.g. combinations of +BUTTON_AUTOGRAY+, +BUTTON_AUTOHIDE+, etc.) ! def buttonStyle=(style) ; end # Get the button style flags ! def buttonStyle() ; end # Handles the +SEL_PAINT+ message Index: FXFrame.rb =================================================================== RCS file: /cvsroot/fxruby/FXRuby/rdoc-sources/FXFrame.rb,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FXFrame.rb 7 Feb 2002 16:54:54 -0000 1.1 --- FXFrame.rb 26 Mar 2002 21:36:23 -0000 1.2 *************** *** 10,68 **** # Change frame style ! def setFrameStyle(frameStyle) ; end # Get current frame style ! def getFrameStyle() ; end # Get border width ! def getBorderWidth() ; end # Change top padding ! def setPadTop(padTop) ; end # Get top interior padding ! def getPadTop() ; end # Change bottom padding ! def setPadBottom(padBottom) ; end # Get bottom interior padding ! def getPadBottom() ; end # Change left padding ! def setPadLeft(padLeft) ; end # Get left interior padding ! def getPadLeft() ; end # Change right padding ! def setPadRight(padRight) ; end # Get right interior padding ! def getPadRight() ; end # Change highlight color ! def setHiliteColor(hiliteColor) ; end # Get highlight color ! def getHiliteColor() ; end # Change shadow color ! def setShadowColor(shadowColor) ; end # Get shadow color ! def getShadowColor() ; end # Change border color ! def setBorderColor(borderColor) ; end # Get border color ! def getBorderColor() ; end # Change base GUI color ! def setBaseColor(baseColor) ; end # Get base GUI color ! def getBaseColor() ; end # Handles the +SEL_PAINT+ message --- 10,68 ---- # Change frame style ! def frameStyle=(frameStyle) ; end # Get current frame style ! def frameStyle() ; end # Get border width ! def borderWidth() ; end # Change top padding ! def padTop=(padTop) ; end # Get top interior padding ! def padTop() ; end # Change bottom padding ! def padBottom=(padBottom) ; end # Get bottom interior padding ! def padBottom() ; end # Change left padding ! def padLeft=(padLeft) ; end # Get left interior padding ! def padLeft() ; end # Change right padding ! def padRight=(padRight) ; end # Get right interior padding ! def padRight() ; end # Change highlight color ! def hiliteColor=(hiliteColor) ; end # Get highlight color ! def hiliteColor() ; end # Change shadow color ! def shadowColor=(shadowColor) ; end # Get shadow color ! def shadowColor() ; end # Change border color ! def borderColor=(borderColor) ; end # Get border color ! def borderColor() ; end # Change base GUI color ! def baseColor=(baseColor) ; end # Get base GUI color ! def baseColor() ; end # Handles the +SEL_PAINT+ message Index: FXLabel.rb =================================================================== RCS file: /cvsroot/fxruby/FXRuby/rdoc-sources/FXLabel.rb,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FXLabel.rb 7 Feb 2002 16:54:54 -0000 1.1 --- FXLabel.rb 26 Mar 2002 21:36:23 -0000 1.2 *************** *** 39,88 **** # Set the text for this label ! def setText(text) ; end # Get the text for this label ! def getText() ; end # Set the icon for this label ! def setIcon(icon) ; end # Get the icon for this label ! def getIcon() ; end # Set the text font ! def setFont(font) ; end # Get the text font ! def getFont() ; end # Get the current text color ! def getTextColor() ; end # Set the current text color ! def setTextColor(textColor) ; end # Set the current text-justification mode. ! def setJustify(justifyMode) ; end # Get the current text-justification mode. ! def getJustify() ; end # Set the current icon position ! def setIconPosition(iconPosition) ; end # Get the current icon position ! def getIconPosition() ; end # Set the status line help text for this label ! def setHelpText(text) ; end # Get the status line help text for this label ! def getHelpText() ; end # Set the tool tip message for this label ! def setTipText(text) ; end # Get the tool tip message for this label ! def getTipText() ; end # Handles the +SEL_PAINT+ message --- 39,88 ---- # Set the text for this label ! def text=(text) ; end # Get the text for this label ! def text() ; end # Set the icon for this label ! def icon=(icon) ; end # Get the icon for this label ! def icon() ; end # Set the text font ! def font=(font) ; end # Get the text font ! def font() ; end # Get the current text color ! def textColor() ; end # Set the current text color ! def textColor=(textColor) ; end # Set the current text-justification mode. ! def justify=(justifyMode) ; end # Get the current text-justification mode. ! def justify() ; end # Set the current icon position ! def iconPosition=(iconPosition) ; end # Get the current icon position ! def iconPosition() ; end # Set the status line help text for this label ! def helpText=(text) ; end # Get the status line help text for this label ! def helpText() ; end # Set the tool tip message for this label ! def tipText=(text) ; end # Get the tool tip message for this label ! def tipText() ; end # Handles the +SEL_PAINT+ message Index: FXWindow.rb =================================================================== RCS file: /cvsroot/fxruby/FXRuby/rdoc-sources/FXWindow.rb,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FXWindow.rb 7 Feb 2002 16:54:54 -0000 1.2 --- FXWindow.rb 26 Mar 2002 21:36:23 -0000 1.3 *************** *** 120,178 **** # Return a reference to the parent window ! def getParent() ; end # Return a reference to the owner window ! def getOwner() ; end # Return a reference to the shell window ! def getShell() ; end # Return a reference to the root window ! def getRoot() ; end # Return a reference to the next (sibling) window, if any ! def getNext() ; end # Return a reference to the previous (sibling) window , if any ! def getPrev() ; end # Return a reference to this window's first child window , if any ! def getFirst() ; end # Return a reference to this window's last child window, if any ! def getLast() ; end # Return a reference to the currently focused child window ! def getFocus() ; end # Change window key ! def setKey(k); end # Return window key ! def getKey() ; end # Set the message target object for this window ! def setTarget(target); end # Get the message target object for this window, if any ! def getTarget() ; end # Set the message identifier for this window ! def setSelector(sel); end # Get the message identifier for this window ! def getSelector() ; end # Get this window's x-coordinate, in the parent's coordinate system ! def getX() ; end # Get this window's y-coordinate, in the parent's coordinate system ! def getY() ; end # Return the default width of this window ! def getDefaultWidth(); end # Return the default height of this window ! def getDefaultHeight(); end # Return width for given height --- 120,178 ---- # Return a reference to the parent window ! def parent() ; end # Return a reference to the owner window ! def owner() ; end # Return a reference to the shell window ! def shell() ; end # Return a reference to the root window ! def root() ; end # Return a reference to the next (sibling) window, if any ! def next() ; end # Return a reference to the previous (sibling) window , if any ! def prev() ; end # Return a reference to this window's first child window , if any ! def first() ; end # Return a reference to this window's last child window, if any ! def last() ; end # Return a reference to the currently focused child window ! def focus() ; end # Change window key ! def key=(k); end # Return window key ! def key() ; end # Set the message target object for this window ! def target=(target); end # Get the message target object for this window, if any ! def target() ; end # Set the message identifier for this window ! def selector=(sel); end # Get the message identifier for this window ! def selector() ; end # Get this window's x-coordinate, in the parent's coordinate system ! def x() ; end # Get this window's y-coordinate, in the parent's coordinate system ! def y() ; end # Return the default width of this window ! def defaultWidth(); end # Return the default height of this window ! def defaultHeight(); end # Return width for given height *************** *** 183,208 **** # Set this window's x-coordinate, in the parent's coordinate system ! def setX(x); end # Set this window's y-coordinate, in the parent's coordinate system ! def setY(y); end # Set the window width ! def setWidth(w); end # Set the window height ! def setHeight(h); end # Set layout hints for this window ! def setLayoutHints(layoutHints); end # Get layout hints for this window ! def getLayoutHints() ; end # Return a reference to the accelerator table (an instance of FXAccelTable) ! def getAccelTable() ; end # Set the accelerator table (to an instance of FXAccelTable) ! def setAccelTable(accelTable); end # Add a hot key --- 183,208 ---- # Set this window's x-coordinate, in the parent's coordinate system ! def x=(x); end # Set this window's y-coordinate, in the parent's coordinate system ! def y=(y); end # Set the window width ! def width=(w); end # Set the window height ! def height=(h); end # Set layout hints for this window ! def layoutHints=(layoutHints); end # Get layout hints for this window ! def layoutHints() ; end # Return a reference to the accelerator table (an instance of FXAccelTable) ! def accelTable() ; end # Set the accelerator table (to an instance of FXAccelTable) ! def accelTable=(accelTable); end # Add a hot key *************** *** 213,223 **** # Return true if window is a shell window ! def isShell() ; end # Return true if specified window is this window's parent ! def isChildOf(window) ; end # Return true if specified window is a child of this window ! def containsChild(child) ; end # Return the child window at specified coordinates --- 213,223 ---- # Return true if window is a shell window ! def shell?() ; end # Return true if specified window is this window's parent ! def childOf?(window) ; end # Return true if specified window is a child of this window ! def containsChild?(child) ; end # Return the child window at specified coordinates *************** *** 235,239 **** # Returns an array containing all child windows of this window ! def getChildren() ; end # Return the child window at specified index, --- 235,239 ---- # Returns an array containing all child windows of this window ! def children() ; end # Return the child window at specified index, *************** *** 245,261 **** # Set the default cursor for this window ! def setDefaultCursor(cursor); end # Return the default cursor for this window ! def getDefaultCursor() ; end # Set the drag cursor for this window ! def setDragCursor(cursor); end # Return the drag cursor for this window ! def getDragCursor() ; end # Return the cursor position and mouse button-state ! def getCursorPosition() ; end # Warp the cursor to the new position --- 245,261 ---- # Set the default cursor for this window ! def defaultCursor=(cursor); end # Return the default cursor for this window ! def defaultCursor() ; end # Set the drag cursor for this window ! def dragCursor=(cursor); end # Return the drag cursor for this window ! def dragCursor() ; end # Return the cursor position and mouse button-state ! def cursorPosition() ; end # Warp the cursor to the new position *************** *** 263,276 **** # Return true if this window is able to receive mouse and keyboard events ! def isEnabled() ; end # Return true if the window is active ! def isActive() ; end # Return true if this window is a control capable of receiving the focus ! def canFocus() ; end # Return true if this window has the focus ! def hasFocus() ; end # Move the focus to this window --- 263,276 ---- # Return true if this window is able to receive mouse and keyboard events ! def enabled?() ; end # Return true if the window is active ! def active?() ; end # Return true if this window is a control capable of receiving the focus ! def canFocus?() ; end # Return true if this window has the focus ! def hasFocus?() ; end # Move the focus to this window *************** *** 288,292 **** # Return +true+ if this is the default window ! def isDefault() ; end # Make this window the initial default window --- 288,292 ---- # Return +true+ if this is the default window ! def default?() ; end # Make this window the initial default window *************** *** 294,298 **** # Return +true+ if this is the initial default window ! def isInitial() ; end # Enable the window to receive mouse and keyboard events --- 294,298 ---- # Return +true+ if this is the initial default window ! def initial?() ; end # Enable the window to receive mouse and keyboard events *************** *** 358,362 **** # Return +true+ if the window has been grabbed ! def grabbed() ; end # Grab keyboard device --- 358,362 ---- # Return +true+ if the window has been grabbed ! def grabbed?() ; end # Grab keyboard device *************** *** 376,389 **** # Return +true+ if the window is shown ! def shown() ; end # Return +true+ if the window is composite ! def isComposite() ; end # Return +true+ if the window is under the cursor ! def underCursor() ; end # Return +true+ if this window owns the primary selection ! def hasSelection() ; end # Try to acquire the primary selection, given an array of drag types --- 376,389 ---- # Return +true+ if the window is shown ! def shown?() ; end # Return +true+ if the window is composite ! def composite?() ; end # Return +true+ if the window is under the cursor ! def underCursor?() ; end # Return +true+ if this window owns the primary selection ! def hasSelection?() ; end # Try to acquire the primary selection, given an array of drag types *************** *** 394,398 **** # Return +true+ if this window owns the clipboard ! def hasClipboard() ; end # Try to acquire the clipboard, given an array of drag types --- 394,398 ---- # Return +true+ if this window owns the clipboard ! def hasClipboard?() ; end # Try to acquire the clipboard, given an array of drag types *************** *** 409,416 **** # Return +true+ if this window is able to receive drops ! def isDropEnabled() ; end # Return +true+ if a drag operaion has been initiated from this window ! def isDragging() ; end # Initiate a drag operation with an array of previously registered drag types --- 409,416 ---- # Return +true+ if this window is able to receive drops ! def dropEnabled?() ; end # Return +true+ if a drag operaion has been initiated from this window ! def dragging?() ; end # Initiate a drag operation with an array of previously registered drag types *************** *** 425,429 **** # Return +true+ if this window is the target of a drop ! def isDropTarget() ; end # When being dragged over, indicate that no further +SEL_DND_MOTION+ messages --- 425,429 ---- # Return +true+ if this window is the target of a drop ! def dropTarget?() ; end # When being dragged over, indicate that no further +SEL_DND_MOTION+ messages *************** *** 439,443 **** # The target accepted our drop ! def didAccept() ; end # When being dragged over, inquire the drag types which are being offered --- 439,443 ---- # The target accepted our drop ! def didAccept?() ; end # When being dragged over, inquire the drag types which are being offered *************** *** 457,461 **** # Return true if window logically contains the given point ! def contains(parentx, parenty) ; end # Translate coordinates from _fromwindow_'s coordinate space --- 457,461 ---- # Return true if window logically contains the given point ! def contains?(parentx, parenty) ; end # Translate coordinates from _fromwindow_'s coordinate space *************** *** 468,475 **** # Set window background color ! def setBackColor(color) ; end # Get background color ! def getBackColor() ; end # Relink this window before sibling in the window list --- 468,475 ---- # Set window background color ! def backColor=(color) ; end # Get background color ! def backColor() ; end # Relink this window before sibling in the window list *************** *** 479,482 **** def linkAfter(sibling) ; end ! def doesSaveUnder() ; end end --- 479,482 ---- def linkAfter(sibling) ; end ! def doesSaveUnder?() ; end end |