File: HTMLgen-Input.html

package info (click to toggle)
htmlgen 2.2.2-12.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,840 kB
  • ctags: 1,480
  • sloc: python: 4,518; makefile: 93
file content (74 lines) | stat: -rw-r--r-- 3,379 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>

<!-- This file generated using Python HTMLgen module. -->
<HEAD>
  <META NAME="GENERATOR" CONTENT="HTMLgen 2.2.2">
        <TITLE>Class Input - General Form Input tags.</TITLE>

 <LINK rel=stylesheet href="HTMLgen.css" type=text/css title="HTMLgen.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" BACKGROUND="../image/bg-dots.gif" TEXT="#000000" LINK="#EE0000" VLINK="#990000">
<A HREF="HTMLgen-InitialCaps.html"><IMG src="../image/back.gif" height="22" width="66" alt="Previous" border="0"></A> 
<A HREF="HTMLgen-KBD.html"><IMG src="../image/next.gif" height="22" width="66" alt="Next" border="0"></A> 
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif"> 
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif"> 
<H3>Class Input - General Form Input tags.</H3>
<HR>

<H2>SYNOPSIS</H2>

<PRE>import HTMLgen</PRE>

<PRE>class Input
  def __init__(self, **kw)
  string __module__ = 'HTMLgen'
  def __str__(self)
  RegexObject re_type = &lt;re.RegexObject instance a ...
</PRE>

<H2>Keyword Arguments</H2>

<DL>
<DT><B>    type</B><DD>'TEXT' (default) Supported types include password, checkbox,
                  radio, file, submit, reset, hidden.
<DT><B>    name</B><DD>provides the datum name
<DT><B>    value</B><DD>the initial value of the input item
<DT><B>    checked</B><DD>flag indicating if the item is checked initially
<DT><B>    size</B><DD>size of the widget (e.g. size=10 for a text widget is it's width)
<DT><B>    maxlength</B><DD>maximum number of characters accepted by the textfield.
<DT><B>    border</B><DD>border width in pixels for an image type.
<DT><B>    align</B><DD>top|middle|bottom align w.r.t. adjoining text for image types.
<DT><B>    llabel </B><DD>an optional string set to the left of the widget
<DT><B>    rlabel </B><DD>an optional string set to the right of the widget
<DT><B>    onBlur</B><DD>script, which is executed, when the field loses focus,
              useful for the text-type 
<DT><B>    onChange</B><DD>script, which is executed, when the field value changed,
                useful for the text-type
<DT><B>    onClick</B><DD>script, which is executed, when the field in clicked,
               useful for the button, checkbox, radio, submit, reset type
<DT><B>    onFocus</B><DD>script, which is executed, when the field receives focus,
               useful for the text-type
<DT><B>    onSelect</B><DD>script, which is executed, when part of the field 
                is selected, useful for the text-type

</DL>

<H2>SEE ALSO</H2>


<P><A HREF="HTMLgen_overview.html">HTMLgen</A></P>


<P><HR>
<A HREF="HTMLgen-InitialCaps.html"><IMG src="../image/back.gif" height="22" width="66" alt="Previous" border="0"></A> 
<A HREF="HTMLgen-KBD.html"><IMG src="../image/next.gif" height="22" width="66" alt="Next" border="0"></A> 
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif"> 
<IMG src="../image/blank.gif" height="22" width="66" alt="blank.gif"> 
<BR><IMG src="../image/Buzz.gif" height="51" width="56" alt="Buzz.gif" align="bottom">
<FONT SIZE="-1"><P>Copyright &#169 Robin Friedrich<BR>All Rights Reserved<BR>

Comments to author: <A HREF="mailto:&#102;r&#105;e&#100;r&#105;c&#104;@&#112;y&#116;h&#111;n&#112;r&#111;s&#46;c&#111;m">friedrich@pythonpros.com</A><br>
Generated: Tue Apr 20, 1999 <BR><hr>
</FONT>
</BODY> </HTML>