Skip to content

Commit

Permalink
more coverage for lists.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
jwahlstrand committed Dec 23, 2023
1 parent e158540 commit 2bc5c77
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/comboboxtext.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using Gtk4
@testset "comboboxtext" begin

@testset "populate with push!" begin
cbstr = GtkComboBoxText()
cbstr = GtkComboBoxText(false)
push!(cbstr, "1", "abc")
push!(cbstr, "2", "xyz")

Expand Down
6 changes: 6 additions & 0 deletions test/gui/listviews.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ listBox[1] = GtkLabel("widget 2")
sw[] = listBox
listBox.vexpand = true

Gtk4.set_filter_func(listBox, nothing)
Gtk4.set_sort_func(listBox, nothing)

# while we're at it, test GtkExpression
pe = GtkPropertyExpression(GtkWindow, "title")
rgv=Ref(GLib.GValue())
Expand Down Expand Up @@ -122,6 +125,9 @@ listBox[1] = GtkLabel("widget 2")
sw[] = listBox
listBox.vexpand = true

Gtk4.set_filter_func(listBox, nothing)
Gtk4.set_sort_func(listBox, nothing)

destroy(win)

end
Expand Down

0 comments on commit 2bc5c77

Please sign in to comment.