Class StyleSchemePreview

All Implemented Interfaces:
Accessible, Actionable, Buildable, ConstraintTarget, Proxy

@Generated("org.javagi.JavaGI") public class StyleSchemePreview extends Widget implements Accessible, Actionable, Buildable, ConstraintTarget

A preview widget for StyleScheme.

This widget provides a convenient Widget to preview a StyleScheme.

The StyleSchemePreview:selected property can be used to manage the selection state of a single preview widget.

Since:
5.4
  • Constructor Details

    • StyleSchemePreview

      public StyleSchemePreview(MemorySegment address)
      Create a StyleSchemePreview instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • StyleSchemePreview

      public StyleSchemePreview(StyleScheme scheme)
      Creates a new GtkSourceStyleSchemePreview to preview the style scheme provided in scheme.
      Parameters:
      scheme - a GtkSourceStyleScheme
      Since:
      5.4
    • StyleSchemePreview

      public StyleSchemePreview()
      Create a new StyleSchemePreview.
  • Method Details