Provides a gtk+ gtktextview wrapper. This widget works under a buffer-view model, text buffer take care of changes and text view of displaying. Any change to text buffer will reflect automagically into text view.
This widget substitutes old VDKText used on vdkbuilder version <= 1.2.5 and now deprecated even if will remain in use on earlier versions of VDK 2.0 series.
More...
|
| VDKTextView (VDKForm *owner, VDKTextBuffer *buffer=NULL, int left_border=0) |
|
virtual | ~VDKTextView () |
|
virtual void | SetForeground (VDKRgb rgb, GtkStateType state=GTK_STATE_NORMAL) |
|
virtual void | SetBackground (VDKRgb color, GtkStateType state=GTK_STATE_NORMAL) |
|
virtual void | SetFont (VDKFont *font) |
|
VDKTextBuffer * | Buffer (VDKTextBuffer *buff=NULL) |
|
void | TextBorder (int size, int which=TVB_ALL) |
|
void | ScrollToPos (int pointer=-1, int margin=0) |
|
void | ScrollToLine (int line, int col, int margin=0) |
|
bool | LoadFromFile (char *filename) |
|
void | Clear () |
|
gchar * | GetChars (int start=0, int end=-1) |
|
bool | SaveToFile (char *filename) |
|
void | Thaw () |
|
void | Freeze () |
|
void | Undo () |
|
void | Eol () |
|
void | TextInsert (const char *txt, int nchar=-1) |
|
void | ForwardDelete (int nchars) |
|
void | BackwardDelete (int nchars) |
|
bool | IsLineVisible (int line) |
|
int | GetLineAtOffset (int offset) |
|
int | BorderWidth (int w=-1) |
|
virtual void | Add (VDKObject *obj, int justify=l_justify, int expand=TRUE, int fill=TRUE, int padding=0) |
|
void | RemoveObject (VDKObject *obj) |
|
virtual void | RemoveObjectFromContainer (VDKObject *obj) |
|
void | RemoveObjects () |
|
VDKObject * | FindTag (int tag) |
|
void | ForEachDo (void(*action)(VDKObject *)) |
|
VDKRgb | GetBackground (GtkStateType state=GTK_STATE_NORMAL) |
|
VDKRgb | GetForeground (GtkStateType state=GTK_STATE_NORMAL) |
|
| VDKObject (VDKForm *owner=NULL) |
|
| VDKObject (VDKForm *owner, GtkWidget *widget) |
|
virtual | ~VDKObject () |
|
bool | Destroy () |
|
virtual int | isA () |
|
VDKForm * | Owner () |
|
virtual GtkWidget * | Widget () |
|
GtkWidget * | ConnectingWidget () |
|
GtkWidget * | WrappedWidget () |
|
VDKFont * | GetFont () |
|
void | SetVisible (bool visible) |
|
bool | GetVisible () |
|
void | SetCursor (VDKCursorType) |
|
VDKCursorType | GetCursor () |
|
void | SetSize (int w, int h) |
|
void | SetUsize (VDKPoint s) |
|
virtual void | SetTip (char *) |
|
ItemList & | Items () |
|
void | Draw (GdkRectangle *area=NULL) |
|
virtual void | Setup () |
|
void | SignalEmit (int signal) |
|
void | SignalEmit (char *sig) |
|
void | SignalEmitParent (int signal) |
|
void | SignalEmitParent (char *sig) |
|
void | GrabFocus () |
|
VDKObject * | Parent (VDKObject *p=NULL) |
|
int | SignalConnect (VDKObject *obj, char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false) |
|
int | SignalConnect (char *signal, bool(VDKObject::*method)(VDKObject *), bool gtk=true, bool after=false) |
|
bool | SignalDisconnect (int connection) |
|
int | EventConnect (VDKObject *obj, char *event, bool(VDKObject::*method)(VDKObject *, GdkEvent *), bool after=false) |
|
int | EventConnect (char *, bool(VDKObject::*)(VDKObject *, GdkEvent *), bool after=false) |
|
bool | EventDisconnect (int connection) |
|
|
VDKReadWriteValueProp< VDKTextView, int > | Pointer |
|
VDKReadWriteValueProp< VDKTextView, int > | Column |
|
VDKReadWriteValueProp< VDKTextView, int > | Line |
|
VDKReadOnlyValueProp< VDKTextView, int > | FirstVisibleLine |
|
VDKReadOnlyValueProp< VDKTextView, int > | LastVisibleLine |
|
VDKReadWriteValueProp< VDKTextView, bool > | Changed |
|
VDKReadWriteValueProp< VDKObject, VDKRgb > | NormalBackground |
|
VDKReadWriteValueProp< VDKObject, VDKFont * > | Font |
|
SizeObjectProp | Usize |
|
VDKReadWriteValueProp< VDKObject, bool > | Enabled |
|
VDKReadWriteValueProp< VDKObject, VDKCursorType > | Cursor |
|
VDKReadWriteValueProp< VDKObject, bool > | Visible |
|
Provides a gtk+ gtktextview wrapper. This widget works under a buffer-view model, text buffer take care of changes and text view of displaying. Any change to text buffer will reflect automagically into text view.
This widget substitutes old VDKText used on vdkbuilder version <= 1.2.5 and now deprecated even if will remain in use on earlier versions of VDK 2.0 series.