File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11import Gio from "gi://Gio" ;
22import Gtk from "gi://Gtk?version=4.0" ;
33
4- const pic_with_frame = workbench . builder . get_object ( "with_frame" ) ;
5- const pic_without_frame = workbench . builder . get_object ( "without_frame" ) ;
4+ const pic_with_frame = workbench . builder . get_object < Gtk . Picture > ( "with_frame" ) ;
5+ const pic_without_frame = workbench . builder . get_object < Gtk . Picture > (
6+ "without_frame" ,
7+ ) ;
68
7- const textview_with_frame = workbench . builder . get_object ( "textview_with_frame" ) ;
8- const textview_without_frame = workbench . builder . get_object (
9+ const textview_with_frame = workbench . builder . get_object < Gtk . TextView > (
10+ "textview_with_frame" ,
11+ ) ;
12+ const textview_without_frame = workbench . builder . get_object < Gtk . TextView > (
913 "textview_without_frame" ,
1014) ;
1115
You can’t perform that action at this time.
0 commit comments