<simplesect id="config-keys_mouse-actions" xreflabel="Keys/mouse actions">
  <title>Keys/Mouse actions and window attributes</title>

  <para>
    Here is the list of all possible actions and attributes. First
    table shows all toggleable attributes. Toggleable attributes are
    controlled using
    the <emphasis>Set</emphasis>, <emphasis>Unset</emphasis>
    and <emphasis>Toggle</emphasis> actions. Examples below.
  </para>

  <screen> Keypress = "Mod4 s"       { Actions = "Toggle Shaded" }
 Keypress = "Mod4 m"       { Actions = "Toggle Maximized True True" }
 Keypress = "Mod4 t"       { Actions = "Set Tagged" }
 Keypress = "Mod4 Shift t" { Actions = "Unset Tagged" }</screen>

  <para>
    <variablelist>
      <title>Toggleable attributes:</title>

      <varlistentry>
        <term>Maximized (bool bool)</term>
        <listitem>
          <para>
            If a frame is maximized. Two parameters, first one decides
            if the frame is maximized horizontally, the second if it
            is maximized vertically.
        </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Fullscreen</term>
        <listitem>
          <para>
            If a frame should be fullscreen. Fullscreen frame takes
            over the whole desktop ignoring any harbour or struts and
            becomes decorless.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Shaded</term>
        <listitem>
          <para>
            If a frame should be shaded (so that only the titlebar
            shows until it's unset or toggled off).
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Sticky</term>
        <listitem>
          <para>
            If a frame should be sticky so it appears on every
            workspace.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>AlwaysOnTop</term>
        <listitem>
          <para>
            If frame should always be on top of other frames.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>AlwaysBelow</term>
        <listitem>
          <para>
            If a frame should always be below other frames.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Decor</term>
        <listitem>
          <para>
            When used with Set/Toggle it takes an additional parameter for the decorname that is set/toggled.
            Unset just removes the last "override"-decor.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>DecorBorder</term>
        <listitem>
          <para>
            If frame should have borders.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>DecorTitlebar</term>
        <listitem>
          <para>
            If frame should have a titlebar.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Iconified</term>
        <listitem>
          <para>If a frame should be iconified.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Opaque</term>
        <listitem>
          <para>If the frame should be fully opaque (ie: disable the opacity setting).</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Tagged (bool)</term>
        <listitem>
          <para>
            If a frame should swallow all new clients until unset or
            toggled off. One parameter, if true new clients open in
            the background. Defaults to false.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Marked</term>
        <listitem>
          <para>
            If a frame is marked for later attaching (with AttachMarked).
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Skip (string)</term>
        <listitem>
          <para>
            If a frame should be ignored on specified places, string is one of

            <itemizedlist>
              <listitem><para>menus</para></listitem>
              <listitem><para>focustoggle</para></listitem>
              <listitem><para>snap</para></listitem>
            </itemizedlist>
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>CfgDeny (string)</term>
        <listitem>
          <para>
            When things to be done to this window requested by the
            client program should be denied, string is one of:
            <itemizedlist>
              <listitem><para>above (don't let client place window above other windows)</para></listitem>
              <listitem><para>activewindow (don't let client give input focus)</para></listitem>
              <listitem><para>below (don't let client place window below other windows)</para></listitem>
              <listitem><para>fullscreen (don't let client set window fullscreen mode)</para></listitem>
              <listitem><para>hidden (don't let client hide window)</para></listitem>
              <listitem><para>maximizedhorz (don't let client maximize window horizontally)</para></listitem>
              <listitem><para>maximizedvert (don't let client maximize a window vertically)</para></listitem>
              <listitem><para>position (don't let the client move the window)</para></listitem>
              <listitem><para>size (don't let the client resize the window)</para></listitem>
              <listitem><para>stacking (don't allow the client to raise or lower the window)</para></listitem>
              <listitem><para>tiling (Tiling layouters should leave this window floating)</para></listitem>
            </itemizedlist>
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Title (string)</term>
        <listitem>
          <para>
            Changes the clients titlebar text to string when
            set. Unsetting returns the clients title text back to the
            client specified one.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>HarbourHidden</term>
        <listitem>
          <para>
            If set, harbour and anything in it will be hidden from the screen.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>GlobalGrouping</term>
        <listitem>
          <para>
            If all autogrouping should be in use or not. By default
            it's set, as in autogrouping is enabled.
          </para>
        </listitem>
      </varlistentry>
    </variablelist>
  </para>

  <para>
    <variablelist>
      <title>Keys/Mouse Actions:</title>

      <varlistentry>
        <term>Focus</term>
        <listitem>
          <para>Gives focus to a frame.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>UnFocus</term>
        <listitem>
          <para>Removes focus from a frame.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>Set (one of toggleable attributes)</term>
	<listitem>
          <para>Makes toggleable attributes set.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>UnSet (one of toggleable attributes)</term>
	<listitem>
          <para>Unsets toggleable attributes.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Toggle (one of toggleable attributes)</term>
	<listitem>
          <para>Toggles toggleable attributes.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>MaxFill (bool bool)</term>
        <listitem>
          <para>
            Acts much like Maximize, but considers other frames while
            doing it. Instead of filling the whole screen, it only
            fills to the borders of neighboring frames. Takes two
            parameters, first one decides if the frame is maxfilled
            horizontally, the second if it should be maxfilled
            vertically.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>GrowDirection (string)</term>
        <listitem>
          <para>
            Grows the frame in one of the directions up to the edge of
            the head. String is one of up, down, left, right.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Close</term>
        <listitem>
          <para>Closes a client window.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>CloseFrame</term>
        <listitem>
          <para>Closes a frame and all client windows in it.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Kill</term>
        <listitem>
          <para>Kills a client window, use if close doesn't work.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>SetGeometry (string int)</term>
        <listitem>
          <para>
            Sets the geometry of a frame.
            The first option is a geometry string that XParseGeometry can
            parse. The second one specifies the head number that geometry
            should be relative to. It defaults to -1 which means the
            geometry is relative to the whole screen.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Raise (bool)</term>
        <listitem>
          <para>
            Raises a frame above other frames. If bool is true raises
            a frame and all of the currently active clients
            child/parent windows above other frames.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Lower (bool)</term>
        <listitem>
          <para>
            Lowers a frame under other frames. If bool is true lowers
            a frame and all of the currently active clients
            child/parent windows under other frames.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ActivateOrRaise</term>
        <listitem>
          <para>
            If the frame this action is used on is not focused,
            focuses it. If the frame is focused, raises it. If used on
            a groups titlebar, activates the selected client of the
            group.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ActivateClientRel (int)</term>
        <listitem>
          <para>
            Moves the focus and raises a client inside a frame
            relative to the currently selected client. Int is 1 to
            move right, -1 to move left.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>MoveClientRel (int)</term>
        <listitem>
          <para>
            Moves the current clients position inside the current
            frame. Int is 1 to move right, -1 to move
            left.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ActivateClient</term>
        <listitem>
          <para>Activates a client of a frame.</para>
          <para>Mouse-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ActivateClientNum (int)</term>
        <listitem>
          <para>Activates the #th client of a frame. Int is the client number counting from left.</para>
          <para>Keygrabber-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Resize (string)</term>
        <listitem>
          <para>
            Resizes a frame. String is one of top, bottom, left,
            right, topleft, topright, bottomleft, bottomright.
          </para>
          <para>Mouse-specific (parameters frameborder-specific)</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Move</term>
        <listitem>
          <para>Moves a frame.</para>
          <para>Mouse-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
	<term>MoveResize</term>
        <listitem>
          <para>Activates the keyboard move and resize.</para>
          <para>Keygrabber-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>GroupingDrag (bool)</term>
        <listitem>
          <para>
            Drags windows in and out of frames, if parameter is true
            dragged windows go in the background of a frame.
          </para>
          <para>Mouse-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>WarpToWorkspace (string)</term>
        <listitem>
          <para>
            Makes a dragged window warp to specified workspace when a
            it's moved over a screen edge. String is one:
            <itemizedlist>
              <listitem>
                <para>
                  next - send to the next workspace, if on last
                  workspace, wrap to the first one.
                </para>
              </listitem>
              <listitem>
                <para>
                  prev - send to the previous workspace, if on first
                  workspace, wrap to the last one.
                </para>
              </listitem>
              <listitem>
                <para>
                  left - send to the previous workspace
                </para>
              </listitem>
              <listitem>
                <para>
                  right - send to the next workspace
                </para>
              </listitem>
              <listitem>
                <para>
                  int - integer is a workspace number to send to to
                </para>
              </listitem>
            </itemizedlist>
          </para>
          <para>ScreenEdge specific mouse binding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>MoveToHead (int)</term>
        <listitem>
          <para>
            Moves the frame to the same relative position on another head.
            The window is shrinked to fit if it is larger than the new head.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>MoveToEdge (string)</term>
        <listitem>
          <para>
            Moves the frame to the specified place on the screen. String is one of
            TopLeft,
            TopEdge,
            TopRight,
            RightEdge,
            BottomRight,
            BottomEdge,
            BottomLeft,
            LeftEdge,
            Center,
            TopCenterEdge,
            BottomCenterEdge,
            LeftCenterEdge,
            RightCenterEdge.
          </para>
          <para>Keygrabber-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>NextFrame (string boolean)</term>
        <listitem>
          <para>
            Focuses the next frame. String is one of:
            <itemizedlist>
              <listitem><para>alwaysraise - raise windows while toggling them</para></listitem>
              <listitem><para>endraise - raise the selected client</para></listitem>
              <listitem><para>neverraise - do not raise the selected client (unless it's iconified)</para></listitem>
              <listitem><para>tempraise - raise the selected client but keep the order of the other windows</para></listitem>
            </itemizedlist>If boolean is true, also goes thru iconified windows. Defaults to false.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>PrevFrame (string boolean)</term>
        <listitem>
          <para>Focuses the previous frame. String is:
            <itemizedlist>
              <listitem><para>alwaysraise - raise windows while toggling them</para></listitem>
              <listitem><para>endraise - raise the selected client</para></listitem>
              <listitem><para>neverraise - do not raise the selected client (unless it's iconified)</para></listitem>
              <listitem><para>tempraise - raise the selected client but keep the order of the other windows</para></listitem>
            </itemizedlist>If boolean is true, also goes thru iconified windows. Defaults to false.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>NextFrameMRU (string boolean)</term>
        <listitem>
          <para>
            Focuses the next frame so that the last focused windows will get switched to first. String is:
            <itemizedlist>
              <listitem><para>alwaysraise - raise windows while toggling them</para></listitem>
              <listitem><para>endraise - raise the selected client</para></listitem>
              <listitem><para>neverraise - do not raise the selected client (unless it's iconified)</para></listitem>
              <listitem><para>tempraise - raise the selected client but keep the order of the other windows</para></listitem>
            </itemizedlist>
            If boolean is true, also goes thru iconified windows. Defaults to false.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>PrevFrameMRU (string boolean)</term>
        <listitem>
          <para>
            Focuses the previous frame so that the last focused windows will get switched to first. String is:
            <itemizedlist>
              <listitem><para>alwaysraise - raise windows while toggling them</para></listitem>
              <listitem><para>endraise - raise the selected client</para></listitem>
              <listitem><para>neverraise - do not raise the selected client (unless it's iconified)</para></listitem>
              <listitem><para>tempraise - raise the selected client but keep the order of the other windows</para></listitem>
            </itemizedlist>
            If boolean is true, also goes thru iconified windows. Defaults to false.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>FocusDirectional (string bool)</term>
        <listitem>
          <para>
            Focuses the first window on the direction specified, and
            optionally raises it. Takes two options, first one is the
            direction and the second specifies if the focused frame
            should be raised or not. Bool defaults to True. String is
            one of up, down, left, right
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>AttachMarked</term>
        <listitem>
          <para>Attachs all marked clients to the current frame.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>AttachClientInNextFrame</term>
        <listitem>
          <para>Attachs client to the next frame.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>AttachClientInPrevFrame</term>
        <listitem>
          <para>Attachs client to the previous frame.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>FindClient (string)</term>
        <listitem>
          <para>
            Searches the client list for a client that has a title
            matching the given regex string.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>GotoClientID (string)</term>
        <listitem>
          <para>
            Shows and focuses a client based on the Client ID given as a parameter.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Detach</term>
        <listitem>
          <para>Detach the current client from its frame.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>SendToWorkspace (string)</term>
        <listitem>
          <para>
            Sends a frame to the specified workspace. String is one of:
	    <itemizedlist>
              <listitem>
                <para>
                  next - send to the next workspace, if on last
	          workspace, wrap to the first one.
                </para>
              </listitem>
	      <listitem>
                <para>
                  prev - send to the previous workspace, if on first
	          workspace, wrap to the last one.
                </para>
              </listitem>
	      <listitem>
                <para>
                  left - send to the previous workspace
                </para>
              </listitem>
	      <listitem>
                <para>
                  right - send to the next workspace
                </para>
              </listitem>
              <listitem>
                <para>
                  prevv - send to the previous (vertical) workspace,
                  if on last workspace, wrap to the first one.
                </para>
              </listitem>
              <listitem>
                <para>
                  up - send to the previous (vertical) workspace.
                </para>
              </listitem>
              <listitem>
                <para>
                  nextv - sed to the next (vertical) workspace, if on
                  last workspace, wrap to the first one.
                </para>
              </listitem>
              <listitem>
                <para>
                  down -
                </para>
              </listitem>
	      <listitem>
                <para>
                  last - send to workspace you last used before the current
                </para>
              </listitem>
	      <listitem>
                <para>
                  int - integer is a workspace number to send to to
                </para>
              </listitem>
	    </itemizedlist>
	  </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>GotoWorkspace (string)</term>
        <listitem>
          <para>
            Changes workspaces. String is one of:
            <itemizedlist>
              <listitem>
                <para>
                  left - go to the previous workspace on current row.
                </para>
              </listitem>
              <listitem>
                <para>
                  prev - go to the previous workspace on current row, if on first
                  workspace, wrap to the last one on current row.
                </para>
              </listitem>
              <listitem>
                <para>
                  right - go to the next workspace on current row.
                </para>
              </listitem>
              <listitem>
                <para>
                  next - go to the next workspace on current row, if on last
                  workspace, wrap to the first one on current row.
                </para>
              </listitem>
              <listitem>
                <para>
                  leftn - go to the previous workspace.
                </para>
              </listitem>
              <listitem>
                <para>
                  prevn - go to the previous workspace, if on first
                  workspace, wrap to the last.
                </para>
              </listitem>
              <listitem>
                <para>
                  rightn - go to the next workspace.
                </para>
              </listitem>
              <listitem>
                <para>
                  nextn - go to the next workspace, if on last
                  workspace, wrap to the first.
                </para>
              </listitem>
              <listitem>
                <para>
                  prevv -
                </para>
              </listitem>
              <listitem>
                <para>
                  up -
                </para>
              </listitem>
              <listitem>
                <para>
                  nextv -
                </para>
              </listitem>
              <listitem>
                <para>
                  down -
                </para>
              </listitem>
              <listitem>
                <para>
                  last - go to workspace you last used before the current
                </para>
              </listitem>
              <listitem>
                <para>
                  int - integer is a workspace number to go to
                </para>
              </listitem>
            </itemizedlist>
        </para></listitem>
      </varlistentry>
      <varlistentry>
        <term>Exec (string)</term>
        <listitem>
          <para>
            Executes a program, string is a path to an executable file.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Reload</term>
        <listitem>
          <para>Reloads pekwm configs.</para>
          <para>Keygrabber-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Restart</term>
        <listitem>
          <para>Restarts pekwm.</para>
          <para>Keygrabber-specific</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>RestartOther</term>
        <listitem>
          <para>
            Quits pekwm and starts the program you specify. String is
            a path to an executable file.
          </para>
          <para>Keygrabber-specific</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>Exit</term>
        <listitem>
          <para>Exits pekwm.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
	<term>ShowCmdDialog (string)</term>
        <listitem>
          <para>
            Shows the command dialog that can be used to input pekwm
            actions. If it's a window specific action, it affects the
            window focused when CmdDialog was summoned. If entered
            action doesn't match any valid pekwm action, pekwm tries
            to Exec it as a shell command. Takes an optional string as
            a parameter. This string will then be pre-filled as the
            initial value of the dialog.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
	<term>ShowSearchDialog (string)</term>
        <listitem>
          <para>
            Shows the search dialog that can be used to search for
            clients and when selected the client will be
            activated. Takes an optional string as a parameter. This
            string will then be pre-filled as the initial value of the
            dialog.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ShowMenu (string bool)</term>
        <listitem>
          <para>
            Shows a menu. String is menu type from below list or user
            defined menu name (see <xref linkend="config-menu-custommenus"/>):

            <itemizedlist>
              <listitem><para>root - shows your application menu</para></listitem>
	      <listitem><para>icon - shows iconified windows</para></listitem>
	      <listitem><para>goto - shows currently active clients</para></listitem>
	      <listitem><para>gotoclient - shows all open clients</para></listitem>
	      <listitem><para>window - shows a window specific menu</para></listitem>
	      <listitem><para>decor - shows possible decorations in the current theme</para></listitem>
	      <listitem><para>attachclient - allows to attach clients in current frame</para></listitem>
	      <listitem><para>attachframe - allows to attach whole frame in current frame</para></listitem>
	      <listitem><para>attachclientinframe - allows attaching current client in any other frame</para></listitem>
	      <listitem><para>attachframeinframe - allows attaching current frame in any other frame</para></listitem>
	    </itemizedlist>

	    Bool is true for sticky menus, false for click to vanish. Defaults to false.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>HideAllMenus</term>
        <listitem>
          <para>Closes all pekwm menus.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>SendKey</term>
        <listitem>
          <para>
            Send a key, possibly with modifiers, to the active window.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>SetOpacity (int int)</term>
        <listitem>
          <para>
            Sets the Focused and Unfocused opacity values for the active window. 100 stands for fully opaque while 0 is completely transparent.
          </para>
        </listitem>
      </varlistentry>

    </variablelist>

    <variablelist>
      <title>MoveResize actions:</title>

      <varlistentry>
        <term>MoveHorizontal (int)</term>
        <listitem>
          <para>
            Moves a frame horizontally. Int is amount of pixels and can be negative.
          </para>
          <para>Moveresize-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>MoveVertical (int)</term>
        <listitem>
          <para>
            Moves a frame vertically. Int is amount of pixels and can be negative.
          </para>
          <para>Moveresize-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ResizeHorizontal (int)</term>
        <listitem>
          <para>
            Resizes a frame horizontally. Int is amount of pixels and can be negative.
          </para>
          <para>Moveresize-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>ResizeVertical (int)</term>
        <listitem>
          <para>
            Resizes a frame vertically. Int is amount of pixels and can be negative.
          </para>
          <para>Moveresize-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>MoveSnap</term>
        <listitem>
          <para>
            Snaps the frame to the closest frames or screenedges.
          </para>
          <para>Moveresize-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Cancel</term>
        <listitem>
          <para>
            Cancels all moveresize actions and keeps the frame how it was before them.
          </para>
          <para>Moveresize-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>End</term>
        <listitem>
          <para>
            Acknowledges the moveresize actions and moves/resizes the frame as wished.
          </para>
          <para>Moveresize-specific keybinding</para></listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>Menu actions:</title>
      <varlistentry>
        <term>NextItem</term>
        <listitem>
          <para>
            Goes to next menu item.
          </para>
          <para>Menu-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>PrevItem</term>
        <listitem>
          <para>
            Goes to previous menu item.
          </para>
          <para>Menu-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>GotoItem (int)</term>
        <listitem>
          <para>
            Goes to item number int. First item in menu is 1.
          </para>
          <para>Menu-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Select</term>
        <listitem>
          <para>
            Selects the current menu item.
          </para>
          <para>Menu-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>EnterSubmenu</term>
        <listitem>
          <para>
            Enters a submenu.
          </para>
          <para>Menu-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>LeaveSubmenu</term>
        <listitem>
          <para>
            Leaves a submenu.
          </para>
          <para>Menu-specific keybinding</para>
        </listitem>
      </varlistentry>
    </variablelist>

    <variablelist>
      <title>InputDialog actions:</title>

      <varlistentry>
        <term>Insert</term>
        <listitem>
          <para>
            Allows for the keypress to be inputted to the text field
            of InputDialog. Usually used to allow any other keys than
            the ones used for InputDialog.
          </para>
          <para>InputDialog-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Erase</term>
        <listitem>
          <para>
            Erases the previous character according to the cursor position.
          </para>
          <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>Clear</term>
        <listitem>
          <para>
            Clears the whole InputDialog line.
          </para>
          <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>ClearFromCursor</term>
        <listitem>
          <para>
            Erases all characters after the current cursor position.
          </para>
	  <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>Exec</term>
        <listitem>
          <para>
            Finishes input and executes the the data
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Close</term>
        <listitem>
          <para>
            Closes an InputDialog.
          </para>
          <para>InputDialog-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>CursNext</term>
        <listitem>
          <para>
            Moves InputDialog cursor one characer space to right.
          </para>
          <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>CursPrev</term>
        <listitem>
          <para>
            Moves InputDialog cursor one characer space to left.
          </para>
          <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>CursEnd</term>
        <listitem>
          <para>
            Moves InputDialog cursor to the end of the line.
          </para>
          <para>InputDialog-specific keybinding</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>CursBegin</term>
        <listitem>
          <para>
            Moves InputDialog cursor to the beginning of the line.
          </para>
          <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>HistNext</term>
        <listitem>
          <para>
            Get next history item previously used in InputDialog.
          </para>
          <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
      <varlistentry>
        <term>HistPrev</term>
        <listitem>
          <para>
            Get previous history item previously used in InputDialog.
          </para>
          <para>InputDialog-specific keybinding</para></listitem>
      </varlistentry>
    </variablelist>
  </para>

</simplesect>
