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 @@ -1720,14 +1720,15 @@ void snapshotDrawProc(long handle, long snapshot) {
// Draw background before children so it appears behind them
if (widget != null) widget.snapshotBackground(handle, snapshot);

// Draw SWT custom paint before children so child widgets remain visible.
if (widget != null) widget.snapshotToDraw(handle, snapshot);

long child = GTK4.gtk_widget_get_first_child(handle);
// Propagate the snapshot down the widget tree first
// Propagate the snapshot down the widget tree.
while (child != 0) {
GTK4.gtk_widget_snapshot_child(handle, child, snapshot);
child = GTK4.gtk_widget_get_next_sibling(child);
}
// Draw custom paint on top of children
if (widget != null) widget.snapshotToDraw(handle, snapshot);
}

static long rendererGetPreferredWidthProc (long cell, long handle, long minimun_size, long natural_size) {
Expand Down
Loading