GimpUi »

GimpUi.zoom_button_new

function zoom_button_new(model: GimpUi.ZoomModel, zoom_type: GimpUi.ZoomType, icon_size: Gtk.IconSize): Gtk.Widget {
    // Gjs wrapper for gimp_zoom_button_new()
}
  
model

a GimpUi.ZoomModel

zoom_type
icon_size

use 0 for a button with text labels

Returns

a newly created GtkButton

Since GIMP 2.4

More Information

  • GimpUi