Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4649,6 +4649,7 @@ void removeRelation (int type, Accessible target) {
}

void selectionChanged () {
if(GTK.GTK4) return; //TODO investigate proper way for GTK 4.x
OS.g_signal_emit_by_name (atkHandle, ATK.selection_changed);
}

Expand Down Expand Up @@ -4862,6 +4863,7 @@ void sendEvent(int event, Object eventData, int childID) {
}

void setFocus (int childID) {
if(GTK.GTK4) return; //TODO investigate proper way for GTK 4.x
updateChildren ();
AccessibleObject accObject = getChildByID (childID);
if (accObject != null) {
Expand All @@ -4871,10 +4873,12 @@ void setFocus (int childID) {
}

void textCaretMoved(int index) {
if(GTK.GTK4) return; //TODO investigate proper way for GTK 4.x
OS.g_signal_emit_by_name (atkHandle, ATK.text_caret_moved, index);
}

void textChanged(int type, int startIndex, int length) {
if(GTK.GTK4) return; //TODO investigate proper way for GTK 4.x
if (type == ACC.TEXT_DELETE) {
OS.g_signal_emit_by_name (atkHandle, ATK.text_changed_delete, startIndex, length);
} else {
Expand All @@ -4883,6 +4887,7 @@ void textChanged(int type, int startIndex, int length) {
}

void textSelectionChanged() {
if(GTK.GTK4) return; //TODO investigate proper way for GTK 4.x
OS.g_signal_emit_by_name (atkHandle, ATK.text_selection_changed);
}

Expand Down
Loading