class Wx::RBN::Wx::RBN::RibbonPage

@wxrb_require USE_RIBBON
@see Wx::RBN::RibbonPanel
@see Wx::RBN::RibbonBar
Category: Ribbon User Interface
Container for related ribbon panels, and a tab within a ribbon bar.

def adjust_rect_to_include_scroll_buttons(rect) end

Returns:
  • (void) -

Parameters:
  • rect (Wx::Rect) -- The rectangle to adjust. The width and height will not be reduced, and the x and y will not be increased.
def adjust_rect_to_include_scroll_buttons(rect) end

def create(parent, id=Wx::StandardID::ID_ANY, label=(''), icon=Wx::NULL_BITMAP, style=0) end

Returns:
  • (Boolean) -

Parameters:
  • style (Integer) --
  • icon (Wx::Bitmap) --
  • label (String) --
  • id (Integer) --
  • parent (Wx::RBN::RibbonBar) --
def create(parent, id=Wx::StandardID::ID_ANY, label=(''), icon=Wx::NULL_BITMAP, style=0) end

def dismiss_expanded_panel; end

Returns:
  • (Boolean) -
def dismiss_expanded_panel; end

def get_icon; end

Returns:
  • (Wx::Bitmap) -
def get_icon; end

def get_major_axis; end

Returns:
  • (Wx::Orientation) -
def get_major_axis; end

def initialize(*args) end

Returns:
  • (Wx::RBN::RibbonPage) -
  • (Wx::RBN::RibbonPage) -

Parameters:
  • style (Integer) -- Currently unused, should be zero.
  • icon (Wx::Bitmap) -- Icon to be used in the {Wx::RBN::RibbonBar}'s tab list for this page (if the ribbon bar is set to display icons).
  • label (String) -- Label to be used in the {Wx::RBN::RibbonBar}'s tab list for this page (if the ribbon bar is set to display labels).
  • id (Integer) -- Window identifier.
  • parent (Wx::RBN::RibbonBar) -- Pointer to a parent {Wx::RBN::RibbonBar} (unlike most controls, a {Wx::RBN::RibbonPage} can only have {Wx::RBN::RibbonBar} as a parent).

Overloads:
  • initialize(parent, id=Wx::StandardID::ID_ANY, label=(''), icon=Wx::NULL_BITMAP, style=0)
  • initialize()
def initialize(*args) end

def realize; end

Returns:
  • (Boolean) -
def realize; end

def scroll_lines(lines) end

Returns:
  • (Boolean) -

Parameters:
  • lines (Integer) --

Other tags:
    See: Wx::RBN::RibbonPage#scroll_sections -
    See: Wx::RBN::RibbonPage#scroll_pixels -
    See: Wx::RBN::RibbonPage#get_major_axis -
def scroll_lines(lines) end

def scroll_pixels(pixels) end

Returns:
  • (Boolean) -

Parameters:
  • pixels (Integer) --

Other tags:
    See: Wx::RBN::RibbonPage#scroll_sections -
    See: Wx::RBN::RibbonPage#scroll_lines -
    See: Wx::RBN::RibbonPage#get_major_axis -
def scroll_pixels(pixels) end

def scroll_sections(sections) end

Returns:
  • (Boolean) -

Parameters:
  • sections (Integer) --

Other tags:
    See: Wx::RBN::RibbonPage#scroll_sections -
    See: Wx::RBN::RibbonPage#scroll_pixels -
def scroll_sections(sections) end

def set_art_provider(art) end

Returns:
  • (void) -

Parameters:
  • art (Wx::RBN::RibbonArtProvider) --
def set_art_provider(art) end

def set_size_with_scroll_button_adjustment(x, y, width, height) end

Returns:
  • (void) -

Parameters:
  • height (Integer) --
  • width (Integer) --
  • y (Integer) --
  • x (Integer) --
def set_size_with_scroll_button_adjustment(x, y, width, height) end