Module Expr Str Import alias ImportFrom alias ImportFrom alias alias alias alias alias Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad TupleLoad Num Num NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call NameLoad NameLoad Str body If Call AttributeLoad NameLoad attr body Assign NameStore Num orelse Assign NameStore Num orelse Assign NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad TupleLoad Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore BinOpMod NameLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ImportFrom alias alias If CompareEq NameLoad Str body Assign NameStore Call NameLoad NameLoad Num NameLoad keyword AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad Num NameLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad body Expr Call NameLoad NameLoad Return decorator_list decorator_list
N/A N/A  View of an ActionManager drawn as a rectangle of buttons.
 N/A wx pyface.widget Widget traits.api Bool Dict Int List Tuple N/A HTML 

<html>
  <body bgcolor='#cccccc'>
    %s
  </body>
</html>

 N/A PART <wxp module="wx" class="Panel"><param name="id" value="%s"><param name="size" value="%s"></wxp> ToolPalette N/A Widget N/A N/A tools List N/A id_tool_map Dict N/A tool_id_to_button_map Dict N/A button_size N/A Tuple N/A 25 25 Int Int N/A is_realized N/A Bool False N/A tool_listeners Dict N/A button_tool_map Dict __init__ N/A N/A self parent N/A traits N/A N/A  Creates a new tool palette.  N/A N/A N/A N/A super ToolPalette self __init__ traits N/A N/A self control N/A N/A self _create_control parent N/A N/A add_tool N/A N/A self label bmp kind tooltip longtip N/A N/A N/A  Add a tool with the specified properties to the palette.

        Return an id that can be used to reference this tool in the future.
         N/A wxid N/A N/A wx NewId N/A params N/A wxid label bmp kind tooltip longtip N/A N/A N/A N/A self tools append params N/A N/A N/A self id_tool_map N/A wxid params N/A N/A self is_realized N/A N/A N/A N/A self _reflow N/A wxid N/A toggle_tool N/A N/A self id checked N/A N/A N/A  Toggle the tool identified by 'id' to the 'checked' state.

        If the button is a toggle or radio button, the button will be checked
        if the 'checked' parameter is True; unchecked otherwise.  If the button
        is a standard button, this method is a NOP.
         N/A button N/A N/A N/A self tool_id_to_button_map get id None N/A N/A N/A button None N/A hasattr button SetToggle N/A N/A N/A N/A button SetToggle checked N/A N/A enable_tool N/A N/A self id enabled N/A N/A N/A  Enable or disable the tool identified by 'id'.  N/A button N/A N/A N/A self tool_id_to_button_map get id None N/A N/A button None N/A N/A N/A N/A button SetEnabled enabled N/A N/A on_tool_event N/A N/A self id callback N/A N/A N/A  Register a callback for events on the tool identified by 'id'.  N/A callbacks N/A N/A N/A self tool_listeners setdefault id N/A N/A N/A N/A callbacks append callback N/A N/A realize N/A N/A self N/A N/A N/A  Realize the control so that it can be displayed.  N/A N/A self is_realized True N/A N/A N/A self _reflow N/A N/A get_tool_state N/A N/A self id N/A N/A N/A  Get the toggle state of the tool identified by 'id'.  N/A button N/A N/A N/A self tool_id_to_button_map get id None N/A N/A hasattr button GetToggle N/A N/A N/A N/A button GetToggle N/A N/A state 1 N/A N/A state 0 N/A N/A state 0 N/A state N/A _create_control N/A N/A self parent N/A N/A N/A html_window N/A N/A N/A wx html HtmlWindow parent -1 style N/A wx CLIP_CHILDREN N/A html_window N/A _reflow N/A N/A self N/A N/A N/A  Reflow the layout.  N/A parts N/A N/A param N/A self tools N/A N/A N/A N/A parts append N/A PART N/A N/A str N/A param N/A 0 N/A self button_size N/A html N/A HTML N/A N/A join parts N/A N/A N/A N/A self control SetPage html N/A param N/A self tools N/A N/A N/A N/A self _initialize_tool param N/A N/A _initialize_tool N/A N/A self param N/A N/A N/A  Initialize the tool palette button.  N/A N/A wxid label bmp kind tooltip longtip param N/A panel N/A N/A N/A self control FindWindowById wxid N/A sizer N/A N/A wx BoxSizer N/A wx VERTICAL N/A N/A N/A panel SetSizer sizer N/A N/A N/A panel SetAutoLayout True N/A N/A N/A panel SetWindowStyleFlag N/A wx CLIP_CHILDREN wx.lib.buttons GenBitmapToggleButton GenBitmapButton N/A N/A kind radio N/A N/A button N/A GenBitmapToggleButton panel -1 None size N/A self button_size N/A N/A button N/A GenBitmapButton panel -1 None size N/A self button_size N/A N/A N/A self button_tool_map N/A N/A N/A button GetId wxid N/A N/A N/A self tool_id_to_button_map N/A wxid button N/A N/A N/A wx EVT_BUTTON panel N/A N/A button GetId N/A self _on_button N/A N/A N/A button SetBitmapLabel bmp N/A N/A N/A button SetToolTipString label N/A N/A N/A sizer Add button 0 N/A wx EXPAND N/A N/A _on_button N/A N/A self event N/A N/A N/A button_id N/A N/A event GetId N/A tool_id N/A N/A N/A self button_tool_map get button_id None N/A N/A tool_id None N/A N/A listener N/A N/A N/A self tool_listeners get tool_id N/A N/A N/A N/A listener event N/A N/A N/A