Maintainer | gtk2hs-devel@lists.sourceforge.net |
---|---|
Stability | alpha |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
- data FormField
- class GObjectClass o => FormFieldClass o
- data FormFieldType
- data FormButtonType
- data FormChoiceType
- data FormTextType
- formFieldGetId :: FormFieldClass field => field -> IO Int
- formFieldGetFieldType :: FormFieldClass field => field -> IO FormFieldType
- formFieldIsReadOnly :: FormFieldClass field => field -> IO Bool
- formFieldGetFontSize :: FormFieldClass field => field -> IO Double
- formFieldButtonGetButtonType :: FormFieldClass field => field -> IO FormButtonType
- formFieldButtonGetState :: FormFieldClass field => field -> IO Bool
- formFieldButtonSetState :: FormFieldClass field => field -> Bool -> IO ()
- formFieldChoiceCanSelectMultiple :: FormFieldClass field => field -> IO Bool
- formFieldChoiceCommitOnChange :: FormFieldClass field => field -> IO Bool
- formFieldChoiceDoSpellCheck :: FormFieldClass field => field -> IO Bool
- formFieldChoiceGetChoiceType :: FormFieldClass field => field -> IO FormChoiceType
- formFieldChoiceGetItem :: FormFieldClass field => field -> Int -> IO String
- formFieldChoiceGetNItems :: FormFieldClass field => field -> IO Int
- formFieldChoiceGetText :: FormFieldClass field => field -> IO String
- formFieldIsEditable :: FormFieldClass field => field -> IO Bool
- formFieldChoiceIsItemSelected :: FormFieldClass field => field -> Int -> IO Bool
- formFieldChoiceSelectItem :: FormFieldClass field => field -> Int -> IO ()
- formFieldChoiceSetText :: FormFieldClass field => field -> String -> IO ()
- formFieldChoiceToggleItem :: FormFieldClass field => field -> Int -> IO ()
- formFieldChoiceUnselectAll :: FormFieldClass field => field -> IO ()
- formFieldTextDoScroll :: FormFieldClass field => field -> IO Bool
- formFieldTextDoSpellCheck :: FormFieldClass field => field -> IO Bool
- formFieldTextGetMaxLen :: FormFieldClass field => field -> IO Int
- formFieldTextGetText :: FormFieldClass field => field -> IO String
- formFieldTextGetTextType :: FormFieldClass field => field -> IO FormTextType
- formFieldTextIsPassword :: FormFieldClass field => field -> IO Bool
- formFieldTextIsRichText :: FormFieldClass field => field -> IO Bool
- formFieldTextSetText :: FormFieldClass field => field -> String -> IO ()
Types
class GObjectClass o => FormFieldClass o Source
Enums
data FormFieldType Source
data FormButtonType Source
data FormChoiceType Source
data FormTextType Source
Methods
:: FormFieldClass field | |
=> field | |
-> IO Int | returns the id of field |
Gets the id of field
:: FormFieldClass field | |
=> field | |
-> IO FormFieldType | returns |
Gets the type of field
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns |
Checks whether field is read only
:: FormFieldClass field | |
=> field | |
-> IO Double | returns the font size of field |
Gets the font size of field
formFieldButtonGetButtonType Source
:: FormFieldClass field | |
=> field | |
-> IO FormButtonType | returns |
Gets the button type of field
formFieldButtonGetState Source
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns current state of field |
formFieldButtonSetState :: FormFieldClass field => field -> Bool -> IO () Source
formFieldChoiceCanSelectMultiple Source
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns |
Checks whether field allows multiple choices to be selected
formFieldChoiceCommitOnChange :: FormFieldClass field => field -> IO Bool Source
formFieldChoiceDoSpellCheck Source
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns |
Checks whether spell checking should be done for the contents of field
formFieldChoiceGetChoiceType Source
:: FormFieldClass field | |
=> field | |
-> IO FormChoiceType | returns |
Gets the choice type of field
:: FormFieldClass field | |
=> field | |
-> Int |
|
-> IO String |
Returns the contents of the item on field at the given index
formFieldChoiceGetNItems Source
:: 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.
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns |
Checks whether field is editable
formFieldChoiceIsItemSelected Source
:: FormFieldClass field | |
=> field | |
-> Int |
|
-> IO Bool | returns |
Checks whether the item at the given index on field is currently selected
formFieldChoiceSelectItem Source
:: FormFieldClass field | |
=> field | |
-> Int |
|
-> IO () |
Selects the item at the given index on field
formFieldChoiceSetText :: FormFieldClass field => field -> String -> IO () Source
formFieldChoiceToggleItem Source
:: FormFieldClass field | |
=> field | |
-> Int |
|
-> IO () |
Toggles the item at the given index on field
formFieldChoiceUnselectAll :: FormFieldClass field => field -> IO () Source
Unselects all the items on field
formFieldTextDoScroll :: FormFieldClass field => field -> IO Bool Source
formFieldTextDoSpellCheck Source
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns |
Checks whether spell checking should be done for the contents of field
:: 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
:: FormFieldClass field | |
=> field | |
-> IO FormTextType | returns |
Gets the text type of field
formFieldTextIsPassword Source
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns |
Checks whether content of field is a password and it must be hidden
formFieldTextIsRichText Source
:: FormFieldClass field | |
=> field | |
-> IO Bool | returns |
Checks whether the contents of field are rich text
:: FormFieldClass field | |
=> field | |
-> String |
|
-> IO () |
Sets the text in field to the given value, replacing the current contents.