[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/forms/src GFParser.py
From: |
James Thompson |
Subject: |
gnue/forms/src GFParser.py |
Date: |
Tue, 26 Nov 2002 21:38:43 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: James Thompson <address@hidden> 02/11/26 21:38:43
Modified files:
forms/src : GFParser.py
Log message:
moved tabbed to layout in parser (breaks stuff)
start of a <dialog> tag
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFParser.py.diff?tr1=1.94&tr2=1.95&r1=text&r2=text
Patches:
Index: gnue/forms/src/GFParser.py
diff -c gnue/forms/src/GFParser.py:1.94 gnue/forms/src/GFParser.py:1.95
*** gnue/forms/src/GFParser.py:1.94 Tue Nov 26 20:50:59 2002
--- gnue/forms/src/GFParser.py Tue Nov 26 21:38:43 2002
***************
*** 88,112 ****
'Description': 'If set to {Y}, then no modifications to data '
'by the end user will be allowed. The form will
'
'become a query-only form.' },
! 'tabbed': {
'Typecast': GTypecast.name,
'ValueSet': {
! 'left': {},
! 'right': {},
! 'bottom': {},
! 'top': {} },
! 'Default': "",
! 'Description': 'Allows a form to convert it\'s pages as '
! 'notebook tabs. Allowed values are {left}, '
! '{right}, {bottom}, {top}.' } },
! ## 'width': {
! ## 'Typecast': GTypecast.whole,
! ## 'Default': 40,
! ## 'Description': 'The width of the object in text columns.' },
! ## 'height': {
! ## 'Typecast': GTypecast.whole,
! ## 'Default': 12,
! ## 'Description': 'The height of the object in text rows.' } },
'ParentTags': None,
'Description': 'TODO' },
--- 88,103 ----
'Description': 'If set to {Y}, then no modifications to data '
'by the end user will be allowed. The form will
'
'become a query-only form.' },
! 'name': {
! 'Unique': 1,
! 'Typecast': GTypecast.name,
! 'Description': 'A unique ID for the form.' },
! 'style': {
'Typecast': GTypecast.name,
'ValueSet': {
! 'dialog': {} },
! 'Default': '',
! 'Description': '' }, },
'ParentTags': None,
'Description': 'TODO' },
***************
*** 124,130 ****
'Importable': 1,
'SingleInstance': 1,
'ParentTags': ('layout',),
! 'Description': 'TODO' },
'page': {
'BaseClass': GFObjects.GFPage,
--- 115,132 ----
'Importable': 1,
'SingleInstance': 1,
'ParentTags': ('layout',),
! 'Description': 'TODO' ,
! 'tabbed': {
! 'Typecast': GTypecast.name,
! 'ValueSet': {
! 'left': {},
! 'right': {},
! 'bottom': {},
! 'top': {} },
! 'Default': "",
! 'Description': 'Allows a form to convert it\'s pages as '
! 'notebook tabs. Allowed values are {left}, '
! '{right}, {bottom}, {top}.' } },
'page': {
'BaseClass': GFObjects.GFPage,
***************
*** 747,752 ****
--- 749,765 ----
'Description': 'TODO' },
}
+
+ #
+ # Create the dialog alias for the forms
+ #
+ # dialog=xmlElements['form']
+ # dialog['Required'] = 0
+ # dialog['SingleInstance'] = 0
+ # dialog['Attributes']['style']['Default']='dialog'
+ # dialog['ParentTags']= ('form',)
+ # xmlElements.update(dialog)
+
#
# Add DataSource elements