@@ -416,6 +416,13 @@ w = Window(b, "VolumeButton", 50, 50)|>showall
416416destroy (w)
417417end
418418
419+ @testset " ColorButton" begin
420+ b = ColorButton (Gtk. GdkRGBA (0 , 0.8 , 1.0 , 0.3 ))
421+ w = Window (b, " ColorButton" , 50 , 50 )|> showall
422+ GAccessor. rgba (ColorChooser (b), GLib. mutable (Gtk. GdkRGBA (0 , 0 , 0 , 0 )))
423+ destroy (w)
424+ end
425+
419426@testset " combobox" begin
420427combo = ComboBoxText ()
421428choices = [" Strawberry" , " Vanilla" , " Chocolate" ]
@@ -615,13 +622,18 @@ end
615622# @test get_value(tr)[1] == choices[2]
616623# destroy(w)
617624
618- @testset " Selectors " begin
625+ @testset " File Chooser " begin
619626 dlg = FileChooserDialog (" Select file" , Null (), GtkFileChooserAction. OPEN,
620627 ((" _Cancel" , GtkResponseType. CANCEL),
621628 (" _Open" , GtkResponseType. ACCEPT)))
622629 destroy (dlg)
623630end
624631
632+ @testset " Color Chooser" begin
633+ dlg = ColorChooserDialog (" Select color" , Null ())
634+ destroy (dlg)
635+ end
636+
625637@testset " List view" begin
626638ls= ListStore (Int32,Bool)
627639push! (ls,(44 ,true ))
0 commit comments