Last page update: November 23, 2011
Classes:
External methods:
Complete reference:
cell() fields() checkboxcell() getFieldNames() defaultArgsForDType() makeRoot() fieldcell() rows() fieldnames() view()
These methods don’t belong to any class.
GnrDomSrc class
Set a new item of the tag type into the current structure through the child() and return it
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
Handle the CSS rules
| Parameters: |
|
|---|
TODO
Create a data and returns it. data allows to define variables from server to client
| Parameters: |
|
|---|
In formbuilder you can put dom and widget elements; its most classic usage is to create a form made by fields and layers, and that’s because formbuilder can manage automatically fields and their positioning
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO Return the formstore handler
| Parameters: |
|
|---|
TODO
| Parameters: | cb – TODO |
|---|
TODO
| Parameters: |
|
|---|
Create a framePane and return it. A framePane is a BorderContainer with five sides added: these sides follow the Dojo borderContainer suddivision: top, bottom, left, right, center
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
Warning
deprecated since version 0.7
TODO
| Parameters: | fld – TODO |
|---|
Create an html child and return it
| Parameters: |
|
|---|
Create an iframe and returns it
| Parameters: |
|
|---|
TODO
TODO
TODO
TODO
| Parameters: |
|
|---|
Build the root through the makeRoot() method and return it
| Parameters: |
|
|---|
TODO
| Parameters: | fields – TODO |
|---|
TODO
TODO
Build a remote and return it
| Parameters: |
|
|---|
Handle the <script> html tag and return it
| Parameters: | content – the <script> content |
|---|
Create the styleSheet
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
The button is a dojo-improved form widget: through the action attribute you can add Javascript callbacks
| Parameters: |
|---|
Return a CheckBox: setting the value to true will check the box while false will uncheck it
| Parameters: |
|
|---|
A group of checkboxes that allow to compose a string with checkbox labels.
| Parameters: |
|
|---|
Create a dataController and returns it. dataController allows to execute Javascript code
| Parameters: |
|
|---|
Create a dataFormula and returns it. dataFormula allows to calculate a value through a formula.
| Parameters: |
|
|---|
Create a dataRecord and returns it. dataRecord allows... TODO
| Parameters: |
|
|---|
Create a dataRemote and returns it. dataRemote is a synchronous dataRpc: it calls a (specified) dataRspc as its resolver. When dataRemote is brought to the client, it will be changed in a Javascript resolver that at the desired path perform the rpc (indicated with the remote attribute).
| Parameters: |
|
|---|
Create a dataResource and returns it. dataResource is a dataRemote that allows... TODO
| Parameters: |
|
|---|
Create a dataRpc and returns it. dataRpc allows the client to make a call to the server to perform an action and returns it.
| Parameters: |
|
|---|
Warning
deprecated since version 0.7. It has been substituted by dataController and dataFormula
Create a dataSelection and returns it. dataSelection allows... TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: | cb – TODO |
|---|
TODO
| Parameters: |
|
|---|
The DropDownButton can be used to build a menu
| Parameters: |
|
|---|
TODO
| Parameters: | field – TODO |
|---|
TODO
| Parameters: |
|---|
The includedView component
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
A line of a menu
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
Return a paletteGrid
| Parameters: |
|
|---|
Return a paletteGroup
| Parameters: | groupCode – TODO |
|---|
Return a palettePane
| Parameters: |
|---|
Return a paletteTree
| Parameters: |
|---|
Radiobuttons are used when you want to let the user select one - and just one - option from a set of choices (if more options are to be allowed at the same time you should use checkboxes instead)
| Parameters: |
|
|---|
Warning
deprecated since version 0.7
TODO
| Parameters: |
|
|---|
TODO
Create a slotBar (a Genro toolbar) and returns it
Note
The slotBar (and the slotToolbar) are the Genro way to easily create a toolbar
| Parameters: |
|
|---|
Return a slotButton. A slotbutton is a button with some preset attributes to create rapidly a button with an icon (set through the iconClass attribute) and with a label that works only as a tooltip: for example you can use a slotButton when you handle a toolbar or a palette
| Parameters: |
|
|---|
TODO
Create a slotToolbar and return it
Note
The slotToolbar is a slotBar with some preset CSS features
Allow to redefine the preset bars of the slotBars and the slotToolbars
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
A toggle button is a button that represents a setting with two states: True and False. Use the iconClass attribute to allow the user to know (see) the current status
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: | fieldobj – TODO |
|---|
TODO
TODO
| Parameters: | r – the row to get |
|---|
TODO
| Parameters: | r – the row from which to get node |
|---|
Get the current row (r attribute) and the current cell (c attribute) of the struct and return the correct next row and cell
| Parameters: |
|
|---|
TODO
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
This class handles the creation of a struct
Return a cell
| Parameters: |
|
|---|
Return a checkboxcell
| Parameters: |
|
|---|
Return a cell that inherits every attribute from the field widget.
| Parameters: |
|
|---|
TODO
| Parameters: | columns – it represents the columns to be returned by the “SELECT” clause in the traditional sql query. For more information, check the columns section |
|---|
TODO
| Parameters: |
|---|
r.fields(‘name/Name:20,address/My Addr:130px....’)
TODO
| Parameters: | columns – it represents the columns to be returned by the “SELECT” clause in the traditional sql query. For more information, check the columns section |
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: |
|
|---|
TODO
| Parameters: | tableobj – the database table object |
|---|
A decorator. Allow to register a new method (in a page or in a component) that will be available in the web structs:
@struct_method
def includedViewBox(self, bc, ...):
pass
def somewhereElse(self, bc):
bc.includedViewBox(...)
If the method name includes an underscore, only the part that follows the first underscore will be the struct method’s name:
@struct_method
def iv_foo(self, bc, ...):
pass
def somewhereElse(self, bc):
bc.foo(...)
You can also pass a name explicitly:
@struct_method('bar')
def foo(self, bc, ...):
pass
def somewhereElse(self, bc):
bc.bar(...)