SourceModule gui_zoom
Helpers for zooming the whole GUI of an app (changing Context.pixels_per_point).
Classes§
Functions§
| zoom_in | Make everything larger by increasing |
| zoom_menu_buttons | Show buttons for zooming the ui. |
| zoom_out | Make everything smaller by decreasing |
SourceFunction zoom_in§
from egui import zoom_indef zoom_in(ctx: Context) -> NoneMake everything larger by increasing Context.zoom_factor.
SourceFunction zoom_out§
from egui import zoom_outdef zoom_out(ctx: Context) -> NoneMake everything smaller by decreasing Context.zoom_factor.