3.30 QHTML widget reference : toplevel

3.30.1 Description

The toplevel widget represents the window in which widgets are placed. A QHTML window can be either connected to a Internet Browser or not. From the Oz developper point of view, the QHTML objects behave exactly the same if the window is connected or not. The toplevel widget has to be connected to an Internet Browser in order to let the user interact with the application. The toplevel widget must always be the very first one used when building a window. Methods of this object can be used to interact with the Internet Browser at the lowest possible level of interaction. Warning : you should avoid to use this kind of interaction of much as possible.

3.30.2 Example

{{QHTML.build toplevel(title:"Sample empty QHTML window")} show}

3.30.3 Parameter list

Specific Parameters

N activeElement alinkColor bgColor charset clientInformation defaultCharset defaultStatus domain fgColor html innerHeight innerWidth isconnected linkColor location menuBgColor menuButtonBottomColor menuButtonLeftColor menuButtonRightColor menuButtonTopColor menuFgColor outerHeight outerWidth pageXOffset pageYOffset readyState referrer screen scriptId status title vlinkColor .

Non specific parameters

actionManager azimuth background backgroundAttachment backgroundColor backgroundImage backgroundRepeat border borderBottom borderBottomColor borderBottomStyle borderBottomWidth borderColor borderLeft borderLeftColor borderLeftStyle borderLeftWidth borderRight borderRightColor borderRightStyle borderRightWidth borderStyle borderTop borderTopColor borderTopStyle borderTopWidth borderWidth childPrefixId color counterIncrement counterReset cue cueAfter cueBefore cursor direction display elevation feature float font fontFamily fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontWeight glue groupManager handle height id isdisplayed letterSpacing lineHeight look margin marginBottom marginLeft marginRight marginTop maxHeight maxWidth minHeight minWidth outline outlineColor outlineStyle outlineWidth padding paddingBottom paddingLeft paddingRight paddingTop padx pady parent pause pauseAfter pauseBefore pitch pitchRange playDuring position quotes refId richness speak speakNumeral speakPunctuation speechRate stress tagname textDecoration textShadow textTransform toplevel unicodeBidi visibility voiceFamily volume width wordSpacing .

3.30.4 Event list

onclick onconnect ondblclick ondisconnect onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseout onmouseover onmouseup onunload .

3.30.5 Method list

alert

alert(VS) : pops up an alert window displaying the virtual string VS.

bind

bind(event:Event action:Action args:Args) : binds an event to an Oz action.

blur

blur : if the focus is on this widget, then the focus is removed, else nothing happens.

cget

cget(Object Param Var) : binds the state of the HTML parameter Param of the widget whose handle is Handle to the variable Var as a textual string. This is a low-level way of getting states from the browser. Please use the get method of the respective handle instead.

close

close : closes the widget. Use with caution, you should only close toplevel windows.

configure

configure(Object Param Value) : sets the state of the HTML parameter Param of the widget whose handle is Handle to the value Value which must be a textual string. This is a low-level way of setting states of the browser. Please use the set method of the respective handle instead.

confirm

confirm(VS Var) : pops up a confirmation dialog box displaying the virtual string VS and binds true to Var if the user clicked 'Ok' otherwise binds it to false.

connect

connect(CO) : connects the QHTML window to the Internet Browser available through the connection object CO.

disconnect

disconnect : disconnects the QHTML window to the current Internet Browser. This method is automatically called upon closure of the browser by the user.

elementFromPoint

elementFromPoint(X Y Var) : binds Var to the handle of the widget just underneath pixel coordinates (X, Y), or to QHTML.undefined if such handle does not exist. Warning : this method always return QHTML.undefined if the window is not connected to an Internet Browser.

focus

focus : gives the user focus to this widget.

get

get(Param1:Var1 ... ParamX:VarX) : gets one or more parameters.

moveBy

moveBy(X Y) : moves the window X pixels horizontally and Y pixels vertically.

moveTo

moveTo(X Y) : moves the window so that the top left corner matches the specified coordinates.

openURL

openURL(url:URL
        copyHistory:CopyHistory
        directories:Directories
        height:Height
        left:Left
        location:Location
        menuBar:MenuBar<=true 
        resizable:Resizable
        scrollbars:ScrollBars
        status:Status
        toolbar:Toolbar
        top:Top
        width:Width)
: opens a new window at the browser side. This window displays the page at the URL URL. The other parameters are :

openWindow

openWindow(connect:C ...) : opens a new window at the browser side at return the connection object C to connect this window to a QHTML toplevel. The other supported parameters are the same as the ones for openURL.

print

print : starts the printing process for the window.

prompt

prompt(Msg Default Var) : pops up a simple prompt dialog box where the user can type some text. Msg is the text displayed in the dialog box. Default if specified, if the initial text in the text field of the dialog box. Var is bound to the text typed by the user if he clicked the 'Ok' button, or is bound to false is the user cancelled.

return

return(S V) : sends the virtual string S to be executed by the browser as a JavaScript script. The value of the ozreturn JavaScript variable is bound to the Oz variable V in its textual representation. Please avoid using this method : use it only if strictly needed.

saveHTML

saveHTML(FN) : saves the HTML code generated to build the window. Warning : the HTML code itself is often not enough to display the window contents even if it is not interactive. The effective built of the web page is a mix of HTML code and JavaScript commands : the saveHTML method doesn't save the JavaScript at all.

scroll

scroll(X Y) : sets the scrolled position of the display inside the current window.

scrollBy

scrollBy(X Y) : scrolls the display in the window by the specified pixel amounts along both axes.

scrollTo

scrollTo(X Y) : scrolls the display in the window to a specific scrolled position.

send

send(M) : sends the virtual string M to the browser for execution as a JavaScript script. Please avoid using this method : use it only if strictly needed.

set

set(Param1:Value1 ... ParamX:ValueX) : sets one or more parameters.

show

show : starts Internet Explorer locally and connects it the the QHTML window. Warning : this is fully working on Windows 2000 only for now.

3.30.6 Feature list

widgetId

widgetId : this feature is set to the widget's type.

3.30.7 Detailed Parameter list

N

N [qhtmldesc] (I__) : as this widget is a container, the numerically indexed parameters are used to specify its contained widgets.

actionManager

actionManager [free] (__G) : the object managing the actions triggered by all widgets inside the window containing this widget.

activeElement

activeElement [no] (__G) : returns the handle of the currently active widget. If there is no active widget, returns QHTML.undefined.

alinkColor

alinkColor [color] (ISG) : specifies the color of a hypertext link as it is being clicked.

azimuth

azimuth [IntOrFloat#(deg | grad | rad) | ((left-side | far-left | left | center-left | center | center-right | right | far-right | right-side) || behind) | leftwards | rightwards | inherit] (ISG) : specifies the azimuth of a sound. W3C Reference

background

background [(((rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | transparent | inherit) || (url(VS) | none | inherit) || (repeat | repeat-x | repeat-y | no-repeat | inherit) || (scroll | fixed | inherit) || ((((IntOrFloat#'%' | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc))) (IntOrFloat#'%' | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)))?) | ((top | center | bottom) || (left | center | right))) | inherit)) | inherit] (ISG) : shorthand property for setting the individual background properties (backgroundColor, backgroundImage, backgroundRepeat, backgroundAttachment and backgroundPosition) at the same time. W3C Reference

backgroundAttachment

backgroundAttachment [scroll | fixed | inherit] (ISG) : specifies how the background image is attached to the widget within the document. W3C Reference

backgroundColor

backgroundColor [(rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | transparent | inherit] (ISG) : the color behind the content of the widget. W3C Reference

backgroundImage

backgroundImage [url(VS) | none | inherit] (ISG) : the background image of the widget. W3C Reference

backgroundRepeat

backgroundRepeat [repeat | repeat-x | repeat-y | no-repeat | inherit] (ISG) : specifies how the backgroundImage parameter of the widget is tiled. W3C Reference

bgColor

bgColor [color] (ISG) : specifies the background color of the window.

border

border [((((thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) )[1,4]) | inherit) || (((none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset)[1,4]) | inherit) || (rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom)) | inherit] (ISG) : shorthand property for setting the same width, color and style for all four borders of a box at the same time. W3C Reference

borderBottom

borderBottom [(((thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit) || (((none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset)[1,4]) | inherit) || (rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom)) | inherit] (ISG) : this is a shorthand property for setting the width, style, and color of the bottom border of a box W3C Reference

borderBottomColor

borderBottomColor [(rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | inherit] (ISG) : the color of the bottom border of the widget. W3C Reference

borderBottomStyle

borderBottomStyle [(none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset) | inherit] (ISG) : the style of the bottom border of the widget. W3C Reference

borderBottomWidth

borderBottomWidth [(thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit] (ISG) : the width of the bottom border of the widget. W3C Reference

borderColor

borderColor [((rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom)[1,4]) | transparent | inherit] (ISG) : the border color of the widget. W3C Reference

borderLeft

borderLeft [(((thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit) || (((none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset)[1,4]) | inherit) || (rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom)) | inherit] (ISG) : this is a shorthand property for setting the width, style, and color of the left border of a box W3C Reference

borderLeftColor

borderLeftColor [(rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | inherit] (ISG) : the color of the left border of the widget. W3C Reference

borderLeftStyle

borderLeftStyle [(none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset) | inherit] (ISG) : the style of the left border of the widget. W3C Reference

borderLeftWidth

borderLeftWidth [(thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit] (ISG) : the width of the left border of the widget. W3C Reference

borderRight

borderRight [(((thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit) || (((none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset)[1,4]) | inherit) || (rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom)) | inherit] (ISG) : this is a shorthand property for setting the width, style, and color of the right border of a box W3C Reference

borderRightColor

borderRightColor [(rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | inherit] (ISG) : the color of the right border of the widget. W3C Reference

borderRightStyle

borderRightStyle [(none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset) | inherit] (ISG) : the style of the right border of the widget. W3C Reference

borderRightWidth

borderRightWidth [(thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit] (ISG) : the width of the right border of the widget. W3C Reference

borderStyle

borderStyle [((none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset)[1,4]) | inherit] (ISG) : the border style of the widget. W3C Reference

borderTop

borderTop [(((thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit) || (((none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset)[1,4]) | inherit) || (rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom)) | inherit] (ISG) : this is a shorthand property for setting the width, style, and color of the top border of a box W3C Reference

borderTopColor

borderTopColor [(rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | inherit] (ISG) : the color of the top border of the widget. W3C Reference

borderTopStyle

borderTopStyle [(none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset) | inherit] (ISG) : the style of the top border of the widget. W3C Reference

borderTopWidth

borderTopWidth [(thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit] (ISG) : the width of the top border of the widget. W3C Reference

borderWidth

borderWidth [((thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) )[1,4]) | inherit] (ISG) : the border width of the widget. W3C Reference

charset

charset [vs] (ISG) : specifies the character encoding of the text in the window.

childPrefixId

childPrefixId [atom] (__G) : the HTML prefix that has to be appended to the HTML identifier to get an absolute reference to the HTML identifier of the widget. Warning : you should normally never need this.

clientInformation

clientInformation [no] (__G) : returns a one parameter function that can be used to ask the browser client informations depending on the parameter you give to that function:

color

color [(rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | inherit] (ISG) : specifies the color of the text of the widget. W3C Reference

counterIncrement

counterIncrement [((Atom Int?) (Atom Int?)*) | none | inherit] (ISG) : increments the specified identifier by the specified value or by one. W3C Reference

counterReset

counterReset [((Atom Int?) (Atom Int?)*) | none | inherit] (ISG) : resets the specified identifier to the specified value or to 0. W3C Reference

cue

cue [((url(VS) | none | inherit) || (url(VS) | none | inherit)) | inherit] (ISG) : shorcuts to specify cueBefore and cueAfter properties. W3C Reference

cueAfter

cueAfter [url(VS) | none | inherit] (ISG) : specifies an auditory icon to be played after the delimited element. W3C Reference

cueBefore

cueBefore [url(VS) | none | inherit] (ISG) : specifies an auditory icon to be played before the delimited element. W3C Reference

cursor

cursor [(((url(VS) ,)*) (auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help)) | inherit] (ISG) : the type of cursor to display as the mouse pointer moves over the object. W3C Reference

defaultCharset

defaultCharset [vs] (ISG) : specifies the character encoding of the content of the window.

defaultStatus

defaultStatus [vs] (ISG) : specifies the default message displayed in the browser window's status bar when no browser loading activity is occuring.

direction

direction [ltr | rtl | inherit] (ISG) : specifies the base writing direction of blocks and the direction of embeddings and overrides for the Unicode bidirectional algorithm. In addition, it specifies the direction of table column layout, the direction of horizontal overflow, and the position of an incomplete last line in a block in case of textAlign:justify. W3C Reference

display

display [inline | block | list-item | run-in | compact | marker | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | none | inherit] (ISG) : specifies whether the object is rendered. W3C Reference

domain

domain [vs] (ISG) : the hostname of the server that served up the document.

elevation

elevation [IntOrFloat#(deg | grad | rad) | below | level | above | higher | lower | inherit] (ISG) : specifies the elevation of a sound. W3C Reference

feature

feature [atom] (I__) : specifies a feature of the handle object of the parent container of this widget that will be bound to this widget's handle.

fgColor

fgColor [color] (ISG) : the default color for the text in the window.

float

float [left | right | none | inherit] (ISG) : specifies whether a box should float to the left, right or not at all. W3C Reference

font

font [((((normal | italic | oblique | inherit) || (normal | small-caps | inherit) || (normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit))?) (('xx-small' | 'x-small' | small | medium | large | 'x-large' | 'xx-large') | (smaller | larger) | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | inherit) ((/ (normal | IntOrFloat | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | inherit))?) (((((VS | (serif | 'sans-serif' | cursive | fantasy | monospace)) ,)*) (VS | (serif | 'sans-serif' | cursive | fantasy | monospace))) | inherit)) | caption | icon | menu | message-box | small-caption | status-bar | inherit] (ISG) : specifies up to 6 font properties of the widget. W3C Reference

fontFamily

fontFamily [((((VS | (serif | 'sans-serif' | cursive | fantasy | monospace)) ,)*) (VS | (serif | 'sans-serif' | cursive | fantasy | monospace))) | inherit] (ISG) : the name of the font used for text in the widget. W3C Reference

fontSize

fontSize [('xx-small' | 'x-small' | small | medium | large | 'x-large' | 'xx-large') | (smaller | larger) | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | inherit] (ISG) : the size of the font used for text in the widget. W3C Reference

fontSizeAdjust

fontSizeAdjust [IntOrFloat | none | inherit] (ISG) : species an aspect value for the font of a widget that will preserve the x-height of the first choice font in the substitute font. W3C Reference

fontStretch

fontStretch [normal | wider | narrower | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit] (ISG) : selects a normal, condensed, or extended face from a font family. W3C Reference

fontStyle

fontStyle [normal | italic | oblique | inherit] (ISG) : the font style of the widget. W3C Reference

fontVariant

fontVariant [normal | small-caps | inherit] (ISG) : specifies whether the text of the widget is in small capital letters. W3C Reference

fontWeight

fontWeight [normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit] (ISG) : weight of the font of the widget. W3C Reference

glue

glue [glue] (ISG) : specifies how the widget fits its space and its behaviour upon resizing.

groupManager

groupManager [free] (__G) : the object managing radio type widgets that support the group parameter inside this window.

handle

handle [free] (I_G) : the variable specified as handle is bound to an object that controls this widget, when the window is built.

height

height [heightlength] (ISG) : height of the widget.

html

html [vs] (__G) : returns the HTML code used to build the window.

id

id [atom] (__G) : the HTML identifier of the widget. Warning : you should normally never need this.

innerHeight

innerHeight [int] (ISG) : the pixel measure of the height of the content region of the browser window.

innerWidth

innerWidth [int] (ISG) : the pixel measure of the width of the content region of the browser window.

isconnected

isconnected [bool] (__G) : returns true if the window is currently connected to an Internet Browser, false otherwise.

isdisplayed

isdisplayed [bool] (__G) : true if the widget is currently displayed inside a browser window, false otherwise. Inside a placeholder widget, one and only one widget is displayed at a time. When not connected to a browser, no widgets at all are displayed.

letterSpacing

letterSpacing [normal | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | inherit] (ISG) : the amount of additional space betwen letters in the widget. W3C Reference

lineHeight

lineHeight [normal | IntOrFloat | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | inherit] (ISG) : the distance between lines in the widget. W3C Reference

linkColor

linkColor [color] (ISG) : specifies the color of the text of a hyperlink that has not been visited yet.

location

location [vs] (__G) : the URL of the document currently loaded in the window.

look

look [look] (I__) : specifies a look that defines default values to widgets parameters.

margin

margin [((auto | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%'))[1,4]) | inherit] (ISG) : shorthand property for setting marginTop, marginRight, marginBottom, and marginLeft at the same time in the style sheet. If only one value is present, it sets the four margins. If two values are present, the first one sets the vertical margins, the second the horizontal margins. If three values are present, they respectively set the top, horizontal and left margins. If four values are present, they respectively set the top, right, bottom and left margins. W3C Reference

marginBottom

marginBottom [(auto | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the height of the bottom margin of the widget. W3C Reference

marginLeft

marginLeft [(auto | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the width of the left margin of the widget. W3C Reference

marginRight

marginRight [(auto | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the width of the right margin of the widget. W3C Reference

marginTop

marginTop [(auto | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the height of the top margin of the widget. W3C Reference

maxHeight

maxHeight [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | none | inherit] (ISG) : specifies a maximum height for the widget. W3C Reference

maxWidth

maxWidth [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | none | inherit] (ISG) : specifies a maximum width for the widget. W3C Reference

menuBgColor

menuBgColor [color] (I_G) : specifies the background color of dropdown menus and menubutton widgets. This parameter can be specified only once at the window's creation time.

menuButtonBottomColor

menuButtonBottomColor [color] (I_G) : specifies the color of the bottom border of dropdown menus and menubutton widgets. This parameter can be specified only once at the window's creation time.

menuButtonLeftColor

menuButtonLeftColor [color] (I_G) : specifies the color of the left border of dropdown menus and menubutton widgets. This parameter can be specified only once at the window's creation time.

menuButtonRightColor

menuButtonRightColor [color] (I_G) : specifies the color of the right border of dropdown menus and menubutton widgets. This parameter can be specified only once at the window's creation time.

menuButtonTopColor

menuButtonTopColor [color] (I_G) : specifies the color of the top border of dropdown menus and menubutton widgets. This parameter can be specified only once at the window's creation time.

menuFgColor

menuFgColor [color] (I_G) : specifies the foreground color of dropdown menus and menubutton widgets. This parameter can be specified only once at the window's creation time.

minHeight

minHeight [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | inherit] (ISG) : specifies a minimum height for the widget. W3C Reference

minWidth

minWidth [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | IntOrFloat#'%' | inherit] (ISG) : specifies a minimum width for the widget. W3C Reference

outerHeight

outerHeight [int] (ISG) : the pixel measure of the height of the browser window includind all toolbars, scrollbars and other visible window "chrome".

outerWidth

outerWidth [int] (ISG) : the pixel measure of the width of the browser window includind all toolbars, scrollbars and other visible window "chrome".

outline

outline [(((rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | invert | inherit) || ((none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset) | inherit) || ((thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit)) | inherit] (ISG) : shorthand property for setting outlineColor, outlineStyle and outlineWidth. W3C Reference

outlineColor

outlineColor [(rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) | invert | inherit] (ISG) : specifies the color of the outline. W3C Reference

outlineStyle

outlineStyle [(none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset) | inherit] (ISG) : specifies the style of the outline. W3C Reference

outlineWidth

outlineWidth [(thin | medium | thick | IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc) ) | inherit] (ISG) : specifies the width of the outline. W3C Reference

padding

padding [((IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%'))[1,4]) | inherit] (ISG) : the amount of space to insert between the widget and its margin or, if there is a border, between the widget and its border. W3C Reference

paddingBottom

paddingBottom [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the amount of space to insert between the bottom border of the widget and the content. W3C Reference

paddingLeft

paddingLeft [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the amount of space to insert between the left border of the widget and the content. W3C Reference

paddingRight

paddingRight [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the amount of space to insert between the right border of the widget and the content. W3C Reference

paddingTop

paddingTop [(IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc | '%')) | inherit] (ISG) : the amount of space to insert between the top border of the widget and the content. W3C Reference

padx

padx [pad] (ISG) : not sure it does anything for now.

pady

pady [pad] (ISG) : not sure it does anything for now.

pageXOffset

pageXOffset [int] (ISG) : the pixel measure of the amount of the page's content that has been scrolled to the left.

pageYOffset

pageYOffset [int] (ISG) : the pixel measure of the amount of the page's content that has been scrolled upward.

parent

parent [free] (__G) : the handle of the container widget of this widget.

pause

pause [((Float#(ms | s) | IntOrFloat#'%') (Float#(ms | s) | IntOrFloat#'%')?) | inherit] (ISG) : shorthand property to pauseBefore and pauseAfter. W3C Reference

pauseAfter

pauseAfter [Float#(ms | s) | IntOrFloat#'%' | inherit] (ISG) : specify a pause to be observed after speaking the widget's content. W3C Reference

pauseBefore

pauseBefore [Float#(ms | s) | IntOrFloat#'%' | inherit] (ISG) : specify a pause to be observed before speaking the widget's content. W3C Reference

pitch

pitch [(Float#( 'Hz' | kHz )) | x-low | low | medium | high | x-high | inherit] (ISG) : specifies the average pitch (a frequency) of the speaking voice. W3C Reference

pitchRange

pitchRange [IntOrFloat | inherit] (ISG) : Specifies variation in average pitch. W3C Reference

playDuring

playDuring [(url(VS) mix? repeat?) | auto | none | inherit] (ISG) : specifies a sound to be played as a background while an element's content is spoken. W3C Reference

position

position [static | relative | absolute | fixed | inherit] (ISG) : the type of positioning used for the widget. W3C Reference

quotes

quotes [((VS VS) (VS VS)*) | none | inherit] (ISG) : specifies quotation marks for any number of embedded quotations. W3C Reference

readyState

readyState [atom] (__G) : returns the current download status of the window content.

refId

refId [atom] (__G) : the absolute reference to the HTML identifier of the widget. Warning : you should normally never need this.

referrer

referrer [vs] (__G) : returns a string of the URL of the page from which the current page was accessed, provided the original page had a link to the current page.

richness

richness [IntOrFloat | inherit] (ISG) : specifies the richness, or brightness, of the speaking voice. A rich voice will "carry" in a large room, a smooth voice will not. W3C Reference

screen

screen [no] (__G) : returns a one parameter function that can be used to ask the browser screen informations depending on the parameter you give to that function:

scriptId

scriptId [vs] (__G) : don't know...

speak

speak [normal | none | spell-out | inherit] (ISG) : specifies whether text will be rendered aurally and if so, in what manner. W3C Reference

speakNumeral

speakNumeral [digits | continuous | inherit] (ISG) : specifies how numerals are spoken. W3C Reference

speakPunctuation

speakPunctuation [code | none | inherit] (ISG) : specifies how punctuation is spoken. W3C Reference

speechRate

speechRate [IntOrFloat | x-slow | slow | medium | fast | x-fast | faster | slower | inherit] (ISG) : specifies the speaking rate. W3C Reference

status

status [vs] (ISG) : text of the status bar of the browser window.

stress

stress [IntOrFloat | inherit] (ISG) : specifies the height of "local peaks" in the intonation contour of a voice. W3C Reference

tagname

tagname [atom] (__G) : HTML tag used to represent the widget. Warning : you should normally never need this.

textDecoration

textDecoration [none | (underline || overline || line-through || blink) | inherit] (ISG) : specifies whether the text in the widget has blink, line-through, overline, or underline decorations. W3C Reference

textShadow

textShadow [none | ((((rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) || ((IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) ((IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc))?) ,))*) ((rgb( (Int#'%' | Int) (Int#'%' | Int) (Int#'%' | Int) ) | Atom) || ((IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) ((IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc))?)))) | inherit] (ISG) : describes decorations that are added to the text of a widget. W3C Reference

textTransform

textTransform [capitalize | uppercase | lowercase | none | inherit] (ISG) : the rendering of the text in the widget. W3C Reference

title

title [vs] (ISG) : text of the title bar of the browser window.

toplevel

toplevel [free] (__G) : the handle of the toplevel widget containing this widget.

unicodeBidi

unicodeBidi [normal | embed | bidi-override | inherit] (ISG) : the level of embedding with respect to the bidirectional algorithm. W3C Reference

visibility

visibility [visible | hidden | collapse | inherit] (ISG) : specifies whether the content of the widget is displayed. W3C Reference

vlinkColor

vlinkColor [color] (ISG) : color of a hypertext link that has been visited recently.

voiceFamily

voiceFamily [((((VS | (male | female | child)) ,)*) (VS | (male | female | child))) | inherit] (ISG) : specifies a list of voice family names. W3C Reference

volume

volume [IntOrFloat | IntOrFloat#'%' | silent | x-soft | soft | medium | loud | x-loud | inherit] (ISG) : specifies the volume of a sound. W3C Reference

width

width [widthlength] (ISG) : width of the widget.

wordSpacing

wordSpacing [normal | (IntOrFloat | IntOrFloat#(em | ex | px | 'in' | cm | mm | pt | pc)) | inherit] (ISG) : specifies spacing behavior between words. W3C Reference

3.30.8 Detailed Event list

onclick

onclick the user has pressed and released a mouse button (or keyboard equivalent) on the widget.

onconnect

onconnect the QHTML object has just been connected to a web page.

ondblclick

ondblclick the user has double-clicked a mouse button.

ondisconnect

ondisconnect the QHTML object has just been disconnected from a web page.

onkeydown

onkeydown the user has begun pressing a keyboard character key.

onkeypress

onkeypress the user has pressed and released a keyboard character key.

onkeyup

onkeyup the user has released a keyboard character key.

onload

onload a document or other external element has completed downloading all data into the browser.

onmousedown

onmousedown the user has begun pressing a mouse button.

onmousemove

onmousemove the user rolled the mouse.

onmouseout

onmouseout the user has rolled the mouse out of an element.

onmouseover

onmouseover the user has rolled the mouse atop an element.

onmouseup

onmouseup the user has released the mouse button.

onunload

onunload a document is about to be unloaded from a window or frame


Donatien Grolaux
Version 1.3.0 (20010902)