Class: Wx::StatusBarPane

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/status_bar.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

A status bar pane data container used by StatusBar.

Category: Data Structures

See Also:

Requires:

  • USE_STATUSBAR

Instance Method Summary collapse

Constructor Details

#initialize(style = Wx::SB_NORMAL, width = 0) ⇒ Wx::StatusBarPane

Constructs the pane with the given style and width.

Parameters:

  • style (Integer) (defaults to: Wx::SB_NORMAL)
  • width (Integer) (defaults to: 0)


245
# File 'lib/wx/doc/gen/status_bar.rb', line 245

def initialize(style=Wx::SB_NORMAL, width=0) end

Instance Method Details

#get_styleInteger Also known as: style

Returns the pane style.

Returns:

  • (Integer)


254
# File 'lib/wx/doc/gen/status_bar.rb', line 254

def get_style; end

#get_textString Also known as: text

Returns the text currently shown in this pane.

Returns:

  • (String)


259
# File 'lib/wx/doc/gen/status_bar.rb', line 259

def get_text; end

#get_widthInteger Also known as: width

Returns the pane width; it maybe negative, indicating a variable-width field.

Returns:

  • (Integer)


249
# File 'lib/wx/doc/gen/status_bar.rb', line 249

def get_width; end