gtk2hsContentsIndex
AccelLabel
Description

This widget is a special version of Label. It displays an accelerator key next to the Label.

  • The key name is not explicitly set but taken from the key that is associated with the activation of another widget.
Synopsis
accelLabelNew :: String -> IO AccelLabel
accelLabelSetAccelWidget :: (AccelLabelClass acl, WidgetClass w) => acl -> w -> IO ()
accelLabelGetAccelWidget :: AccelLabelClass acl => acl -> IO (Maybe Widget)
Documentation
accelLabelNew :: String -> IO AccelLabel
Create a new label with an accelerator key.
accelLabelSetAccelWidget :: (AccelLabelClass acl, WidgetClass w) => acl -> w -> IO ()
Set the key name from the activation signal of another widget.
accelLabelGetAccelWidget :: AccelLabelClass acl => acl -> IO (Maybe Widget)
Fetches the widget monitored by this accelerator label, or Nothing if it has not bee set.
Produced by Haddock version 0.6