Index

Package: Menu_Buttons

Description

package Widgets.Buttons.Pushes.Menu_Buttons is
Copyright (c) 2012 Kevin Wellwood All rights reserved. This source code is distributed under the Modified BSD License. For terms and conditions, see license.txt.

Classes

Menu_Button

type Menu_Button is new Push_Button and Animated with private;

Ancestors:

Primitive operations:

Construct
Objects.Construct (Inherited)
On_Blur (overriding Widgets.Buttons.Pushes.On_Blur)
On_Disabled
On_Enabled
On_Focus
On_Key_Press (overriding Widgets.Buttons.Pushes.On_Key_Press)
Processes.Get_Process_Name (Inherited)
Processes.Tick (Inherited)
Tick
Widgets.Activate_Popup (Inherited)
Widgets.Bring_To_Front (Inherited)
Widgets.Buttons.Add_Listener (Inherited)
Widgets.Buttons.Construct (Inherited)
Widgets.Buttons.Dispatch_Action (Inherited)
Widgets.Buttons.Draw_Content (Inherited)
Widgets.Buttons.Get_Min_Height (Inherited)
Widgets.Buttons.Get_Min_Width (Inherited)
Widgets.Buttons.Pushes.On_Key_Release (Inherited)
Widgets.Buttons.Pushes.On_Mouse_Held (Inherited)
Widgets.Buttons.Pushes.On_Mouse_Press (Inherited)
Widgets.Buttons.Pushes.On_Mouse_Release (Inherited)
Widgets.Buttons.Pushes.Toggle_State (Inherited)
Widgets.Buttons.Remove_Listener (Inherited)
Widgets.Buttons.Set_Color (Inherited)
Widgets.Buttons.Set_Icon (Inherited)
Widgets.Buttons.Set_State (Inherited)
Widgets.Buttons.Set_Text (Inherited)
Widgets.Buttons.To_String (Inherited)
Widgets.Construct (Inherited)
Widgets.Delete (Inherited)
Widgets.Draw (Inherited)
Widgets.Find_Widget_At (Inherited)
Widgets.Get_Color (Inherited)
Widgets.Get_Process_Name (Inherited)
Widgets.Get_View (Inherited)
Widgets.Get_Window (Inherited)
Widgets.Handle_Rooted (Inherited)
Widgets.Handle_Shown (Inherited)
Widgets.Is_Rooted (Inherited)
Widgets.Is_Showing (Inherited)
Widgets.On_Click (Inherited)
Widgets.On_Descendant_Shown (Inherited)
Widgets.On_Disabled (Inherited)
Widgets.On_Enabled (Inherited)
Widgets.On_Enter (Inherited)
Widgets.On_Exit (Inherited)
Widgets.On_Focus (Inherited)
Widgets.On_Key_Typed (Inherited)
Widgets.On_Mouse_Move (Inherited)
Widgets.On_Mouse_Scroll (Inherited)
Widgets.On_Resize (Inherited)
Widgets.On_Rooted (Inherited)
Widgets.On_Shown (Inherited)
Widgets.Pack (Inherited)
Widgets.Set_Border (Inherited)
Widgets.Set_Parent (Inherited)
Widgets.Set_Zoom (Inherited)
Widgets.Translate_To_Content (Inherited)
Widgets.Translate_To_Window (Inherited)
A Menu_Button for Keen is a button specifically designed to match the look and feel of the options in the menus, with an animated glowing dot next to the focus menu item.

Types

A_Menu_Button

type A_Menu_Button is access all Menu_Button'Class;

Subprograms & Entries

Create_Menu_Button

function Create_Menu_Button
( view: not null access Game_Views.Game_View'Class;
id: String;
text: String := "" ) return A_Button;
Creates a new menu button.