Pop-up menu.
More...
#include <popupmenu.h>
List of all members.
Detailed Description
Pop-up menu.
Constructor & Destructor Documentation
| CL_PopupMenu::CL_PopupMenu |
( |
|
) |
|
| virtual CL_PopupMenu::~CL_PopupMenu |
( |
|
) |
[virtual] |
Member Function Documentation
| void CL_PopupMenu::clear |
( |
|
) |
|
Delete all menu items.
- Parameters:
-
| static CL_PopupMenu CL_PopupMenu::create_null_object |
( |
|
) |
[static] |
Create null object.
- Returns:
- Popup Menu
| int CL_PopupMenu::find_item |
( |
const CL_StringRef & |
text, |
|
|
bool |
case_sensitive = false | |
|
) |
| | |
Returns the index of the item that matches the start or the string furthest.
| CL_String CL_PopupMenu::get_class_name |
( |
|
) |
const |
Get Class name.
- Returns:
- class_name
Get item.
- Parameters:
-
- Returns:
- Popup Menu Item
Get item at.
- Parameters:
-
- Returns:
- Popup Menu Item
| int CL_PopupMenu::get_item_count |
( |
|
) |
const |
| int CL_PopupMenu::get_minimum_width |
( |
|
) |
const |
Get Minimum width.
- Returns:
- minimum_width
| virtual CL_Size CL_PopupMenu::get_preferred_size |
( |
|
) |
const [virtual] |
Get Preferred size.
- Returns:
- preferred_size
Insert item.
- Parameters:
-
| text | = String Ref |
| id | = value |
| index | = value |
- Returns:
- Popup Menu Item
Insert item accel.
- Parameters:
-
| text | = String Ref |
| accel_text | = String Ref |
- Returns:
- Popup Menu Item
Insert separator.
- Parameters:
-
- Returns:
- Popup Menu Item
| bool CL_PopupMenu::is_null |
( |
|
) |
const [inline] |
Returns true if this object is invalid.
| void CL_PopupMenu::set_class_name |
( |
const CL_StringRef & |
class_name |
) |
|
Set class name.
- Parameters:
-
| void CL_PopupMenu::set_maximum_height |
( |
int |
height_pixels |
) |
|
Set maximum height.
- Parameters:
-
| void CL_PopupMenu::set_minimum_width |
( |
int |
width_pixels |
) |
|
Set minimum width.
- Parameters:
-
Start the popup menu for dialog (not modal).
| void CL_PopupMenu::throw_if_null |
( |
|
) |
const |
Throw an exception if this object is invalid.
Friends And Related Function Documentation
friend class CL_MenuBar_Impl [friend] |
friend class CL_PopupMenuWindow [friend] |
The documentation for this class was generated from the following file: