Class: Wx::RTC::TextAttrDimensions

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

Overview

Note:

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

A class for left, right, top and bottom dimensions.

Category: Rich Text

See Also:

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Constructor Details

#initializeWx::RTC::TextAttrDimensions

Default constructor.



2031
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2031

def initialize; end

Instance Method Details

#==(dims) ⇒ Boolean

Equality operator.

Parameters:

Returns:

  • (Boolean)


2040
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2040

def ==(dims) end

#apply(dims, compareWith = nil) ⇒ Boolean

Apply to ‘this’, but not if the same as compareWith.

Parameters:

Returns:

  • (Boolean)


2054
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2054

def apply(dims, compareWith=nil) end

#collect_common_attributes(attr, clashingAttr, absentAttr) ⇒ void

This method returns an undefined value.

Collects the attributes that are common to a range of content, building up a note of which attributes are absent in some objects and which clash in some objects.



2061
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2061

def collect_common_attributes(attr, clashingAttr, absentAttr) end

#eq_partial(dims, weakTest = true) ⇒ Boolean

Partial equality test.

If weakTest is true, attributes of this object do not have to be present if those attributes of dims are present. If weakTest is false, the function will fail if an attribute is present in dims but not in this object.

Parameters:

Returns:

  • (Boolean)


2048
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2048

def eq_partial(dims, weakTest=true) end

#get_bottomWx::RTC::TextAttrDimension Also known as: bottom

Gets the bottom dimension.



2085
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2085

def get_bottom; end

#get_leftWx::RTC::TextAttrDimension Also known as: left

Gets the left dimension.



2070
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2070

def get_left; end

#get_rightWx::RTC::TextAttrDimension Also known as: right

Gets the right dimension.



2075
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2075

def get_right; end

#get_topWx::RTC::TextAttrDimension Also known as: top

Gets the top dimension.



2080
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2080

def get_top; end

#is_validBoolean Also known as: valid?

Are all dimensions valid?

Returns:

  • (Boolean)


2090
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2090

def is_valid; end

#remove_style(attr) ⇒ Boolean

Remove specified attributes from this object.

Parameters:

Returns:

  • (Boolean)


2066
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2066

def remove_style(attr) end

#resetvoid

This method returns an undefined value.

Resets the value and flags for all dimensions.



2035
# File 'lib/wx/doc/gen/rtc/rich_text_object.rb', line 2035

def reset; end