widget

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Overview

Package widget provides Go bindings for android.widget.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type FrameLayout

type FrameLayout struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

FrameLayout wraps android.widget.FrameLayout.

func (*FrameLayout) GenerateLayoutParams1

func (m *FrameLayout) GenerateLayoutParams1(arg0 *jni.Object) (*jni.Object, error)

GenerateLayoutParams1 calls android.widget.FrameLayout.generateLayoutParams.

func (*FrameLayout) GenerateLayoutParams1_1

func (m *FrameLayout) GenerateLayoutParams1_1(arg0 *jni.Object) (*jni.Object, error)

GenerateLayoutParams1_1 calls android.widget.FrameLayout.generateLayoutParams.

func (*FrameLayout) GetAccessibilityClassName

func (m *FrameLayout) GetAccessibilityClassName() (*jni.Object, error)

GetAccessibilityClassName calls android.widget.FrameLayout.getAccessibilityClassName.

func (*FrameLayout) GetConsiderGoneChildrenWhenMeasuring

func (m *FrameLayout) GetConsiderGoneChildrenWhenMeasuring() (bool, error)

GetConsiderGoneChildrenWhenMeasuring calls android.widget.FrameLayout.getConsiderGoneChildrenWhenMeasuring.

func (*FrameLayout) GetMeasureAllChildren

func (m *FrameLayout) GetMeasureAllChildren() (bool, error)

GetMeasureAllChildren calls android.widget.FrameLayout.getMeasureAllChildren.

func (*FrameLayout) SetForegroundGravity

func (m *FrameLayout) SetForegroundGravity(arg0 int32) error

SetForegroundGravity calls android.widget.FrameLayout.setForegroundGravity.

func (*FrameLayout) SetMeasureAllChildren

func (m *FrameLayout) SetMeasureAllChildren(arg0 bool) error

SetMeasureAllChildren calls android.widget.FrameLayout.setMeasureAllChildren.

func (*FrameLayout) ShouldDelayChildPressedState

func (m *FrameLayout) ShouldDelayChildPressedState() (bool, error)

ShouldDelayChildPressedState calls android.widget.FrameLayout.shouldDelayChildPressedState.

Directories

Path Synopsis
Package toast provides Go bindings for android.widget.
Package toast provides Go bindings for android.widget.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL