Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxAuiTabArt (3erl)

Name

wxAuiTabArt - Functions for wxAuiTabArt class

Synopsis

Please see following description for synopsis

Description

wxAuiTabArt(3)             Erlang Module Definition             wxAuiTabArt(3)



NAME
       wxAuiTabArt - Functions for wxAuiTabArt class

DESCRIPTION
       Tab  art  provider defines all the drawing functions used by wxAuiNote-
       book.

       This allows the wxAuiNotebook to have a pluggable look-and-feel.

       By default, a wxAuiNotebook uses  an  instance  of  this  class  called
       wxAuiDefaultTabArt  (not  implemented  in wx) which provides bitmap art
       and a colour scheme that is adapted to the major platforms'  look.  You
       can  either  derive  from  that class to alter its behaviour or write a
       completely new tab art class.

       Another example of creating a new wxAuiNotebook tab  bar  is  wxAuiSim-
       pleTabArt.

       Call wxAuiNotebook:setArtProvider/2 to make use of this new tab art.

       wxWidgets docs: wxAuiTabArt

DATA TYPES
       wxAuiTabArt() = wx:wx_object()

EXPORTS
       setFlags(This, Flags) -> ok

              Types:

                 This = wxAuiTabArt()
                 Flags = integer()

              Sets flags.

       setMeasuringFont(This, Font) -> ok

              Types:

                 This = wxAuiTabArt()
                 Font = wxFont:wxFont()

              Sets the font used for calculating measurements.

       setNormalFont(This, Font) -> ok

              Types:

                 This = wxAuiTabArt()
                 Font = wxFont:wxFont()

              Sets the normal font for drawing labels.

       setSelectedFont(This, Font) -> ok

              Types:

                 This = wxAuiTabArt()
                 Font = wxFont:wxFont()

              Sets the font for drawing text for selected UI elements.

       setColour(This, Colour) -> ok

              Types:

                 This = wxAuiTabArt()
                 Colour = wx:wx_colour()

              Sets the colour of the inactive tabs.

              Since: 2.9.2

       setActiveColour(This, Colour) -> ok

              Types:

                 This = wxAuiTabArt()
                 Colour = wx:wx_colour()

              Sets the colour of the selected tab.

              Since: 2.9.2



wxWidgets team.                    wx 2.1.1                     wxAuiTabArt(3)