MemorySegment args = (MemorySegment)ui.button_args_new.invoke();
if(fill) {
- // TODO: implement after toolkit fill refactoring
+ ui.button_args_set_fill.invoke(args, fill);
}
if(hexpand) {
ui.button_args_set_hexpand.invoke(args, hexpand);
MemorySegment args = (MemorySegment)ui.container_args_new.invoke();
if(fill) {
- // TODO: implement after toolkit fill refactoring
+ ui.container_args_set_fill.invoke(args, fill);
}
if(hexpand) {
ui.container_args_set_hexpand.invoke(args, hexpand);
MemorySegment args = (MemorySegment) ui.list_args_new.invoke();
if (fill) {
- // TODO: implement after toolkit fill refactoring
+ ui.list_args_set_fill.invoke(args, fill);
}
if (hexpand) {
ui.list_args_set_hexpand.invoke(args, hexpand);
label?.let {
button.label(it)
}
- // TODO: fill
+ if(fill) {
+ button.fill(fill);
+ }
if(hexpand) {
button.hexpand(true)
}
value?.let {
button.value(it)
}
- // TODO: fill
+ if(fill) {
+ button.fill(fill);
+ }
if(hexpand) {
button.hexpand(true)
}