Back to index

lightning-sunbird  0.9+nobinonly
nsXULAtomList.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is mozilla.org code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1999
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *   Original Author: David W. Hyatt (hyatt@netscape.com)
00024  *
00025  * Alternatively, the contents of this file may be used under the terms of
00026  * either of the GNU General Public License Version 2 or later (the "GPL"),
00027  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00028  * in which case the provisions of the GPL or the LGPL are applicable instead
00029  * of those above. If you wish to allow use of your version of this file only
00030  * under the terms of either the GPL or the LGPL, and not to allow others to
00031  * use your version of this file under the terms of the MPL, indicate your
00032  * decision by deleting the provisions above and replace them with the notice
00033  * and other provisions required by the GPL or the LGPL. If you do not delete
00034  * the provisions above, a recipient may use your version of this file under
00035  * the terms of any one of the MPL, the GPL or the LGPL.
00036  *
00037  * ***** END LICENSE BLOCK ***** */
00038 
00039 /******
00040 
00041   This file contains the list of all XUL nsIAtoms and their values
00042   
00043   It is designed to be used as inline input to nsXULAtoms.cpp *only*
00044   through the magic of C preprocessing.
00045 
00046   All entires must be enclosed in the macro XUL_ATOM which will have cruel
00047   and unusual things done to it
00048 
00049   It is recommended (but not strictly necessary) to keep all entries
00050   in alphabetical order
00051 
00052   The first argument to XUL_ATOM is the C++ identifier of the atom
00053   The second argument is the string value of the atom
00054 
00055  ******/
00056 
00057 // OUTPUT_CLASS=nsXULAtoms
00058 // MACRO_NAME=XUL_ATOM
00059 
00060 XUL_ATOM(button, "button")
00061 XUL_ATOM(spinner, "spinner")
00062 XUL_ATOM(scrollbar, "scrollbar")
00063 XUL_ATOM(nativescrollbar, "nativescrollbar")
00064 XUL_ATOM(scrollcorner, "scrollcorner")
00065 XUL_ATOM(slider, "slider")
00066 XUL_ATOM(palettename, "palettename")
00067 XUL_ATOM(fontpicker, "fontpicker")
00068 XUL_ATOM(text, "text")
00069 XUL_ATOM(toolbar, "toolbar")
00070 XUL_ATOM(toolbaritem, "toolbaritem")
00071 XUL_ATOM(toolbarbutton, "toolbarbutton")
00072 XUL_ATOM(toolbox, "toolbox")
00073 XUL_ATOM(image, "image")
00074 XUL_ATOM(validate, "validate")
00075 XUL_ATOM(description, "description")
00076 XUL_ATOM(gripper, "gripper")
00077 
00078   // The tree atoms
00079 XUL_ATOM(allowevents, "allowevents") // Lets events be handled on the cell contents or in menus.
00080 XUL_ATOM(sizemode, "sizemode") // when set, measure strings to determine preferred width
00081 
00082 XUL_ATOM(open, "open") // Whether or not a menu, tree, etc. is open
00083 XUL_ATOM(closed, "closed")
00084 XUL_ATOM(focus, "focus")
00085 
00086 XUL_ATOM(tree, "tree")
00087 XUL_ATOM(treecols, "treecols")
00088 XUL_ATOM(treecol, "treecol")
00089 XUL_ATOM(treechildren, "treechildren")
00090 XUL_ATOM(treeitem, "treeitem")
00091 XUL_ATOM(treerow, "treerow")
00092 XUL_ATOM(treeseparator, "treeseparator")
00093 XUL_ATOM(treecell, "treecell")
00094 
00095 XUL_ATOM(primary, "primary")
00096 XUL_ATOM(cycler, "cycler")
00097 XUL_ATOM(editable, "editable")
00098 XUL_ATOM(current, "current")
00099 XUL_ATOM(seltype, "seltype")
00100 XUL_ATOM(sorted, "sorted")
00101 XUL_ATOM(dragSession, "dragSession")
00102 XUL_ATOM(dropOn, "dropOn")
00103 XUL_ATOM(dropBefore, "dropBefore")
00104 XUL_ATOM(dropAfter, "dropAfter")
00105 XUL_ATOM(checked, "checked")
00106 XUL_ATOM(progressNormal, "progressNormal")
00107 XUL_ATOM(progressUndetermined, "progressUndetermined")
00108 XUL_ATOM(odd, "odd")
00109 XUL_ATOM(even, "even")
00110 
00111 XUL_ATOM(menubar, "menubar") // An XP menu bar.
00112 XUL_ATOM(menu, "menu") // Represents an XP menu
00113 XUL_ATOM(menuitem, "menuitem") // Represents an XP menu item
00114 XUL_ATOM(menupopup, "menupopup") // The XP menu's children.
00115 XUL_ATOM(menutobedisplayed, "menutobedisplayed") // The menu is about to be displayed at the next sync w/ frame
00116 XUL_ATOM(menuactive, "_moz-menuactive") // Whether or not a menu is active (without necessarily being open)
00117 XUL_ATOM(accesskey, "accesskey") // The shortcut key for a menu or menu item
00118 XUL_ATOM(acceltext, "acceltext") // Text to use for the accelerator
00119 XUL_ATOM(popupgroup, "popupgroup") // Contains popup menus, context menus, and tooltips
00120 XUL_ATOM(popup, "popup") // The popup for a context menu, popup menu, or tooltip
00121 XUL_ATOM(menugenerated, "menugenerated") // Internal
00122 XUL_ATOM(popupanchor, "popupanchor") // Anchor for popups
00123 XUL_ATOM(popupalign, "popupalign") // Alignment for popups
00124 XUL_ATOM(ignorekeys, "ignorekeys") // Alignment for popups
00125 XUL_ATOM(sizetopopup, "sizetopopup") // Whether or not menus size to their popup children (used by menulists)
00126 
00127 XUL_ATOM(key, "key") // The key element / attribute
00128 XUL_ATOM(keycode, "keycode") // The keycode attribute
00129 XUL_ATOM(keytext, "keytext") // The keytext attribute
00130 XUL_ATOM(modifiers, "modifiers") // The modifiers attribute
00131 XUL_ATOM(broadcaster, "broadcaster") // A broadcaster
00132 XUL_ATOM(observes, "observes") // The observes element
00133 XUL_ATOM(templateAtom, "template") // A XUL template
00134 
00135 // Bogus atoms that people use that are just data containers
00136 XUL_ATOM(broadcasterset, "broadcasterset")
00137 XUL_ATOM(commands, "commands")
00138 XUL_ATOM(commandset, "commandset")
00139 
00140 XUL_ATOM(progressmeter, "progressmeter")
00141 XUL_ATOM(crop, "crop")
00142 
00143 XUL_ATOM(mode, "mode")
00144 XUL_ATOM(equalsize, "equalsize")
00145 XUL_ATOM(pack, "pack")
00146 XUL_ATOM(box, "box")
00147 XUL_ATOM(hbox, "hbox")
00148 XUL_ATOM(vbox, "vbox")
00149 XUL_ATOM(scrollbox, "scrollbox")
00150 XUL_ATOM(mousethrough, "mousethrough")
00151 XUL_ATOM(flex, "flex")
00152 XUL_ATOM(ordinal, "ordinal")
00153 XUL_ATOM(spring, "spring")
00154 XUL_ATOM(orient, "orient")
00155 XUL_ATOM(minwidth, "minwidth")
00156 XUL_ATOM(minheight, "minheight")
00157 XUL_ATOM(maxwidth, "maxwidth")
00158 XUL_ATOM(maxheight, "maxheight")
00159 
00160 XUL_ATOM(autorepeatbutton, "autorepeatbutton")
00161 
00162 XUL_ATOM(bulletinboard, "bulletinboard")
00163 
00164 XUL_ATOM(stack, "stack")
00165 XUL_ATOM(deck, "deck")
00166 XUL_ATOM(tabbox, "tabbox")
00167 XUL_ATOM(tab, "tab")
00168 XUL_ATOM(tabpanels, "tabpanels")
00169 XUL_ATOM(tabpanel, "tabpanel")
00170 XUL_ATOM(index, "index")
00171 XUL_ATOM(maxpos, "maxpos")
00172 XUL_ATOM(curpos, "curpos")
00173 XUL_ATOM(smooth, "smooth")
00174 XUL_ATOM(scrollbarbutton, "scrollbarbutton")
00175 XUL_ATOM(increment, "increment")
00176 XUL_ATOM(pageincrement, "pageincrement")
00177 XUL_ATOM(thumb, "thumb")
00178 XUL_ATOM(toggled, "toggled")
00179 XUL_ATOM(grippy, "grippy")
00180 XUL_ATOM(splitter, "splitter")
00181 XUL_ATOM(collapse, "collapse")
00182 XUL_ATOM(collapsed, "collapsed")
00183 XUL_ATOM(resizebefore, "resizebefore")
00184 XUL_ATOM(resizeafter, "resizeafter")
00185 XUL_ATOM(state, "state")
00186 XUL_ATOM(debug, "debug")
00187 
00188 XUL_ATOM(fixed, "fixed")
00189 
00190 // grid
00191 XUL_ATOM(grid, "grid")
00192 XUL_ATOM(rows, "rows")
00193 XUL_ATOM(columns, "columns")
00194 XUL_ATOM(row, "row")
00195 XUL_ATOM(column, "column")
00196 
00197 XUL_ATOM(container, "container")
00198 XUL_ATOM(leaf,"leaf")
00199 
00200 XUL_ATOM(widget, "widget")
00201 XUL_ATOM(window, "window")
00202 XUL_ATOM(page, "page")
00203 XUL_ATOM(dialog, "dialog")
00204 XUL_ATOM(wizard, "wizard")
00205 
00206 XUL_ATOM(iframe, "iframe")
00207 XUL_ATOM(browser, "browser")
00208 XUL_ATOM(editor, "editor")
00209 
00210 // 
00211 
00212 XUL_ATOM(control, "control")
00213 XUL_ATOM(checkbox, "checkbox")
00214 XUL_ATOM(radio, "radio")
00215 XUL_ATOM(radiogroup, "radiogroup")
00216 XUL_ATOM(menulist, "menulist")
00217 XUL_ATOM(menubutton, "menubutton")
00218 XUL_ATOM(textbox, "textbox")
00219 XUL_ATOM(textarea, "textarea")
00220 XUL_ATOM(listbox, "listbox")
00221 XUL_ATOM(listcols, "listcols")
00222 XUL_ATOM(listcol, "listcol")
00223 XUL_ATOM(listhead, "listhead")
00224 XUL_ATOM(listheader, "listheader")
00225 XUL_ATOM(listrows, "listrows")
00226 XUL_ATOM(listboxbody, "listboxbody")
00227 XUL_ATOM(listitem, "listitem")
00228 XUL_ATOM(listcell, "listcell")
00229 XUL_ATOM(tooltip, "tooltip")
00230 XUL_ATOM(titletip, "titletip")
00231 XUL_ATOM(tooltiptext, "tooltiptext")
00232 XUL_ATOM(context, "context")
00233 XUL_ATOM(contextmenu, "contextmenu")
00234 XUL_ATOM(style, "style")
00235 XUL_ATOM(selected, "selected")
00236 XUL_ATOM(clazz, "class")
00237 XUL_ATOM(id, "id")
00238 XUL_ATOM(persist, "persist")
00239 XUL_ATOM(ref, "ref")
00240 XUL_ATOM(command, "command")
00241 XUL_ATOM(value, "value")
00242 XUL_ATOM(label, "label")
00243 XUL_ATOM(width, "width")
00244 XUL_ATOM(height, "height")
00245 XUL_ATOM(left, "left")
00246 XUL_ATOM(top, "top")
00247 XUL_ATOM(events, "events")
00248 XUL_ATOM(targets, "targets")
00249 XUL_ATOM(uri, "uri")
00250 XUL_ATOM(empty, "empty")
00251 XUL_ATOM(textnode, "textnode")
00252 XUL_ATOM(rule, "rule")
00253 XUL_ATOM(action, "action")
00254 XUL_ATOM(containment, "containment")
00255 XUL_ATOM(flags, "flags")
00256 XUL_ATOM(Template, "template")
00257 XUL_ATOM(member, "member")
00258 XUL_ATOM(conditions, "conditions")
00259 XUL_ATOM(property, "property")
00260 XUL_ATOM(instanceOf, "instanceOf")
00261 XUL_ATOM(xulcontentsgenerated, "xulcontentsgenerated")
00262 XUL_ATOM(parent, "parent")
00263 XUL_ATOM(iscontainer, "iscontainer")
00264 XUL_ATOM(isempty, "isempty")
00265 XUL_ATOM(bindings, "bindings")
00266 XUL_ATOM(binding, "binding")
00267 XUL_ATOM(triple, "triple")
00268 XUL_ATOM(subject, "subject")
00269 XUL_ATOM(predicate, "predicate")
00270 XUL_ATOM(child, "child")
00271 XUL_ATOM(object, "object")
00272 XUL_ATOM(tag, "tag")
00273 XUL_ATOM(content, "content")
00274 XUL_ATOM(coalesceduplicatearcs, "coalesceduplicatearcs")
00275 XUL_ATOM(allownegativeassertions, "allownegativeassertions")
00276 XUL_ATOM(datasources, "datasources")
00277 XUL_ATOM(statedatasource,"statedatasource")
00278 XUL_ATOM(commandupdater, "commandupdater")
00279 XUL_ATOM(keyset, "keyset")
00280 XUL_ATOM(element, "element")
00281 XUL_ATOM(attribute, "attribute")
00282 XUL_ATOM(overlay, "overlay")
00283 XUL_ATOM(insertbefore, "insertbefore")
00284 XUL_ATOM(insertafter, "insertafter")
00285 XUL_ATOM(position, "position")
00286 XUL_ATOM(removeelement, "removeelement")
00287 XUL_ATOM(blankrow, "blankrow")
00288 XUL_ATOM(titlebar, "titlebar")
00289 XUL_ATOM(resizer, "resizer")
00290 XUL_ATOM(dir, "dir")
00291 XUL_ATOM(properties, "properties")
00292 XUL_ATOM(resource, "resource")
00293 XUL_ATOM(sort, "sort")
00294 XUL_ATOM(sortLocked, "sortLocked")
00295 XUL_ATOM(sortDirection, "sortDirection")
00296 XUL_ATOM(sortActive, "sortActive")
00297 XUL_ATOM(sortResource, "sortResource")
00298 XUL_ATOM(sortResource2, "sortResource2")
00299 XUL_ATOM(sortSeparators, "sortSeparators")
00300 XUL_ATOM(sortStaticsLast, "sortStaticsLast")
00301 XUL_ATOM(selectedIndex, "selectedIndex")
00302 XUL_ATOM(staticHint, "staticHint")
00303 XUL_ATOM(_star, "*")
00304 XUL_ATOM(defaultz, "default")
00305 XUL_ATOM(screenX, "screenX")
00306 XUL_ATOM(screenY, "screenY")
00307 XUL_ATOM(type, "type")
00308 XUL_ATOM(hidechrome, "hidechrome")
00309 XUL_ATOM(popupset, "popupset")
00310 XUL_ATOM(parsetype, "parsetype")
00311 XUL_ATOM(canvas, "canvas")
00312 XUL_ATOM(infer, "infer")
00313 XUL_ATOM(_true, "true")
00314 XUL_ATOM(align, "align")
00315 XUL_ATOM(flexgroup, "flexgroup")
00316 XUL_ATOM(hidden, "hidden")
00317 XUL_ATOM(statustext, "statustext")
00318 XUL_ATOM(disabled, "disabled")