AGW Logo

agw_title RibbonButtonBarEvent

Event used to indicate various actions relating to a button on a RibbonButtonBar.

See RibbonButtonBar for available event types.

hierarchy Inheritance Diagram

Inheritance diagram for: RibbonButtonBarEvent

Inheritance diagram of RibbonButtonBarEvent


method_summary Methods Summary

__init__
GetBarReturns the bar which contains the button which the event relates to.
PopupMenuDisplay a popup menu as a result of this (dropdown clicked) event.
SetBarSets the button bar relating to this event.

API Class API

class RibbonButtonBarEvent(wx.PyCommandEvent)[source]

Event used to indicate various actions relating to a button on a RibbonButtonBar.

See RibbonButtonBar for available event types.



__init__(command_type=None, win_id=0, bar=None)[source]


GetBar()[source]

Returns the bar which contains the button which the event relates to.



PopupMenu(menu)[source]

Display a popup menu as a result of this (dropdown clicked) event.

Parameters:menu – MISSING DESCRIPTION.


SetBar(bar)[source]

Sets the button bar relating to this event.

Parameters:bar – MISSING DESCRIPTION.
Tree

Table Of Contents

Previous topic

RibbonButtonBarButtonSizeInfo

Next topic

RibbonButtonBarLayout