#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum WindowType {
TopLevel,
PopUp
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum TextDirection {
None,
Ltr,
Rtl
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum WindowPosition {
None,
Center,
Mouse,
CenterAlways,
CenterOnParent
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ButtonBoxStyle {
Spread = 1,
Edge,
Start,
End,
Center
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum Orientation {
Horizontal,
Vertical
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum DirectionType {
TabForward,
TabBackward,
Up,
Down,
Left,
Right
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum CornerType {
TopLeft,
BottomLeft,
TopRight,
BottomRight
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ResizeMode{
Parent,
Queue,
Immediate
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum BorderStyle{
None,
Solid,
Inset,
Outset,
Hidden,
Dotted,
Dashed,
Double,
Groove,
Ridge
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum SortType{
Ascending,
Descending
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum StateFlags {
Normal = 0,
Active = 1 << 0,
Prelight = 1 << 1,
Selected = 1 << 2,
Insensitive = 1 << 3,
Inconsistent = 1 << 4,
Focused = 1 << 5,
BackDrop = 1 << 6,
DirLTR = 1 << 7,
DirRTL = 1 << 8
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum DragResult{
Success,
NoTarget,
UserCanceled,
TimeoutExpired,
GrabBroken,
Error
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum AccelFlags{
Visible = 1 << 0,
Locked = 1 << 1,
Mask = 0x07
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ArrowPlacement{
Both,
Start,
End
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ArrowType{
Up,
Down,
Left,
Right,
None
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum AttachOptions{
Expand = 1 << 0,
Shrink = 1 << 1,
Fill = 1 << 2
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum DeleteType{
Chars,
WordsEnd,
Words,
DisplayLines,
DisplayLineEnd,
ParagraphEnds,
Paragraphs,
Whitespac
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ExpanderStyle{
Collapsed,
SemiCollapsed,
SemiExpanded,
Expanded
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum IMPreeditStyle{
Nothing,
Callback,
None
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum IMStatusStyle{
Nothing,
Callback,
None
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum Justification{
Left,
Right,
Center,
Fill
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum MovementStep{
LogicalPosition,
VisualPositions,
Words,
DisplayLines,
DisplayLineEnds,
Paragraphs,
ParagraphEnds,
Pages,
BufferEnds,
HorizontalPages
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PackType{
Start,
End
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PathPriorityType{
Lowest = 0,
Gtk = 4,
Application = 8,
Theme = 10,
Rc = 12,
Highest = 15
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PathType{
Widget,
WidgetClass,
Class
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PolicyType {
Always,
Automatic,
Never
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PositionType{
Left,
Right,
Top,
Bottom
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ReliefStyle{
Normal,
Half,
None
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ScrollStep{
Steps,
Pages,
Ends,
HorizontalSteps,
HorizontalPages,
HorizontalEnds
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ScrollType{
None,
Jump,
StepBackward,
StepForward,
PageBackward,
PageForward,
StepUp,
StepDown,
PageUp,
PageDown,
StepLeft,
StepRight,
PageLeft,
PageRight,
Start,
End
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum SelectionMode{
None,
Single,
Browse,
Multiple
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ShadowType{
None,
Im,
Out,
EtchedIn,
EtchedOut
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum StateType{
Normal,
Active,
Prelight,
Selected,
Insensitive,
Inconsistent,
Focused
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ToolbarStyle {
Icons,
Text,
Both,
BothHoriz
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum JunctionSides {
None = 0,
CornerTopleft = 1 << 0,
CornerTopRight = 1 << 1,
CornerBottomLeft = 1 << 2,
CornerBottomRight = 1 << 3,
Top = (1 << 0 | 1 << 1),
Bottom = (1 << 2 | 1 << 3),
Left = (1 << 0 | 1 << 2),
Right = (1 << 1 | 1 << 3)
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum RegionFlags{
Even = 1 << 0,
Odd = 1 << 1,
First = 1 << 2,
Last = 1 << 3,
Only = 1 << 4,
Sorted = 1 << 5
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum IconSize {
Invalid,
Menu,
SmallToolbar,
LargeToolbar,
Button,
Dnd,
Dialog
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum EntryIconPosition{
Primary,
Secondary
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum InputHints{
None = 0,
Spellcheck = 1 << 0,
NoSpellcheck = 1 << 1,
WordCompletion = 1 << 2,
Lowercase = 1 << 3,
UppercaseChars = 1 << 4,
UppercaseWords = 1 << 5,
UppercaseSentences = 1 << 6,
InhibitOsk = 1 << 7
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum InputPurpose{
FreeForm,
Alpha,
Digits,
Number,
Phone,
Url,
Email,
Name,
Password,
Pin
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ImageType{
Empty,
Pixbuf,
Stock,
IconSet,
Animation,
IconName,
GIcon,
Surface
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum SpinType{
StepForward,
StepBackward,
PageForward,
PageBackward,
Home,
End,
UserDefined
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum SpinButtonUpdatePolicy{
Always,
IfValid
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum LevelBarMode{
Continuous,
Discrete
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum CalendarDisplayOptions{
ShowHeading = 1 << 0,
ShowDayNames = 1 << 1,
NoMonthChange = 1 << 2,
ShowWeekNumbers = 1 << 3,
ShowDetails = 1 << 5
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum MessageType {
Info,
Warning,
Question,
Error,
Other
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ButtonsType {
None,
Ok,
Close,
Cancel,
YesNo,
OkCancel
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum DialogFlags {
Modal,
DestroyWithParents,
UseHeaderBar
}
#[allow(non_camel_case_types)]
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum License {
Unknown,
Custom,
GPL_2_0,
GPL_3_0,
LGPL_2_1,
LGPL_3_0,
BSD,
MIT_X11,
Artistic,
GPL_2_0_Only,
GPL_3_0_Only,
LGPL_2_1_Only,
LGPL_3_0_Only
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ResponseType {
None = -1,
Reject = -2,
Accept = -3,
DeleteEvent = -4,
Ok = -5,
Cancel = -6,
Close = -7,
Yes = -8,
No = -9,
Apply = -10,
Help = -11
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum FileChooserAction {
Open,
Save,
SelectFolder,
CreateFolder
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum FileFilterFlags {
Filename,
Uri,
DisplayName,
MimeType
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum StackTransitionType {
None,
CrossFade,
SlideRight,
SlideLeft,
SlideUp,
SlideDown,
SlideLeftRight,
SlideUpDown,
OverUp,
OverDown,
OverLeft,
OverRight,
UnderUp,
UnderDown,
UnderLeft,
UnderRight,
OverUpDown
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum RevealerTransitionType {
None,
CrossFade,
SlideRight,
SlideLeft,
SlideUp,
SlideDown
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ScrollablePolicy {
Minimum,
Natural
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum AppInfoCreateFlags {
None,
NeedsTerminal,
SupportsUris,
SupportsStartupNotification
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum SizeRequestMode {
HeightForWidth,
WidthForHeight,
ConstantSize
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum Align {
Fill,
Start,
End,
Center,
AlignBaseline
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum GConnectFlags {
After,
Swapped
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum BuilderError {
InvalidTypeFunction,
UnhandledTag,
MissingAttribute,
InvalidAttribute,
InvalidTag,
MissingPropertyValue,
InvalidValue,
VersionMismatch,
DuplicateID,
ObjectTypeRefused,
TemplateMismatch
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PageOrientation {
Portrait,
Landscape,
ReversePortrait,
ReverseLandscape
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum Unit {
None,
Points,
Inch,
MM
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum NumberUpLayout {
LeftToRight_TopToBottom,
LeftToRight_BottomToTop,
RightToLeft_TopToBottom,
RightToLeft_BottomToTop,
TopToBottom_LeftToRight,
TopToBottom_RightToLeft,
BottomToTop_LeftToRight,
BottomToTop_RightToLeft
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PrintPages {
All,
Current,
Ranges,
Selection
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PageSet {
All,
Even,
Odd
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum RecentSortType {
None,
MRU,
LRU,
Custom
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum RecentFilterFlags {
URI,
DisplayName,
MimeType,
Application,
Group,
Age
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum WidgetHelpType {
WidgetHelpTooltip,
WidgetHelpWhatsThis
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum TextWindowType {
Widget,
Text,
Left,
Right,
Top,
Bottom
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum WrapMode {
None,
Char,
Word,
WordChar
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum TreeViewGridLines {
None,
Horizontal,
Vertical,
Both
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum TreeViewColumnSizing {
GrowOnly,
AutoSize,
Fixed
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum CellRendererState {
Selected,
Prelit,
Insensitive,
Sorted,
Focused,
Expandable,
Expanded
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum TreeModelFlags {
ItersPersist,
ListOnly,
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum IconViewDropPosition {
NoDrop,
DropInto,
DropLeft,
DropRight,
DropAbove,
DropBelow
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum SensitivityType {
Auto,
On,
Off
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum GType {
Invalid,
None,
Interface,
Char,
UChar,
Boolean,
Int,
UInt,
Long,
ULong,
Int64,
UInt64,
Enum,
Flags,
Float,
Double,
String,
Pointer,
Boxed,
Param,
Object,
Variant,
ReservedGLibFirst,
ReservedGLibLast = 31,
ReservedGLibBSEFirst = 32,
ReservedGLibBSELast = 48,
ReservedUserFirst = 49
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum TextSearchFlags {
VisibleOnly,
TextOnly,
CaseInsensitive
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum PlacesOpenFlags {
Normal,
NewTab,
NewWindow
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum ToolPaletteDragTargets {
Items,
Groups
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum DestDefaults {
Motion,
Highlight,
Drop,
All
}
#[repr(C)]
#[derive(Clone, PartialEq, PartialOrd, Debug, Copy)]
pub enum SizeGroupMode {
None,
Horizontal,
Vertical,
Both
}