Package org.gnome.gtk
Enum Class AssistantPageType
- All Implemented Interfaces:
Serializable,Comparable<AssistantPageType>,Constable,Enumeration
@Generated("io.github.jwharm.JavaGI")
@Deprecated
public enum AssistantPageType
extends Enum<AssistantPageType>
implements Enumeration
Deprecated.
Determines the role of a page inside a
GtkAssistant.
The role is used to handle buttons sensitivity and visibility.
Note that an assistant needs to end its page flow with a page of type
CONFIRM, SUMMARY or
PROGRESS to be correct.
The Cancel button will only be shown if the page isn’t “committed”. See gtk_assistant_commit() for details.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.The page lets the user confirm or deny the changes.Deprecated.The page has regular contents.Deprecated.Used for when other page types are not appropriate.Deprecated.The page contains an introduction to the assistant task.Deprecated.Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete.Deprecated.The page informs the user of the changes done. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Deprecated.Get the GType of the AssistantPageType classintgetValue()Deprecated.Get the numeric value of this enumstatic AssistantPageTypeof(int value) Deprecated.Create a new AssistantPageType for the provided valuestatic AssistantPageTypeof(MemorySegment address) Deprecated.Create a new AssistantPageType for the value in the provided memory address.static AssistantPageTypeDeprecated.Returns the enum constant of this class with the specified name.static AssistantPageType[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTENT
Deprecated.The page has regular contents. Both the Back and forward buttons will be shown. -
INTRO
Deprecated.The page contains an introduction to the assistant task. Only the Forward button will be shown if there is a next page. -
CONFIRM
Deprecated.The page lets the user confirm or deny the changes. The Back and Apply buttons will be shown. -
SUMMARY
Deprecated.The page informs the user of the changes done. Only the Close button will be shown. -
PROGRESS
Deprecated.Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete. Only the back button will be shown. -
CUSTOM
Deprecated.Used for when other page types are not appropriate. No buttons will be shown, and the application must add its own buttons through gtk_assistant_add_action_widget().
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
of
Deprecated.Create a new AssistantPageType for the provided value- Parameters:
value- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Deprecated.Get the numeric value of this enum- Specified by:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Deprecated.Create a new AssistantPageType for the value in the provided memory address.- Parameters:
address- the memory address holding a enum value- Returns:
- the enum for the value in the provided memory address
-
getType
Deprecated.Get the GType of the AssistantPageType class- Returns:
- the GType
-
GtkAssistantwill be removed in GTK 5