Example #1
0
func (f FileChooserAction) g() C.GtkFileChooserAction {
	return C.GtkFileChooserAction(f)
}
Example #2
0
	ENTRY_ICON_PRIMARY   = C.GtkEntryIconPosition(C.GTK_ENTRY_ICON_PRIMARY)
	ENTRY_ICON_SECONDARY = C.GtkEntryIconPosition(C.GTK_ENTRY_ICON_SECONDARY)

	// EventSequenceState
	EVENT_SEQUENCE_NONE    = C.GtkEventSequenceState(C.GTK_EVENT_SEQUENCE_NONE)
	EVENT_SEQUENCE_CLAIMED = C.GtkEventSequenceState(C.GTK_EVENT_SEQUENCE_CLAIMED)
	EVENT_SEQUENCE_DENIED  = C.GtkEventSequenceState(C.GTK_EVENT_SEQUENCE_DENIED)

	// ExpanderStyle
	EXPANDER_COLLAPSED      = C.GtkExpanderStyle(C.GTK_EXPANDER_COLLAPSED)
	EXPANDER_SEMI_COLLAPSED = C.GtkExpanderStyle(C.GTK_EXPANDER_SEMI_COLLAPSED)
	EXPANDER_SEMI_EXPANDED  = C.GtkExpanderStyle(C.GTK_EXPANDER_SEMI_EXPANDED)
	EXPANDER_EXPANDED       = C.GtkExpanderStyle(C.GTK_EXPANDER_EXPANDED)

	// FileChooserAction
	FILE_CHOOSER_ACTION_OPEN          = C.GtkFileChooserAction(C.GTK_FILE_CHOOSER_ACTION_OPEN)
	FILE_CHOOSER_ACTION_SAVE          = C.GtkFileChooserAction(C.GTK_FILE_CHOOSER_ACTION_SAVE)
	FILE_CHOOSER_ACTION_SELECT_FOLDER = C.GtkFileChooserAction(C.GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER)
	FILE_CHOOSER_ACTION_CREATE_FOLDER = C.GtkFileChooserAction(C.GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER)

	// FileChooserConfirmation
	FILE_CHOOSER_CONFIRMATION_CONFIRM         = C.GtkFileChooserConfirmation(C.GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM)
	FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME = C.GtkFileChooserConfirmation(C.GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME)
	FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN    = C.GtkFileChooserConfirmation(C.GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN)

	// FileChooserError
	FILE_CHOOSER_ERROR_NONEXISTENT         = C.GtkFileChooserError(C.GTK_FILE_CHOOSER_ERROR_NONEXISTENT)
	FILE_CHOOSER_ERROR_BAD_FILENAME        = C.GtkFileChooserError(C.GTK_FILE_CHOOSER_ERROR_BAD_FILENAME)
	FILE_CHOOSER_ERROR_ALREADY_EXISTS      = C.GtkFileChooserError(C.GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS)
	FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME = C.GtkFileChooserError(C.GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME)