Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
Classes | Typedefs | Functions | Variables
browseText.pkg File Reference

New BrowseText widget API. More...

Classes

struct  BrowseText
 Opaque internal structure. You should not call it directly, use API instead ! More...
 

Typedefs

typedef struct mkBrowseText BrowseText
 

Functions

 _ADDbrowseTextContent (bt, szAddContent)
 Add (append) a content to the text field. More...
 
 _BUILDbrowseTextDialog (bt, dlgType, initPath, initName, filter)
 Build a predefined dialog box to a BrowseText control. More...
 
 _CBbrowseTextChanged (bt, cbfun, uparam)
 Define the content changed event callback to the text field of a BrowseText control. More...
 
 _CBbrowseTextClick (bt, cbfun, uparam)
 Define the click event callback to a BrowseText control. More...
 
 _CBbrowseTextClose (bt, cbfun, uparam)
 Define the close event callback to a BrowseText control. More...
 
 _CBbrowseTextDestroy (bt, cbfun, uparam)
 Define the destroy event callback to a BrowseText control. More...
 
 _CBbrowseTextDialogDir (bt, cbfun)
 Define the open directory dialog event callback to a BrowseText control. More...
 
 _CBbrowseTextDialogOpen (bt, cbfun)
 Define the open single file dialog event callback to a BrowseText control. More...
 
 _CBbrowseTextDialogOpenMulti (bt, cbfun)
 Define the open multi file dialog event callback to a BrowseText control. More...
 
 _CBbrowseTextDialogSave (bt, cbfun)
 Define the save file dialog event callback to a BrowseText control. More...
 
 _CBbrowseTextDragDrop (bt, cbfun, uparam)
 Define the drag & drop event callback to a BrowseText control. More...
 
 _CBbrowseTextLineOk (bt, cbfun, uparam)
 Define the key return pushed event callback to the text field of a BrowseText control. More...
 
 _CBbrowseTextMove (bt, cbfun, uparam)
 Define the move event callback to a BrowseText control. More...
 
 _CBbrowseTextPaint (bt, cbfun, uparam)
 Define the paint event callback to a BrowseText control. More...
 
 _CBbrowseTextSize (bt, cbfun, uparam)
 Define the resize event callback to a BrowseText control. More...
 
 _CRbrowseTextMulti (chn, mother, x, y, w, h)
 Create a default multi-line browseText. More...
 
 _CRbrowseTextMultiEx (chn, mother, x, y, w, h, flags, leftButton)
 Create a multi-line browseText. More...
 
 _CRbrowseTextSingle (chn, mother, x, y, w, h)
 Create a default browseText with a single line. More...
 
 _CRbrowseTextSingleEx (chn, mother, x, y, w, h, flags, leftButton)
 Create a browseText with a single line. More...
 
 _DSbrowseText (bt)
 Destroy a browseText control. More...
 
 _ENbrowseText (bt, flag)
 Enable or Disable a BrowseText control. More...
 
 _ENbrowseTextButton (bt, state)
 Enable or Disable the button of a BrowseText control. More...
 
 _ENbrowseTextText (bt, state)
 Enable or Disable the text field of a BrowseText control. More...
 
 _GETbrowseTextButtonBitmap (bt)
 Return the current ObjBitmap button of a BrowseText control. More...
 
 _GETbrowseTextButtonCoord (bt)
 Return the current position and size of the button of a BrowseText control. More...
 
 _GETbrowseTextContent (bt)
 Return the current text in the BrowseText. More...
 
 _GETbrowseTextContentLine (bt, iNumber)
 Return the content of a line from a text of a BrowseText control. More...
 
 _GETbrowseTextEnabled (bt)
 Return the current state of a BrowseText control. More...
 
 _GETbrowseTextFirstLine (bt)
 Return the number of the first visible text line of a BrowseText control. More...
 
 _GETbrowseTextFont (bt)
 Return the current font object used by the BrowseText. More...
 
 _GETbrowseTextFontName (bt)
 Return the current font name used by the BrowseText. More...
 
 _GETbrowseTextLines (bt)
 Return the number of lines from a text of a BrowseText control. More...
 
 _GETbrowseTextPosition (bt)
 Return the current position of a BrowseText control in its parent window. More...
 
 _GETbrowseTextShown (bt)
 Return if a BrowseText control is shown or hidden. More...
 
 _GETbrowseTextSize (bt)
 Return the current size of a BrowseText control. More...
 
 _GETbrowseTextSizeButton (bt)
 Return the current button size of a BrowseText control. More...
 
 _GETbrowseTextSizeMax (bt)
 Return the current maxi size of a BrowseText control. More...
 
 _GETbrowseTextSizeMaxDefault ()
 Return the current maxi absolute size of a BrowseText control. More...
 
 _GETbrowseTextSizeMin (bt)
 Return the current mini size of a BrowseText control. More...
 
 _GETbrowseTextSizeMinDefault ()
 Return the current mini absolute size of a BrowseText control. More...
 
 _GETbrowseTextTextCoord (bt)
 Return the current position and size of the text field of a BrowseText control. More...
 
 _GETbrowseTextTip (bt)
 Return the current button tip of a BrowseText control. More...
 
 _GETbrowseTextTitle (bt)
 Return the current title of the button inside the BrowseText. More...
 
 _MOVEbrowseText (bt, newx, newy)
 Move a BrowseText control in its parent window. More...
 
 _REBUILDbrowseText (bt)
 Rebuild a browseText. More...
 
 _REMOVEbrowseTextLine (bt, iNumber)
 Remove a line in the text of a BrowseText control. More...
 
 _SCROLLbrowseText (bt, iColumn, iLine)
 Perform a scrolling to the character defined by its colummn and line coordinates from a text of a BrowseText control. More...
 
 _SCROLLbrowseTextV (bt, iLine)
 Perform a scrolling to the line defined by its number from a text of a BrowseText control. More...
 
 _SETbrowseTextButtonAction (bt, dlgType, initPath, initName, filter)
 
 _SETbrowseTextButtonBitmap (bt, oBmp)
 Display a bitmap instead of the title in the button of a BrowseText control. More...
 
 _SETbrowseTextContent (bt, szNewContent)
 (Re)Define a new content to the text field More...
 
 _SETbrowseTextFirstLine (bt, iLine)
 Set the number of the first visible line from a text of a BrowseText control. More...
 
 _SETbrowseTextFont (bt, font)
 Set a font object to the control (the text field and the button) More...
 
 _SETbrowseTextFontName (bt, szFont, iSize, iRotation, iFlag)
 Define a new font to the control (the text field and the button) More...
 
 _SETbrowseTextSizeMax (bt, maxw, mawh)
 Set the maximale size to a BrowseText control. More...
 
 _SETbrowseTextSizeMin (bt, minw, minh)
 Set the minimale size to a BrowseText control. More...
 
 _SETbrowseTextTip (bt, szTip)
 Display a 'tip' on the button of a BrowseText control. More...
 
 _SETbrowseTextTitle (bt, szNewTitle)
 Define the title of the button inside the BrowseText. More...
 
 _SHOWbrowseText (bt, state)
 Define if a BrowseText control is shown or hide. More...
 
 _SIZEbrowseText (bt, neww, newh)
 Set a new size to a BrowseText control. More...
 
 _SIZEbrowseTextButton (bt, buttonSizeW, buttonSizeH)
 Set the size to the button of a BrowseText control. More...
 
 browsertext_cbChanged (o, u)
 
 browsertext_cbClick (o, u)
 
 browsertext_cbClickWin (o, u, paf, pef, pif)
 
 browsertext_cbClose (o, u)
 
 browsertext_cbDestroy (o, u)
 
 browsertext_cbDragDrop (o, u, paf, pef, pFiles)
 
 browsertext_cbLineOk (o, u, content)
 
 browsertext_cbMove (o, u, x, y)
 
 browsertext_cbPaint (o, u)
 
 browsertext_cbSize (o, u, w, h)
 
 browsertext_destroy (bt)
 
 browsetext_calculSize (bt)
 
 browsetext_cbDlgDir (o, bt, szFile)
 
 browsetext_cbDlgOpenMulti (o, bt, pFiles)
 
 browsetext_cbDlgOpenSingle (o, bt, pFile)
 
 browsetext_cbDlgSave (o, bt, wFile)
 
 browsetext_create (bt, chn, mother, x, y, w, h, flagMulti, flagsText, leftButton, fonte)
 
 browsetext_createButtonBitamp (bt)
 
 browsetext_dsBitmap (bt)
 
 browsetext_font (bt)
 
 browsetext_init ()
 
 browsetext_move (bt, newx, newy)
 
 browsetext_reset (bt)
 
 browsetext_resize (bt, neww, newh)
 
 browseText_setDlg (bt, type, initPath, initName, filter)
 
 BT_AHSCROLL ()
 Constante : allow horizontal scrolling in the text field. More...
 
 BT_ALIGN_CENTER ()
 Constante : set the center alignement in the text field. More...
 
 BT_ALIGN_LEFT ()
 Constante : set the left alignement in the text field. More...
 
 BT_ALIGN_RIGHT ()
 Constante : set the right alignement in the text field. More...
 
 BT_AVSCROLL ()
 Constante : allow vertical scrolling in the text field. More...
 
 BT_BORDER ()
 Constante : display a border around the text field. More...
 
 BT_DISABLE ()
 Constante : disable the browserText. More...
 
 BT_DLGDIR ()
 
 BT_DLGOPENMULTI ()
 
 BT_DLGOPENSINGLE ()
 
 BT_DLGSAVE ()
 
 BT_DOWN ()
 Constante : display a 3d border around the text field. More...
 
 BT_DRAGDROP ()
 Constante : allow drag and drop inside the browserText. More...
 
 BT_ENABLE ()
 Constante : enable the browserText. More...
 
 BT_HIDDEN ()
 Constante : hide the browseText when creating. More...
 
 BT_HIDE ()
 Constante : hide the browserText. More...
 
 BT_HSCROLL ()
 Constante : display horizontal scroll box in the text field. More...
 
 BT_LOWERCASE ()
 Constante : set the lower case content in the text field. More...
 
 BT_NOEDITABLE ()
 Constante : set the text field no editable. More...
 
 BT_NUMBER ()
 Constante : set the text field to only numbers. More...
 
 BT_PASSWORD ()
 Constante : set the text field as a password field (display only '*') More...
 
 BT_SHOW ()
 Constante : show the browserText. More...
 
 BT_VSCROLL ()
 Constante : display vertical scroll box in the text field. More...
 

Variables

var BT_MAXSIZE =9999
 Maximum fixed size for a browserText. By default, it is 9999 pixels.
 
var BT_MINSIZE =1
 Minimum fixed size for a browserText. By default, it is 1 pixels.
 

Detailed Description

New BrowseText widget API.

Author
Scol team
Version
0.1
browsetext.png