Type Alias: GtkPictureProps
GtkPictureProps =
WidgetProps&object
Defined in: generated/jsx.ts:7346
Props for the GtkPicture widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
alternativeText? | string | null | The alternative textual description for the picture. | generated/jsx.ts:7348 |
canShrink? | boolean | If the GtkPicture can be made smaller than the natural size of its contents. | generated/jsx.ts:7350 |
contentFit? | Gtk.ContentFit | How the content should be resized to fit inside the GtkPicture. | generated/jsx.ts:7352 |
file? | Gio.File | null | The GFile that is displayed or %NULL if none. | generated/jsx.ts:7354 |
keepAspectRatio? | boolean | Whether the GtkPicture will render its contents trying to preserve the aspect ratio. | generated/jsx.ts:7359 |
onNotify? | (self, propName) => void | null | Called when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case) | generated/jsx.ts:7367 |
paintable? | Gdk.Paintable | null | The GdkPaintable to be displayed by this GtkPicture. | generated/jsx.ts:7361 |
ref? | Ref<Gtk.Picture> | - | generated/jsx.ts:7373 |