merge View and ViewGroup constructor

Introduce empy JavaWidget to replace confusing usage of GtkBox and GtkDrawingArea.
gtk_widget_set_name() is called with the Java class name
This commit is contained in:
Julian Winkler
2023-12-29 12:16:10 +01:00
parent 0614e6c245
commit 1b03fa6e1a
4 changed files with 50 additions and 69 deletions

View File

@@ -113,8 +113,6 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
removeView(child);
}
@Override
protected native long native_constructor(Context context, AttributeSet attrs);
protected native void native_addView(long widget, long child, int index, LayoutParams params);
protected native void native_removeView(long widget, long child);