KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVTextEntry Class Reference

Detailed Description

TGTextEntry without any limit on the length of the text.

Created by KVClassFactory on Tue Dec 11 14:36:47 2007 Author: John Frankland

Definition at line 22 of file KVTextEntry.h.

#include <KVTextEntry.h>

Inheritance diagram for KVTextEntry:

Public Member Functions

 KVTextEntry (const TGWindow *p, TGTextBuffer *text, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kSunkenFrame|kDoubleBorder, Pixel_t back=GetWhitePixel())
 
 KVTextEntry (const TGWindow *parent=0, const char *text=0, Int_t id=-1)
 
 KVTextEntry (const TString &contents, const TGWindow *parent, Int_t id=-1)
 
virtual ~KVTextEntry ()
 
virtual void Insert (const char *)
 
virtual void SetMaxLength (Int_t maxlen)
 
virtual void SetText (const char *text, Bool_t=kTRUE)
 
- Public Member Functions inherited from TGTextEntry
 TGTextEntry (const TGWindow *p, TGTextBuffer *text, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kSunkenFrame|kDoubleBorder, Pixel_t back=GetWhitePixel())
 
 TGTextEntry (const TGWindow *parent=nullptr, const char *text=nullptr, Int_t id=-1)
 
 TGTextEntry (const TString &contents, const TGWindow *parent, Int_t id=-1)
 
 ~TGTextEntry () override
 
virtual void AppendText (const char *text)
 
void Backspace ()
 
void Clear (Option_t *option="") override
 
void CursorLeft (Bool_t mark=kFALSE, Int_t steps=1)
 
virtual void CursorOutDown ()
 
virtual void CursorOutLeft ()
 
virtual void CursorOutRight ()
 
virtual void CursorOutUp ()
 
void CursorRight (Bool_t mark=kFALSE, Int_t steps=1)
 
void CursorWordBackward (Bool_t mark=kFALSE)
 
void CursorWordForward (Bool_t mark=kFALSE)
 
void Cut ()
 
void Del ()
 
void Deselect ()
 
virtual void DoubleClicked ()
 
void DrawBorder () override
 
void End (Bool_t mark=kFALSE)
 
ETextJustification GetAlignment () const
 
TGTextBufferGetBuffer () const
 
Int_t GetCursorPosition () const
 
TGDimension GetDefaultSize () const override
 
TString GetDisplayText () const
 
EEchoMode GetEchoMode () const
 
FontStruct_t GetFontStruct () const
 
Pixel_t GetForeground () const override
 
EInsertMode GetInsertMode () const
 
TString GetMarkedText () const
 
Int_t GetMaxLength () const
 
const char * GetText () const
 
Pixel_t GetTextColor () const
 
const char * GetTitle () const override
 
virtual TGToolTipGetToolTip () const
 
Bool_t HandleButton (Event_t *event) override
 
Bool_t HandleConfigureNotify (Event_t *event) override
 
Bool_t HandleCrossing (Event_t *event) override
 
Bool_t HandleDoubleClick (Event_t *event) override
 
Bool_t HandleFocusChange (Event_t *event) override
 
Bool_t HandleKey (Event_t *event) override
 
Bool_t HandleMotion (Event_t *event) override
 
Bool_t HandleSelection (Event_t *event) override
 
Bool_t HandleSelectionClear (Event_t *event) override
 
Bool_t HandleSelectionRequest (Event_t *event) override
 
Bool_t HandleTimer (TTimer *t) override
 
Bool_t HasMarkedText () const
 
Bool_t HasOwnFont () const
 
void Home (Bool_t mark=kFALSE)
 
virtual void InsertText (const char *text, Int_t pos)
 
TClassIsA () const override
 
Bool_t IsEdited () const
 
Bool_t IsFrameDrawn () const
 
void Layout () override
 
void MarkWord (Int_t pos)
 
Int_t MaxMark () const
 
Int_t MinMark () const
 
void NewMark (Int_t pos)
 
void Remove ()
 
virtual void RemoveText (Int_t start, Int_t end)
 
virtual void ReturnPressed ()
 
void SavePrimitive (std::ostream &out, Option_t *option="") override
 
virtual void SelectAll ()
 
virtual void SetAlignment (ETextJustification mode=kTextLeft)
 
virtual void SetCursorPosition (Int_t pos)
 
virtual void SetDefaultSize (UInt_t w, UInt_t h)
 
virtual void SetEchoMode (EEchoMode mode=kNormal)
 
void SetEdited (Bool_t flag=kTRUE)
 
void SetEnabled (Bool_t flag=kTRUE)
 
virtual void SetFocus ()
 
virtual void SetFont (const char *fontName, Bool_t local=kTRUE)
 
virtual void SetFont (FontStruct_t font, Bool_t local=kTRUE)
 
virtual void SetFont (TGFont *font, Bool_t local=kTRUE)
 
void SetForegroundColor (Pixel_t fore) override
 
virtual void SetFrameDrawn (Bool_t flag=kTRUE)
 
virtual void SetInsertMode (EInsertMode mode=kInsert)
 
virtual void SetState (Bool_t state)
 
virtual void SetTextColor (Pixel_t color, Bool_t local=kTRUE)
 
virtual void SetTextColor (TColor *color, Bool_t local=kTRUE)
 
virtual void SetTitle (const char *label)
 
virtual void SetToolTipText (const char *text, Long_t delayms=500)
 
virtual void ShiftTabPressed ()
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void TabPressed ()
 
virtual void TextChanged (const char *text=nullptr)
 
- Public Member Functions inherited from TGFrame
 TGFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=0, Pixel_t back=GetDefaultFrameBackground())
 
 TGFrame (TGClient *c, Window_t id, const TGWindow *parent=nullptr)
 
 ~TGFrame () override
 
virtual void Activate (Bool_t)
 
void AddInput (UInt_t emask)
 
virtual void ChangeBackground (Pixel_t back)
 
virtual void ChangeOptions (UInt_t options)
 
Bool_t Contains (Int_t x, Int_t y) const
 
void Delete (Option_t *="") override
 
virtual void DeleteWindow ()
 
void DrawClass () const override
 
TObjectDrawClone (Option_t *="") const override
 
virtual void DrawCopy (Handle_t, Int_t, Int_t)
 
void Dump () const override
 
virtual Pixel_t GetBackground () const
 
Int_t GetBorderWidth () const
 
virtual UInt_t GetDefaultHeight () const
 
virtual UInt_t GetDefaultWidth () const
 
virtual TDNDDataGetDNDData (Atom_t)
 
virtual Int_t GetDragType () const
 
virtual Int_t GetDropType () const
 
UInt_t GetEventMask () const
 
TGFrameElementGetFrameElement () const
 
virtual TGFrameGetFrameFromPoint (Int_t x, Int_t y)
 
UInt_t GetHeight () const
 
UInt_t GetMaxHeight () const
 
UInt_t GetMaxWidth () const
 
UInt_t GetMinHeight () const
 
UInt_t GetMinWidth () const
 
virtual UInt_t GetOptions () const
 
TGDimension GetSize () const
 
UInt_t GetWidth () const
 
Int_t GetX () const
 
Int_t GetY () const
 
virtual Bool_t HandleClientMessage (Event_t *event)
 
virtual Bool_t HandleColormapChange (Event_t *)
 
virtual Bool_t HandleDNDDrop (TDNDData *)
 
virtual Atom_t HandleDNDEnter (Atom_t *)
 
virtual Bool_t HandleDNDFinished ()
 
virtual Bool_t HandleDNDLeave ()
 
virtual Atom_t HandleDNDPosition (Int_t, Int_t, Atom_t, Int_t, Int_t)
 
virtual Bool_t HandleDragDrop (TGFrame *, Int_t, Int_t, TGLayoutHints *)
 
virtual Bool_t HandleDragEnter (TGFrame *)
 
virtual Bool_t HandleDragLeave (TGFrame *)
 
virtual Bool_t HandleDragMotion (TGFrame *)
 
Bool_t HandleEvent (Event_t *event) override
 
void Inspect () const override
 
virtual Bool_t IsActive () const
 
virtual Bool_t IsComposite () const
 
Bool_t IsDNDSource () const
 
Bool_t IsDNDTarget () const
 
Bool_t IsEditable () const override
 
virtual Bool_t IsLayoutBroken () const
 
void MapRaised () override
 
void MapSubwindows () override
 
void MapWindow () override
 
void Move (Int_t x, Int_t y) override
 
void MoveResize (Int_t x, Int_t y, UInt_t w=0, UInt_t h=0) override
 
void Print (Option_t *option="") const override
 
virtual void ProcessedConfigure (Event_t *event)
 
virtual void ProcessedEvent (Event_t *event)
 
virtual Bool_t ProcessMessage (Longptr_t, Longptr_t, Longptr_t)
 
virtual void ReallyDelete ()
 
void RemoveInput (UInt_t emask)
 
void ReparentWindow (const TGWindow *p, Int_t x=0, Int_t y=0) override
 
virtual void Resize (TGDimension size)
 
void Resize (UInt_t w=0, UInt_t h=0) override
 
void SaveUserColor (std::ostream &out, Option_t *)
 
virtual void SendMessage (const TGWindow *w, Longptr_t msg, Longptr_t parm1, Longptr_t parm2)
 
void SetBackgroundColor (Pixel_t back) override
 
virtual void SetCleanup (Int_t=kLocalCleanup)
 
void SetDNDSource (Bool_t onoff)
 
void SetDNDTarget (Bool_t onoff)
 
virtual void SetDragType (Int_t type)
 
void SetDrawOption (Option_t *="") override
 
virtual void SetDropType (Int_t type)
 
void SetEditable (Bool_t) override
 
void SetFrameElement (TGFrameElement *fe)
 
virtual void SetHeight (UInt_t h)
 
virtual void SetLayoutBroken (Bool_t=kTRUE)
 
virtual void SetMaxHeight (UInt_t h)
 
virtual void SetMaxWidth (UInt_t w)
 
virtual void SetMinHeight (UInt_t h)
 
virtual void SetMinWidth (UInt_t w)
 
virtual void SetSize (const TGDimension &s)
 
virtual void SetWidth (UInt_t w)
 
virtual void SetX (Int_t x)
 
virtual void SetY (Int_t y)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
void UnmapWindow () override
 
- Public Member Functions inherited from TGWindow
 TGWindow (const TGWindow *p=nullptr, Int_t x=0, Int_t y=0, UInt_t w=0, UInt_t h=0, UInt_t border=0, Int_t depth=0, UInt_t clss=0, void *visual=nullptr, SetWindowAttributes_t *attr=nullptr, UInt_t wtype=0)
 
 TGWindow (TGClient *c, Window_t id, const TGWindow *parent=nullptr)
 
 ~TGWindow () override
 
virtual void DestroySubwindows ()
 
virtual void DestroyWindow ()
 
virtual UInt_t GetEditDisabled () const
 
virtual const TGWindowGetMainFrame () const
 
const char * GetName () const override
 
const TGWindowGetParent () const
 
virtual Bool_t HandleExpose (Event_t *event)
 
virtual Bool_t HandleIdleEvent (TGIdleHandler *)
 
Bool_t HandleTimer (TTimer *) override
 
virtual void IconifyWindow ()
 
TClassIsA () const override
 
virtual Bool_t IsMapped ()
 
virtual Bool_t IsMapSubwindows () const
 
virtual void LowerWindow ()
 
virtual Int_t MustCleanup () const
 
void Print (Option_t *option="") const override
 
virtual void RaiseWindow ()
 
virtual void RequestFocus ()
 
virtual void SetBackgroundPixmap (Pixmap_t pixmap)
 
virtual void SetEditDisabled (UInt_t on=kEditDisable)
 
virtual void SetMapSubwindows (Bool_t)
 
virtual void SetName (const char *name)
 
virtual void SetWindowName (const char *name=nullptr)
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TGObject
 TGObject ()
 
 TGObject (const TGObject &tgo)
 
 ~TGObject () override
 
TGClientGetClient () const
 
Handle_t GetId () const
 
ULong_t Hash () const override
 
Bool_t IsEqual (const TObject *obj) const override
 
void SaveAs (const char *filename="", Option_t *option="") const override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) const
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *vp)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, void *vp)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 
- Public Member Functions inherited from TQObject
 TQObject ()
 
virtual ~TQObject ()
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 
void Emit (const char *signal, const T &arg)
 
void EmitVA (const char *signal_name, Int_t, const T &... params)
 
TListGetListOfClassSignals () const
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 
virtual void HighPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=nullptr)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 
virtual Int_t NumberOfSignals () const
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TGWidget
 TGWidget ()
 
 TGWidget (Int_t id)
 
virtual ~TGWidget ()
 
virtual void Associate (const TGWindow *w)
 
const char * GetCommand () const
 
Bool_t HasFocus () const
 
Bool_t IsEnabled () const
 
virtual void SetCommand (const char *command)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
Bool_t WantFocus () const
 
Int_t WidgetId () const
 

Additional Inherited Members

- Public Types inherited from TGTextEntry
enum  EEchoMode
 
enum  EInsertMode
 
- Public Types inherited from TGWindow
enum  EEditMode
 
enum  EStatusBits
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TGTextEntry
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static FontStruct_t GetDefaultFontStruct ()
 
static const TGGCGetDefaultGC ()
 
- Static Public Member Functions inherited from TGFrame
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static const TGGCGetBckgndGC ()
 
static const TGGCGetBlackGC ()
 
static Pixel_t GetBlackPixel ()
 
static Pixel_t GetDefaultFrameBackground ()
 
static Pixel_t GetDefaultSelectedBackground ()
 
static const TGGCGetHilightGC ()
 
static const TGGCGetShadowGC ()
 
static const TGGCGetWhiteGC ()
 
static Pixel_t GetWhitePixel ()
 
- Static Public Member Functions inherited from TGWindow
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Int_t GetCounter ()
 
- Static Public Member Functions inherited from TGObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 
static Bool_t BlockAllSignals (Bool_t b)
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 
static const char * DeclFileName ()
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=nullptr, const char *slot=nullptr)
 
static Bool_t Disconnect (TQObject *sender, const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
 
- Static Public Member Functions inherited from TGWidget
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Public Attributes inherited from TGTextEntry
 kInsert
 
 kNoEcho
 
 kNormal
 
 kPassword
 
 kReplace
 
- Public Attributes inherited from TGWindow
 kEditDisable
 
 kEditDisableBtnEnable
 
 kEditDisableEvents
 
 kEditDisableGrab
 
 kEditDisableHeight
 
 kEditDisableKeyEnable
 
 kEditDisableLayout
 
 kEditDisableResize
 
 kEditDisableWidth
 
 kEditEnable
 
 kIsHtmlView
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TGTextEntry
void CopyText () const
 
void DoRedraw () override
 
Int_t GetCharacterIndex (Int_t xcoord)
 
virtual void Init ()
 
virtual Bool_t IsCursorOutOfFrame ()
 
void Paste ()
 
virtual void PastePrimary (Window_t wid, Atom_t property, Bool_t del)
 
virtual void ScrollByChar ()
 
virtual void UpdateOffset ()
 
- Protected Member Functions inherited from TGFrame
virtual void Draw3dRectangle (UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
 
TString GetOptionString () const
 
const TGResourcePoolGetResourcePool () const
 
voidGetSender () override
 
virtual void StartGuiBuilding (Bool_t on=kTRUE)
 
- Protected Member Functions inherited from TGWindow
 TGWindow (const TGWindow &tgw)
 
 TGWindow (Window_t id)
 
TGWindowoperator= (const TGWindow &tgw)
 
- Protected Member Functions inherited from TGObject
TGObjectoperator= (const TGObject &tgo)
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Member Functions inherited from TQObject
virtual const char * GetSenderClassName () const
 
- Protected Member Functions inherited from TGWidget
 TGWidget (const TGWidget &tgw)
 
Int_t ClearFlags (Int_t flags)
 
TGWidgetoperator= (const TGWidget &tgw)
 
Int_t SetFlags (Int_t flags)
 
- Static Protected Member Functions inherited from TGTextEntry
static const TGGCGetDefaultSelectedBackgroundGC ()
 
static const TGGCGetDefaultSelectedGC ()
 
- Static Protected Member Functions inherited from TGFrame
static Time_t GetLastClick ()
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 
static TString CompressName (const char *method_name)
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 
- Protected Attributes inherited from TGTextEntry
ETextJustification fAlignment
 
Atom_t fClipboard
 
TBlinkTimerfCurBlink
 
Int_t fCursorIX
 
Bool_t fCursorOn
 
Int_t fCursorX
 
UInt_t fDefHeight
 
UInt_t fDefWidth
 
EEchoMode fEchoMode
 
Bool_t fEdited
 
Int_t fEndIX
 
Int_t fEndX
 
FontStruct_t fFontStruct
 
Bool_t fFrameDrawn
 
Bool_t fHasOwnFont
 
EInsertMode fInsertMode
 
Int_t fMaxLen
 
TGGC fNormGC
 
Int_t fOffset
 
GContext_t fSelbackGC
 
Bool_t fSelectionOn
 
TGGC fSelGC
 
Int_t fStartIX
 
Int_t fStartX
 
TGTextBufferfText
 
TGToolTipfTip
 
- Protected Attributes inherited from TGFrame
Pixel_t fBackground
 
Int_t fBorderWidth
 
Int_t fDNDState
 
UInt_t fEventMask
 
TGFrameElementfFE
 
UInt_t fHeight
 
UInt_t fMaxHeight
 
UInt_t fMaxWidth
 
UInt_t fMinHeight
 
UInt_t fMinWidth
 
UInt_t fOptions
 
UInt_t fWidth
 
Int_t fX
 
Int_t fY
 
 kDeleteWindowCalled
 
- Protected Attributes inherited from TGWindow
UInt_t fEditDisabled
 
TString fName
 
Bool_t fNeedRedraw
 
const TGWindowfParent
 
- Protected Attributes inherited from TGObject
TGClientfClient
 
Handle_t fId
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 
- Protected Attributes inherited from TGWidget
TString fCommand
 
const TGWindowfMsgWindow
 
Int_t fWidgetFlags
 
Int_t fWidgetId
 
- Static Protected Attributes inherited from TGTextEntry
static TStringfgClipboardText
 
static const TGFontfgDefaultFont
 
static const TGGCfgDefaultGC
 
static const TGGCfgDefaultSelectedBackgroundGC
 
static const TGGCfgDefaultSelectedGC
 
- Static Protected Attributes inherited from TGFrame
static const TGGCfgBckgndGC
 
static const TGGCfgBlackGC
 
static Pixel_t fgBlackPixel
 
static Window_t fgDbw
 
static Int_t fgDbx
 
static Int_t fgDby
 
static Pixel_t fgDefaultFrameBackground
 
static Pixel_t fgDefaultSelectedBackground
 
static const TGGCfgHilightGC
 
static Bool_t fgInit
 
static UInt_t fgLastButton
 
static Time_t fgLastClick
 
static const TGGCfgShadowGC
 
static UInt_t fgUserColor
 
static const TGGCfgWhiteGC
 
static Pixel_t fgWhitePixel
 
- Static Protected Attributes inherited from TGWindow
static Int_t fgCounter
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked
 

Constructor & Destructor Documentation

◆ KVTextEntry() [1/3]

KVTextEntry::KVTextEntry ( const TGWindow p,
TGTextBuffer text,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = kSunkenFrame | kDoubleBorder,
Pixel_t  back = GetWhitePixel() 
)
inline

Definition at line 25 of file KVTextEntry.h.

◆ KVTextEntry() [2/3]

KVTextEntry::KVTextEntry ( const TGWindow parent = 0,
const char *  text = 0,
Int_t  id = -1 
)
inline

Definition at line 32 of file KVTextEntry.h.

◆ KVTextEntry() [3/3]

KVTextEntry::KVTextEntry ( const TString contents,
const TGWindow parent,
Int_t  id = -1 
)
inline

Definition at line 35 of file KVTextEntry.h.

◆ ~KVTextEntry()

virtual KVTextEntry::~KVTextEntry ( )
inlinevirtual

Definition at line 38 of file KVTextEntry.h.

Member Function Documentation

◆ Insert()

void KVTextEntry::Insert ( const char *  newText)
virtual

Removes any currently selected text, inserts newText, sets it as the new contents of the text entry.

Reimplemented from TGTextEntry.

Definition at line 68 of file KVTextEntry.cpp.

◆ SetMaxLength()

void KVTextEntry::SetMaxLength ( Int_t  maxlen)
virtual

Set the maximum length of the text in the editor. Any marked text will be unmarked. The cursor position is set to 0 and the first part of the string is shown, but no truncation ever takes place.

Reimplemented from TGTextEntry.

Definition at line 49 of file KVTextEntry.cpp.

◆ SetText()

void KVTextEntry::SetText ( const char *  text,
Bool_t  emit = kTRUE 
)
virtual

Sets text entry to text, clears the selection and moves the cursor to the end of the line. Whatever the value of fMaxLen (set with SetMaxLength()), no truncation takes place, i.e. the text is of unlimited length.

Reimplemented from TGTextEntry.

Definition at line 22 of file KVTextEntry.cpp.