Class gtk.SmartEntry
Object
|
+--gtk.Object
|
+--gtk.Widget
|
+--gtk.SmartEntry
- class
gtk.SmartEntry
- extends gtk.Widget
Defined in jsgtk_min.js
Constructor Summary |
gtk.SmartEntry(allowLabel)
A widget with an entry which is able to create many tags
|
Methods inherited from class gtk.Widget |
setBoldTitle, getNode, show, hide, activate, setActivateSignal, getActivateSignal, setSizeRequest, setWidth, getWidth, setHeight, getHeight, getSizeRequest, sizeRequest, getSize, _resizeHeight, _resizeWidth, getMinWidthComposite, getMinHeightComposite, resizeWidthComposite, resizeHeightComposite, resetHeightComposite, resetWidthComposite
|
_allowLabel
Object _allowLabel
_entry
Object _entry
_entryWidth
Object _entryWidth
_eventStorage
Object _eventStorage
_filter
Object _filter
_index
Object _index
_isAllowOneTag
Object _isAllowOneTag
_minHeight
Object _minHeight
_minWidth
Object _minWidth
_selectedIndex
Object _selectedIndex
gtk.SmartEntry
gtk.SmartEntry(allowLabel)
A widget with an entry which is able to create many tags
_bindEntryCtrlAKeyEvent
void _bindEntryCtrlAKeyEvent()
_render
void _render()
_unSelectTags
void _unSelectTags()
createFixedTag
void createFixedTag(fixedTag)
setAcceptNumber
void setAcceptNumber(<Integer> index)
set the entry to accept only number
Parameters:
index
- The index of entry to be set. set index = -1 to set all the input in smart entry to accept only number
setDropDown
void setDropDown(filterable, dropDown)
setLabel
void setLabel()
Set the fixed tag in the smart entry. Fixed tag cannot be deleted
Parameters:
arguments
- Label string to be set
setLimitCharacter
void setLimitCharacter(<Integer> index, <Integer> limitedChar)
set the entry to accept limited characters
Parameters:
index
- The index of entry to be set. set index = -1 to apply to all the input in smart entry
limitedChar
- The limited number of characters which is abled to be type to entry
setSize
void setSize(<Integer> width, <Integer> height)
Set the minimum size of SmartEntry
Parameters:
width
- the minimum width to be set
height
- the minimum height to be set
setTailInput
void setTailInput(<String> value)
Set the input value of smartEntry with tail
Parameters:
value
- The value to be set as smartEntry tag
setTailLabel
void setTailLabel(<String> rightTail, <String> label)
Add the tail to smartEntry
Parameters:
rightTail
- The value of right tail to be set
label
- (Optional) The value of label to be set in entry before tail
Documentation generated by
JSDoc on Thu Jan 21 18:07:55 2010