File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1- const label = workbench . builder . get_object ( "label" ) ;
2- const justification_row = workbench . builder . get_object ( "justification_row" ) ;
3- const style_row = workbench . builder . get_object ( "style_row" ) ;
4- const single_line_switch = workbench . builder . get_object ( "single_line_switch" ) ;
1+ import Adw from "gi://Adw" ;
2+ import Gtk from "gi://Gtk?version=4.0" ;
3+
4+ const label = workbench . builder . get_object < Gtk . Label > ( "label" ) ;
5+ const justification_row = workbench . builder . get_object < Adw . ComboRow > (
6+ "justification_row" ,
7+ ) ;
8+ const style_row = workbench . builder . get_object < Adw . ComboRow > ( "style_row" ) ;
9+ const single_line_switch = workbench . builder . get_object < Adw . SwitchRow > (
10+ "single_line_switch" ,
11+ ) ;
512
613const style_classes = [
714 "none" ,
You can’t perform that action at this time.
0 commit comments