Sha256: 68fd9b55547b622e6f598ae27dee176c8ccf039ce41fece73fee708170bc6c89
Contents?: true
Size: 2 KB
Versions: 1
Compression:
Stored size: 2 KB
Contents
# :stopdoc: # This file is automatically generated by the WXRuby3 documentation # generator. Do not alter this file. # :startdoc: module Wx # This event is sent by {Wx::LayoutAlgorithm} to calculate the amount of the remaining client area that the window should occupy. # ### Events using this class # # The following event-handler methods redirect the events to member method or handler blocks for {Wx::CalculateLayoutEvent} events. # Event handler methods: # # - {Wx::EvtHandler#evt_calculate_layout}(meth = nil, &block): Process a {Wx::EVT_CALCULATE_LAYOUT} event, which asks the window to take a 'bite' out of a rectangle provided by the algorithm. # # Category: {Wx::Events} # @see Wx::QueryLayoutInfoEvent # @see Wx::SashLayoutWindow # @see Wx::LayoutAlgorithm. # # class CalculateLayoutEvent < Event # Constructor. # @param id [Integer] # @return [Wx::CalculateLayoutEvent] def initialize(id=0) end # Returns the flags associated with this event. # Not currently used. # @return [Integer] def get_flags; end alias_method :flags, :get_flags # Before the event handler is entered, returns the remaining parent client area that the window could occupy. # When the event handler returns, this should contain the remaining parent client rectangle, after the event handler has subtracted the area that its window occupies. # @return [Wx::Rect] def get_rect; end alias_method :rect, :get_rect # Sets the flags associated with this event. # Not currently used. # @param flags [Integer] # @return [void] def set_flags(flags) end alias_method :flags=, :set_flags # Call this to specify the new remaining parent client area, after the space occupied by the window has been subtracted. # @param rect [Wx::Rect] # @return [void] def set_rect(rect) end alias_method :rect=, :set_rect end # CalculateLayoutEvent end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wxruby3-0.9.2-x64-mingw-ucrt | lib/wx/doc/gen/calculate_layout_event.rb |