Class: Wx::RTC::TextAttrBorder

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 representing a rich text object border.

Category: Rich Text

See Also:

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Constructor Details

#initializeWx::RTC::TextAttrBorder

Default constructor.



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

def initialize; end

Instance Method Details

#==(border) ⇒ Boolean

Equality operator.

Parameters:

Returns:

  • (Boolean)


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

def ==(border) end

#add_flag(flag) ⇒ void

This method returns an undefined value.

Adds a border flag.

Parameters:

  • flag (Integer)


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

def add_flag(flag) end

#apply(border, compareWith = nil) ⇒ Boolean

Applies the border to this object, but not if the same as compareWith.

Parameters:

Returns:

  • (Boolean)


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

def apply(border, 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.

Parameters:



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

def collect_common_attributes(attr, clashingAttr, absentAttr) end

#eq_partial(border, weakTest = true) ⇒ Boolean

Partial equality test.

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

Parameters:

Returns:

  • (Boolean)


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

def eq_partial(border, weakTest=true) end

#get_colourWx::Colour Also known as: colour

Gets the colour.

Returns:



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

def get_colour; end

#get_colour_longInteger Also known as: colour_long

Gets the colour as a long.

Returns:

  • (Integer)


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

def get_colour_long; end

#get_flagsInteger Also known as: flags

Returns the border flags.

Returns:

  • (Integer)


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

def get_flags; end

#get_styleInteger Also known as: style

Gets the border style.

Returns:

  • (Integer)


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

def get_style; end

#get_widthWx::RTC::TextAttrDimension Also known as: width



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

def get_width; end

#has_colourBoolean Also known as: has_colour?

True if the border has a valid colour.

Returns:

  • (Boolean)


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

def has_colour; end

#has_styleBoolean Also known as: has_style?

True if the border has a valid style.

Returns:

  • (Boolean)


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

def has_style; end

#has_widthBoolean Also known as: has_width?

True if the border has a valid width.

Returns:

  • (Boolean)


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

def has_width; end

#is_defaultBoolean Also known as: default?

True if the border has no attributes set.

Returns:

  • (Boolean)


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

def is_default; end

#is_validBoolean Also known as: valid?

True if the border is valid.

Returns:

  • (Boolean)


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

def is_valid; end

#make_validvoid

This method returns an undefined value.

Set the valid flag for this border.



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

def make_valid; end

#remove_flag(flag) ⇒ void

This method returns an undefined value.

Removes a border flag.

Parameters:

  • flag (Integer)


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

def remove_flag(flag) end

#remove_style(attr) ⇒ Boolean

Removes the specified attributes from this object.

Parameters:

Returns:

  • (Boolean)


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

def remove_style(attr) end

#resetvoid

This method returns an undefined value.

Resets the border style, colour, width and flags.



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

def reset; end

#set_colour(colour) ⇒ void #set_colour(colour) ⇒ void Also known as: colour=

Overloads:

  • #set_colour(colour) ⇒ void

    This method returns an undefined value.

    Sets the border colour.

    Parameters:

    • colour (Integer)
  • #set_colour(colour) ⇒ void

    This method returns an undefined value.

    Sets the border colour.

    Parameters:



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

def set_colour(*args) end

#set_flags(flags) ⇒ void Also known as: flags=

This method returns an undefined value.

Sets the border flags.

Parameters:

  • flags (Integer)


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

def set_flags(flags) end

#set_style(style) ⇒ void Also known as: style=

This method returns an undefined value.

Sets the border style.

Parameters:

  • style (Integer)


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

def set_style(style) end

#set_width(width) ⇒ void #set_width(value, units = Wx::RTC::TextAttrUnits::TEXT_ATTR_UNITS_TENTHS_MM) ⇒ void Also known as: width=

Overloads:

  • #set_width(width) ⇒ void

    This method returns an undefined value.

    Sets the border width.

    Parameters:

  • #set_width(value, units = Wx::RTC::TextAttrUnits::TEXT_ATTR_UNITS_TENTHS_MM) ⇒ void

    This method returns an undefined value.

    Sets the border width.

    Parameters:

    • value (Integer)
    • units (Wx::TextAttrUnits) (defaults to: Wx::RTC::TextAttrUnits::TEXT_ATTR_UNITS_TENTHS_MM)


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

def set_width(*args) end