EditableIfaceProxy

Proxy object for Gtk.Editable interface when a GObject has no applicable D binding

class EditableIfaceProxy : IfaceProxy , Editable {}

Mixed In Members

From mixin EditableT!()

delegateGetAccessiblePlatformState
bool delegateGetAccessiblePlatformState(gtk.types.AccessiblePlatformState state)

Retrieves the accessible platform state from the editable delegate.

deleteSelection
void deleteSelection()

Deletes the currently selected text of the editable.

deleteText
void deleteText(int startPos, int endPos)

Deletes a sequence of characters.

finishDelegate
void finishDelegate()

Undoes the setup done by gtk.editable.Editable.initDelegate.

getAlignment
float getAlignment()

Gets the alignment of the editable.

getChars
string getChars(int startPos, int endPos)

Retrieves a sequence of characters.

getDelegate
gtk.editable.Editable getDelegate()

Gets the gtk.editable.Editable that editable is delegating its implementation to.

getEditable
bool getEditable()

Retrieves whether editable is editable.

getEnableUndo
bool getEnableUndo()

Gets if undo/redo actions are enabled for editable

getMaxWidthChars
int getMaxWidthChars()

Retrieves the desired maximum width of editable, in characters.

getPosition
int getPosition()

Retrieves the current position of the cursor relative to the start of the content of the editable.

getSelectionBounds
bool getSelectionBounds(int startPos, int endPos)

Retrieves the selection bound of the editable.

getText
string getText()

Retrieves the contents of editable.

getWidthChars
int getWidthChars()

Gets the number of characters of space reserved for the contents of the editable.

initDelegate
void initDelegate()

Sets up a delegate for gtk.editable.Editable.

insertText
void insertText(string text, int position)

Inserts length bytes of text into the contents of the widget, at position position.

selectRegion
void selectRegion(int startPos, int endPos)

Selects a region of text.

setAlignment
void setAlignment(float xalign)

Sets the alignment for the contents of the editable.

setEditable
void setEditable(bool isEditable)

Determines if the user can edit the text in the editable widget.

setEnableUndo
void setEnableUndo(bool enableUndo)

If enabled, changes to editable will be saved for undo/redo actions.

setMaxWidthChars
void setMaxWidthChars(int nChars)

Sets the desired maximum width in characters of editable.

setPosition
void setPosition(int position)

Sets the cursor position in the editable to the given value.

setText
void setText(string text)

Sets the text in the editable to the given value.

setWidthChars
void setWidthChars(int nChars)

Changes the size request of the editable to be about the right size for n_chars characters.

connectChanged
ulong connectChanged(T callback, Flag!"After" after)

Connect to Changed signal.

connectDeleteText
ulong connectDeleteText(T callback, Flag!"After" after)

Connect to DeleteText signal.

Inherited Members

From Editable

delegateGetProperty
bool delegateGetProperty(gobject.object.ObjectG object, uint propId, gobject.value.Value value, gobject.param_spec.ParamSpec pspec)

Gets a property of the gtk.editable.Editable delegate for object.

delegateSetProperty
bool delegateSetProperty(gobject.object.ObjectG object, uint propId, gobject.value.Value value, gobject.param_spec.ParamSpec pspec)

Sets a property on the gtk.editable.Editable delegate for object.

delegateGetAccessiblePlatformState
bool delegateGetAccessiblePlatformState(gtk.types.AccessiblePlatformState state)

Retrieves the accessible platform state from the editable delegate.

deleteSelection
void deleteSelection()

Deletes the currently selected text of the editable.

deleteText
void deleteText(int startPos, int endPos)

Deletes a sequence of characters.

finishDelegate
void finishDelegate()

Undoes the setup done by gtk.editable.Editable.initDelegate.

getAlignment
float getAlignment()

Gets the alignment of the editable.

getChars
string getChars(int startPos, int endPos)

Retrieves a sequence of characters.

getDelegate
gtk.editable.Editable getDelegate()

Gets the gtk.editable.Editable that editable is delegating its implementation to.

getEditable
bool getEditable()

Retrieves whether editable is editable.

getEnableUndo
bool getEnableUndo()

Gets if undo/redo actions are enabled for editable

getMaxWidthChars
int getMaxWidthChars()

Retrieves the desired maximum width of editable, in characters.

getPosition
int getPosition()

Retrieves the current position of the cursor relative to the start of the content of the editable.

getSelectionBounds
bool getSelectionBounds(int startPos, int endPos)

Retrieves the selection bound of the editable.

getText
string getText()

Retrieves the contents of editable.

getWidthChars
int getWidthChars()

Gets the number of characters of space reserved for the contents of the editable.

initDelegate
void initDelegate()

Sets up a delegate for gtk.editable.Editable.

insertText
void insertText(string text, int position)

Inserts length bytes of text into the contents of the widget, at position position.

selectRegion
void selectRegion(int startPos, int endPos)

Selects a region of text.

setAlignment
void setAlignment(float xalign)

Sets the alignment for the contents of the editable.

setEditable
void setEditable(bool isEditable)

Determines if the user can edit the text in the editable widget.

setEnableUndo
void setEnableUndo(bool enableUndo)

If enabled, changes to editable will be saved for undo/redo actions.

setMaxWidthChars
void setMaxWidthChars(int nChars)

Sets the desired maximum width in characters of editable.

setPosition
void setPosition(int position)

Sets the cursor position in the editable to the given value.

setText
void setText(string text)

Sets the text in the editable to the given value.

setWidthChars
void setWidthChars(int nChars)

Changes the size request of the editable to be about the right size for n_chars characters.

connectChanged
ulong connectChanged(T callback, Flag!"After" after)

Connect to Changed signal.

connectDeleteText
ulong connectDeleteText(T callback, Flag!"After" after)

Connect to DeleteText signal.