Class AssistantPage.Builder<B extends AssistantPage.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
AssistantPage

public static class AssistantPage.Builder<B extends AssistantPage.Builder<B>> extends GObject.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public AssistantPage build()
      Finish building the AssistantPage object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to AssistantPage.
      Overrides:
      build in class GObject.Builder<B extends AssistantPage.Builder<B>>
      Returns:
      a new instance of AssistantPage with the properties that were set in the Builder object.
    • setChild

      @Deprecated public B setChild(Widget child)
      Deprecated.
      This object will be removed in GTK 5
      The child widget.
      Parameters:
      child - the value for the child property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setComplete

      @Deprecated public B setComplete(boolean complete)
      Deprecated.
      This object will be removed in GTK 5

      Whether all required fields are filled in.

      GTK uses this information to control the sensitivity of the navigation buttons.

      Parameters:
      complete - the value for the complete property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setPageType

      @Deprecated public B setPageType(AssistantPageType pageType)
      Deprecated.
      This object will be removed in GTK 5
      The type of the assistant page.
      Parameters:
      pageType - the value for the page-type property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setTitle

      @Deprecated public B setTitle(String title)
      Deprecated.
      This object will be removed in GTK 5
      The title of the page.
      Parameters:
      title - the value for the title property
      Returns:
      the Builder instance is returned, to allow method chaining