MCPcopy
hub / github.com/pdfarranger/pdfarranger / orientation_clicked

Method orientation_clicked

pdfarranger/pageutils.py:212–218  ·  view source on GitHub ↗
(self, _widget)

Source from the content-addressed store, hash-verified

210 self.select_paper_and_orientation()
211
212 def orientation_clicked(self, _widget):
213 size = self.get_value(Gtk.Unit.MM)
214 self.width_entry.set_range(25.4, 5080)
215 self.height_entry.set_range(25.4, 5080)
216 self.set_entry_size(sorted(size, reverse=self.land.get_active()))
217 self.ratios.sort(reverse=self.land.get_active())
218 self.update_entry_limits()
219
220 def paper_size_changed(self, combo):
221 paper = self.papers[combo.get_active()]

Callers

nothing calls this directly

Calls 3

get_valueMethod · 0.95
set_entry_sizeMethod · 0.95
update_entry_limitsMethod · 0.95

Tested by

no test coverage detected