@@ -4649,6 +4649,7 @@ void removeRelation (int type, Accessible target) {
4649
4649
}
4650
4650
4651
4651
void selectionChanged () {
4652
+ if (GTK .GTK4 ) return ; //TODO investigate proper way for GTK 4.x
4652
4653
OS .g_signal_emit_by_name (atkHandle , ATK .selection_changed );
4653
4654
}
4654
4655
@@ -4862,6 +4863,7 @@ void sendEvent(int event, Object eventData, int childID) {
4862
4863
}
4863
4864
4864
4865
void setFocus (int childID ) {
4866
+ if (GTK .GTK4 ) return ; //TODO investigate proper way for GTK 4.x
4865
4867
updateChildren ();
4866
4868
AccessibleObject accObject = getChildByID (childID );
4867
4869
if (accObject != null ) {
@@ -4871,10 +4873,12 @@ void setFocus (int childID) {
4871
4873
}
4872
4874
4873
4875
void textCaretMoved (int index ) {
4876
+ if (GTK .GTK4 ) return ; //TODO investigate proper way for GTK 4.x
4874
4877
OS .g_signal_emit_by_name (atkHandle , ATK .text_caret_moved , index );
4875
4878
}
4876
4879
4877
4880
void textChanged (int type , int startIndex , int length ) {
4881
+ if (GTK .GTK4 ) return ; //TODO investigate proper way for GTK 4.x
4878
4882
if (type == ACC .TEXT_DELETE ) {
4879
4883
OS .g_signal_emit_by_name (atkHandle , ATK .text_changed_delete , startIndex , length );
4880
4884
} else {
@@ -4883,6 +4887,7 @@ void textChanged(int type, int startIndex, int length) {
4883
4887
}
4884
4888
4885
4889
void textSelectionChanged () {
4890
+ if (GTK .GTK4 ) return ; //TODO investigate proper way for GTK 4.x
4886
4891
OS .g_signal_emit_by_name (atkHandle , ATK .text_selection_changed );
4887
4892
}
4888
4893
0 commit comments