EditableIfaceProxy

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

class EditableIfaceProxy : IfaceProxy , Editable {}

Mixed In Members

From mixin EditableT!()

copyClipboard
void copyClipboard()

Copies the contents of the currently selected content in the editable and puts it on the clipboard.

cutClipboard
void cutClipboard()

Removes the contents of the currently selected content in the editable and puts it on the clipboard.

deleteSelection
void deleteSelection()

Deletes the currently selected text of the editable. This call doesn’t do anything if there is no selected text.

deleteText
void deleteText(int startPos, int endPos)

Deletes a sequence of characters. The characters that are deleted are those characters at positions from start_pos up to, but not including end_pos. If end_pos is negative, then the characters deleted are those from start_pos to the end of the text.

getChars
string getChars(int startPos, int endPos)

Retrieves a sequence of characters. The characters that are retrieved are those characters at positions from start_pos up to, but not including end_pos. If end_pos is negative, then the characters retrieved are those characters from start_pos to the end of the text.

getEditable
bool getEditable()

Retrieves whether editable is editable. See gtk.editable.Editable.setEditable.

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. start_pos will be filled with the start of the selection and end_pos with end. If no text was selected both will be identical and false will be returned.

insertText
void insertText(string newText, int position)

Inserts new_text_length bytes of new_text into the contents of the widget, at position position.

pasteClipboard
void pasteClipboard()

Pastes the content of the clipboard to the current position of the cursor in the editable.

selectRegion
void selectRegion(int startPos, int endPos)

Selects a region of text. The characters that are selected are those characters at positions from start_pos up to, but not including end_pos. If end_pos is negative, then the characters selected are those characters from start_pos to the end of the text.

setEditable
void setEditable(bool isEditable)

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

setPosition
void setPosition(int position)

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

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

Connect to Changed signal.

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

Connect to DeleteText signal.

connectInsertText
gulong connectInsertText(T callback, Flag!"After" after)

Connect to InsertText signal.

Inherited Members

From Editable

_getGType
GType _getGType()
copyClipboard
void copyClipboard()

Copies the contents of the currently selected content in the editable and puts it on the clipboard.

cutClipboard
void cutClipboard()

Removes the contents of the currently selected content in the editable and puts it on the clipboard.

deleteSelection
void deleteSelection()

Deletes the currently selected text of the editable. This call doesn’t do anything if there is no selected text.

deleteText
void deleteText(int startPos, int endPos)

Deletes a sequence of characters. The characters that are deleted are those characters at positions from start_pos up to, but not including end_pos. If end_pos is negative, then the characters deleted are those from start_pos to the end of the text.

getChars
string getChars(int startPos, int endPos)

Retrieves a sequence of characters. The characters that are retrieved are those characters at positions from start_pos up to, but not including end_pos. If end_pos is negative, then the characters retrieved are those characters from start_pos to the end of the text.

getEditable
bool getEditable()

Retrieves whether editable is editable. See gtk.editable.Editable.setEditable.

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. start_pos will be filled with the start of the selection and end_pos with end. If no text was selected both will be identical and false will be returned.

insertText
void insertText(string newText, int position)

Inserts new_text_length bytes of new_text into the contents of the widget, at position position.

pasteClipboard
void pasteClipboard()

Pastes the content of the clipboard to the current position of the cursor in the editable.

selectRegion
void selectRegion(int startPos, int endPos)

Selects a region of text. The characters that are selected are those characters at positions from start_pos up to, but not including end_pos. If end_pos is negative, then the characters selected are those characters from start_pos to the end of the text.

setEditable
void setEditable(bool isEditable)

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

setPosition
void setPosition(int position)

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

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

Connect to Changed signal.

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

Connect to DeleteText signal.

connectInsertText
gulong connectInsertText(T callback, Flag!"After" after)

Connect to InsertText signal.