Phoenix Logo

phoenix_title wx.lib.agw.flatmenu.FlatMenuItemGroup

A class that manages a group of radio menu items.


class_hierarchy Class Hierarchy

Inheritance diagram for class FlatMenuItemGroup:


method_summary Methods Summary

__init__ Default class constructor.
Add Adds a new item to the group.
Exist Checks if an item is in the group.
GetSelectedItem Returns the selected item.
Remove Removes a particular item.
SetSelection Selects a particular item.

api Class API



class FlatMenuItemGroup(object)

A class that manages a group of radio menu items.


Methods



__init__(self)

Default class constructor.



Add(self, item)

Adds a new item to the group.

Parameters:item – an instance of FlatMenu.


Exist(self, item)

Checks if an item is in the group.

Parameters:item – an instance of FlatMenu.


GetSelectedItem(self)

Returns the selected item.



Remove(self, item)

Removes a particular item.

Parameters:item – an instance of FlatMenu.


SetSelection(self, item)

Selects a particular item.

Parameters:item – an instance of FlatMenu.