poppler-0.13: Binding to the Poppler.

Maintainergtk2hs-devel@lists.sourceforge.net
Stabilityalpha
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.Poppler.FormField

Contents

Description

 

Synopsis

Types

Enums

Methods

formFieldGetId Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Int

returns the id of field

Gets the id of field

formFieldGetFieldType Source

Arguments

:: FormFieldClass field 
=> field 
-> IO FormFieldType

returns FormFieldType of field

Gets the type of field

formFieldIsReadOnly Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if field is read only

Checks whether field is read only

formFieldGetFontSize Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Double

returns the font size of field

Gets the font size of field

formFieldButtonGetButtonType Source

Arguments

:: FormFieldClass field 
=> field 
-> IO FormButtonType

returns FormButtonType of field

Gets the button type of field

formFieldButtonGetState Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns current state of field

Queries a FormField and returns its current state. Returns True if field is pressed in and False if it is raised.

formFieldButtonSetState :: FormFieldClass field => field -> Bool -> IO () Source

Sets the status of field. Set to True if you want the FormField to be 'pressed in', and False to raise it.

formFieldChoiceCanSelectMultiple Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if field allows multiple choices to be selected

Checks whether field allows multiple choices to be selected

formFieldChoiceDoSpellCheck Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if spell checking should be done for field

Checks whether spell checking should be done for the contents of field

formFieldChoiceGetChoiceType Source

Arguments

:: FormFieldClass field 
=> field 
-> IO FormChoiceType

returns FormChoiceType of field

Gets the choice type of field

formFieldChoiceGetItem Source

Arguments

:: FormFieldClass field 
=> field 
-> Int

index the index of the item

-> IO String 

Returns the contents of the item on field at the given index

formFieldChoiceGetNItems Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Int

returns the number of items on field

Returns the number of items on field

formFieldChoiceGetText :: FormFieldClass field => field -> IO String Source

Retrieves the contents of field.

formFieldIsEditable Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if field is editable

Checks whether field is editable

formFieldChoiceIsItemSelected Source

Arguments

:: FormFieldClass field 
=> field 
-> Int

index the index of the item

-> IO Bool

returns True if item at index is currently selected

Checks whether the item at the given index on field is currently selected

formFieldChoiceSelectItem Source

Arguments

:: FormFieldClass field 
=> field 
-> Int

index the index of the item

-> IO () 

Selects the item at the given index on field

formFieldChoiceToggleItem Source

Arguments

:: FormFieldClass field 
=> field 
-> Int

index the index of the item

-> IO () 

Toggles the item at the given index on field

formFieldChoiceUnselectAll :: FormFieldClass field => field -> IO () Source

Unselects all the items on field

formFieldTextDoSpellCheck Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if spell checking should be done for field

Checks whether spell checking should be done for the contents of field

formFieldTextGetMaxLen Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Int

returns the maximum allowed number of characters in field, or -1 if there is no maximum.

Retrieves the maximum allowed length of the text in field

formFieldTextGetText :: FormFieldClass field => field -> IO String Source

Retrieves the contents of field.

formFieldTextGetTextType Source

Arguments

:: FormFieldClass field 
=> field 
-> IO FormTextType

returns FormTextType of field

Gets the text type of field

formFieldTextIsPassword Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if the content of field is a password

Checks whether content of field is a password and it must be hidden

formFieldTextIsRichText Source

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if the contents of field are rich text

Checks whether the contents of field are rich text

formFieldTextSetText Source

Arguments

:: FormFieldClass field 
=> field 
-> String

text the new text

-> IO () 

Sets the text in field to the given value, replacing the current contents.