Table of Contents

wxToolBar

include file: wxToolBar


Creation parameters:

  • proc add_separator( atom bar )   
  • func add_tool( atom bar, integer id, atom b1, atom b2, sequence label, sequence s1, sequence s2, integer kind )   
  • proc set_tool_bitmap_size( atom bar, integer x, integer y )   
  • proc set_tool_margins( atom toolbar, integer x, integer y )   
  • proc show_toolbar( atom bar )   
  • proc toggle_tool( atom bar, atom id, integer toggle )     
     
    Parent Topics:
  • Classes
  • Controls


    Table of Contents

    [proc]
    add_separator
    ( atom bar )

    Category: wxToolBar

    See Also: add_tool, set_tool_bitmap_size, set_tool_margins, show_toolbar, toggle_tool



    Table of Contents

    [func]
    add_tool
    ( atom bar, integer id, atom b1, atom b2, sequence label, sequence s1, sequence s2, integer kind )

    Category: wxToolBar

    See Also: add_separator, set_tool_bitmap_size, set_tool_margins, show_toolbar, toggle_tool



    Table of Contents

    [proc]
    set_tool_bitmap_size
    ( atom bar, integer x, integer y )

    Category: wxToolBar

    Sets the size of the images to be loaded into the toolbar. The default is 32 x 32. This does not seem to have an effect under Linux (my investigation of wxWidgets source doesn't ever show these properties being used by wxGTK).

    See Also: add_separator, add_tool, set_tool_margins, show_toolbar, toggle_tool



    Table of Contents

    [proc]
    set_tool_margins
    ( atom toolbar, integer x, integer y )

    Category: wxToolBar

    See Also: add_separator, add_tool, set_tool_bitmap_size, show_toolbar, toggle_tool



    Table of Contents

    [proc]
    show_toolbar
    ( atom bar )

    Category: wxToolBar

    Must be called after tools are added.

    See Also: add_separator, add_tool, set_tool_bitmap_size, set_tool_margins, toggle_tool



    Table of Contents

    [proc]
    toggle_tool
    ( atom bar, atom id, integer toggle )

    Category: wxToolBar

    See Also: add_separator, add_tool, set_tool_bitmap_size, set_tool_margins, show_toolbar