Name

ImageMenuItem —

This widget implements a MenuItem with an image next to it

Synopsis

imageMenuItemNew:: IO ImageMenuItem
imageMenuItemNewFromStock:: String -> IO ImageMenuItem
imageMenuItemNewWithLabel:: String -> IO ImageMenuItem
imageMenuItemNewWithMnemonic:: String -> IO ImageMenuItem
imageMenuItemGetImage:: ImageMenuItemClass imi => imi -> IO (Maybe Widget)
imageMenuItemSetImage:: (ImageMenuItemClass imi, WidgetClass wd) => imi -> wd -> IO ()

Todo

imageMenuItemNewFromSock should also have a AccelGroup argument

Constructors

imageMenuItemNew

Create a new MenuItem with a image next to it.

imageMenuItemNew

imageMenuItemNewFromStock

Create a new MenuItem with a stock image.

imageMenuItemNewFromStock:: String:: IO ImageMenuItem
str

imageMenuItemNewWithLabel

Create a new MenuItem with a label.

imageMenuItemNewWithLabel:: String:: IO ImageMenuItem
str

imageMenuItemNewWithMnemonic

Create a new MenuItem with a label where underscored indicate the mnemonic.

imageMenuItemNewWithMnemonic:: String:: IO ImageMenuItem
str

Methods

imageMenuItemGetImage

Get the image that is currently set a the image.

imageMenuItemGetImage:: imi:: IO (Maybe Widget)
imi

imageMenuItemSetImage

Sets the image for the ImageMenuItem.

imageMenuItemSetImage:: imi:: wd:: IO ()
imiwd