### ----------------------------------------------------
### -- Gnome::Gtk3
### -- Licenses: Artistic-2.0
### -- Authors: Marcel Timmerman
### -- File: lib/Gnome/Gtk3/Enums.rakumod
### ----------------------------------------------------
### -- Chunk 2 of 2
_PURPOSE_DIGITS> and
I<GTK_INPUT_PURPOSE_NUMBER> is that the former accepts only digits
while the latter also some punctuation (like commas or points, plus,
minus) and “e” or “E” as in 3.14E+000.

This enumeration may be extended in the future; input methods should
interpret unknown values as “free form”.

Since: 3.6


=item GTK_INPUT_PURPOSE_FREE_FORM: Allow any character
=item GTK_INPUT_PURPOSE_ALPHA: Allow only alphabetic characters
=item GTK_INPUT_PURPOSE_DIGITS: Allow only digits
=item GTK_INPUT_PURPOSE_NUMBER: Edited field expects numbers
=item GTK_INPUT_PURPOSE_PHONE: Edited field expects phone number
=item GTK_INPUT_PURPOSE_URL: Edited field expects URL
=item GTK_INPUT_PURPOSE_EMAIL: Edited field expects email address
=item GTK_INPUT_PURPOSE_NAME: Edited field expects the name of a person
=item GTK_INPUT_PURPOSE_PASSWORD: Like I<GTK_INPUT_PURPOSE_FREE_FORM>, but characters are hidden
=item GTK_INPUT_PURPOSE_PIN: Like I<GTK_INPUT_PURPOSE_DIGITS>, but characters are hidden


=end pod

#TE:0:GtkInputPurpose:
enum GtkInputPurpose is export (
  'GTK_INPUT_PURPOSE_FREE_FORM',
  'GTK_INPUT_PURPOSE_ALPHA',
  'GTK_INPUT_PURPOSE_DIGITS',
  'GTK_INPUT_PURPOSE_NUMBER',
  'GTK_INPUT_PURPOSE_PHONE',
  'GTK_INPUT_PURPOSE_URL',
  'GTK_INPUT_PURPOSE_EMAIL',
  'GTK_INPUT_PURPOSE_NAME',
  'GTK_INPUT_PURPOSE_PASSWORD',
  'GTK_INPUT_PURPOSE_PIN'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GtkInputHints

Describes hints that might be taken into account by input methods or applications. Note that input methods may already tailor their behaviour according to the B<Gnome::Gtk3::InputPurpose> of the entry.

Some common sense is expected when using these flags - mixing I<GTK_INPUT_HINT_LOWERCASE> with any of the uppercase hints makes no sense.

This enumeration may be extended in the future; input methods should ignore unknown values.

=item GTK_INPUT_HINT_NONE: No special behaviour suggested
=item GTK_INPUT_HINT_SPELLCHECK: Suggest checking for typos
=item GTK_INPUT_HINT_NO_SPELLCHECK: Suggest not checking for typos
=item GTK_INPUT_HINT_WORD_COMPLETION: Suggest word completion
=item GTK_INPUT_HINT_LOWERCASE: Suggest to convert all text to lowercase
=item GTK_INPUT_HINT_UPPERCASE_CHARS: Suggest to capitalize all text
=item GTK_INPUT_HINT_UPPERCASE_WORDS: Suggest to capitalize the first character of each word
=item GTK_INPUT_HINT_UPPERCASE_SENTENCES: Suggest to capitalize the first word of each sentence
=item GTK_INPUT_HINT_INHIBIT_OSK: Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).
=item GTK_INPUT_HINT_VERTICAL_WRITING: The text is vertical.
=item GTK_INPUT_HINT_EMOJI: Suggest offering Emoji support.
=item GTK_INPUT_HINT_NO_EMOJI: Suggest not offering Emoji support.

=end pod

#TE:1:GtkInputHints:
enum GtkInputHints is export (
  'GTK_INPUT_HINT_NONE'                => 0,
  'GTK_INPUT_HINT_SPELLCHECK'          => 1 +< 0,
  'GTK_INPUT_HINT_NO_SPELLCHECK'       => 1 +< 1,
  'GTK_INPUT_HINT_WORD_COMPLETION'     => 1 +< 2,
  'GTK_INPUT_HINT_LOWERCASE'           => 1 +< 3,
  'GTK_INPUT_HINT_UPPERCASE_CHARS'     => 1 +< 4,
  'GTK_INPUT_HINT_UPPERCASE_WORDS'     => 1 +< 5,
  'GTK_INPUT_HINT_UPPERCASE_SENTENCES' => 1 +< 6,
  'GTK_INPUT_HINT_INHIBIT_OSK'         => 1 +< 7,
  'GTK_INPUT_HINT_VERTICAL_WRITING'    => 1 +< 8,
  'GTK_INPUT_HINT_EMOJI'               => 1 +< 9,
  'GTK_INPUT_HINT_NO_EMOJI'            => 1 +< 10
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GtkPropagationPhase

Describes the stage at which events are fed into a B<Gnome::Gtk3::EventController>.

Since: 3.14


=item GTK_PHASE_NONE: Events are not delivered automatically. Those can be manually fed through C<gtk_event_controller_handle_event()>. This should only be used when full control about when, or whether the controller handles the event is needed.
=item GTK_PHASE_CAPTURE: Events are delivered in the capture phase. The capture phase happens before the bubble phase, runs from the toplevel down to the event widget. This option should only be used on containers that might possibly handle events before their children do.
=item GTK_PHASE_BUBBLE: Events are delivered in the bubble phase. The bubble phase happens after the capture phase, and before the default handlers are run. This phase runs from the event widget, up to the toplevel.
=item GTK_PHASE_TARGET: Events are delivered in the default widget event handlers, note that widget implementations must chain up on button, motion, touch and grab broken handlers for controllers in this phase to be run.


=end pod

#TE:0:GtkPropagationPhase:
enum GtkPropagationPhase is export (
  'GTK_PHASE_NONE',
  'GTK_PHASE_CAPTURE',
  'GTK_PHASE_BUBBLE',
  'GTK_PHASE_TARGET'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GtkEventSequenceState

Describes the state of a B<Gnome::Gdk3::EventSequence> in a B<Gnome::Gtk3::Gesture>.

Since: 3.14


=item GTK_EVENT_SEQUENCE_NONE: The sequence is handled, but not grabbed.
=item GTK_EVENT_SEQUENCE_CLAIMED: The sequence is handled and grabbed.
=item GTK_EVENT_SEQUENCE_DENIED: The sequence is denied.


=end pod

#TE:0:GtkEventSequenceState:
enum GtkEventSequenceState is export (
  'GTK_EVENT_SEQUENCE_NONE',
  'GTK_EVENT_SEQUENCE_CLAIMED',
  'GTK_EVENT_SEQUENCE_DENIED'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GtkPanDirection

Describes the panning direction of a B<Gnome::Gtk3::GesturePan>

Since: 3.14


=item GTK_PAN_DIRECTION_LEFT: panned towards the left
=item GTK_PAN_DIRECTION_RIGHT: panned towards the right
=item GTK_PAN_DIRECTION_UP: panned upwards
=item GTK_PAN_DIRECTION_DOWN: panned downwards


=end pod

#TE:0:GtkPanDirection:
enum GtkPanDirection is export (
  'GTK_PAN_DIRECTION_LEFT',
  'GTK_PAN_DIRECTION_RIGHT',
  'GTK_PAN_DIRECTION_UP',
  'GTK_PAN_DIRECTION_DOWN'
);

#-------------------------------------------------------------------------------
=begin pod
=head2 enum GtkPopoverConstraint

Describes constraints to positioning of popovers. More values
may be added to this enumeration in the future.

Since: 3.20


=item GTK_POPOVER_CONSTRAINT_NONE: Don't constrain the popover position beyond what is imposed by the implementation
=item GTK_POPOVER_CONSTRAINT_WINDOW: Constrain the popover to the boundaries of the window that it is attached to


=end pod

#TE:0:GtkPopoverConstraint:
enum GtkPopoverConstraint is export (
  'GTK_POPOVER_CONSTRAINT_NONE',
  'GTK_POPOVER_CONSTRAINT_WINDOW'
);


