poppler-0.12.1: Binding to the Poppler.

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

Graphics.UI.Gtk.Poppler.FormField

Contents

Description

 

Synopsis

Types

Enums

Methods

formFieldGetIdSource

Arguments

:: FormFieldClass field 
=> field 
-> IO Int

returns the id of field

Gets the id of field

formFieldGetFieldTypeSource

Arguments

:: FormFieldClass field 
=> field 
-> IO FormFieldType

returns FormFieldType of field

Gets the type of field

formFieldIsReadOnlySource

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if field is read only

Checks whether field is read only

formFieldGetFontSizeSource

Arguments

:: FormFieldClass field 
=> field 
-> IO Double

returns the font size of field

Gets the font size of field

formFieldButtonGetButtonTypeSource

Arguments

:: FormFieldClass field 
=> field 
-> IO FormButtonType

returns FormButtonType of field

Gets the button type of field

formFieldButtonGetStateSource

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.

formFieldChoiceCanSelectMultipleSource

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

formFieldChoiceDoSpellCheckSource

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

formFieldChoiceGetChoiceTypeSource

Arguments

:: FormFieldClass field 
=> field 
-> IO FormChoiceType

returns FormChoiceType of field

Gets the choice type of field

formFieldChoiceGetItemSource

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

formFieldChoiceGetNItemsSource

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 StringSource

Retrieves the contents of field.

formFieldIsEditableSource

Arguments

:: FormFieldClass field 
=> field 
-> IO Bool

returns True if field is editable

Checks whether field is editable

formFieldChoiceIsItemSelectedSource

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

formFieldChoiceSelectItemSource

Arguments

:: FormFieldClass field 
=> field 
-> Int

index the index of the item

-> IO () 

Selects the item at the given index on field

formFieldChoiceToggleItemSource

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

formFieldTextDoSpellCheckSource

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

formFieldTextGetMaxLenSource

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 StringSource

Retrieves the contents of field.

formFieldTextGetTextTypeSource

Arguments

:: FormFieldClass field 
=> field 
-> IO FormTextType

returns FormTextType of field

Gets the text type of field

formFieldTextIsPasswordSource

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

formFieldTextIsRichTextSource

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

formFieldTextSetTextSource

Arguments

:: FormFieldClass field 
=> field 
-> String

text the new text

-> IO () 

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