# encoding: utf-8
# module wx._richtext
# from D:\project\A_Board\.venv\Lib\site-packages\wx\_richtext.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import sip as __sip
import wx._adv as __wx__adv
import wx._core as __wx__core
import wx._html as __wx__html


class TextAttrDimension(__sip.wrapper):
    """
    TextAttrDimension() -> None
    TextAttrDimension(value, units=TEXT_ATTR_UNITS_TENTHS_MM) -> None
    
    A class representing a rich text dimension, including units and
    position.
    """
    def Apply(self, dim, compareWith=None): # real signature unknown; restored from __doc__
        """
        Apply(dim, compareWith=None) -> bool
        
        Apply the dimension, but not those identical to compareWith if present.
        """
        return False

    def CollectCommonAttributes(self, attr, clashingAttr, absentAttr): # real signature unknown; restored from __doc__
        """
        CollectCommonAttributes(attr, clashingAttr, absentAttr) -> None
        
        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.
        """
        pass

    def EqPartial(self, dim, weakTest=True): # real signature unknown; restored from __doc__
        """
        EqPartial(dim, weakTest=True) -> bool
        
        Partial equality test.
        """
        return False

    def GetFlags(self): # real signature unknown; restored from __doc__
        """
        GetFlags() -> TextAttrDimensionFlags
        
        Gets the dimension flags.
        """
        pass

    def GetPosition(self): # real signature unknown; restored from __doc__
        """
        GetPosition() -> TextBoxAttrPosition
        
        Gets the position flags.
        """
        return TextBoxAttrPosition

    def GetUnits(self): # real signature unknown; restored from __doc__
        """
        GetUnits() -> TextAttrUnits
        
        Gets the units of the dimension.
        """
        return TextAttrUnits

    def GetValue(self): # real signature unknown; restored from __doc__
        """
        GetValue() -> int
        
        Returns the integer value of the dimension.
        """
        return 0

    def GetValueMM(self): # real signature unknown; restored from __doc__
        """
        GetValueMM() -> float
        
        Returns the floating-pointing value of the dimension in mm.
        """
        return 0.0

    def IsValid(self): # real signature unknown; restored from __doc__
        """
        IsValid() -> bool
        
        Returns true if the dimension is valid.
        """
        return False

    def Reset(self): # real signature unknown; restored from __doc__
        """
        Reset() -> None
        
        Resets the dimension value and flags.
        """
        pass

    def SetFlags(self, flags): # real signature unknown; restored from __doc__
        """
        SetFlags(flags) -> None
        
        Sets the dimension flags.
        """
        pass

    def SetPosition(self, pos): # real signature unknown; restored from __doc__
        """
        SetPosition(pos) -> None
        
        Sets the position flags.
        """
        pass

    def SetUnits(self, units): # real signature unknown; restored from __doc__
        """
        SetUnits(units) -> None
        
        Sets the units of the dimension.
        """
        pass

    def SetValid(self, b): # real signature unknown; restored from __doc__
        """
        SetValid(b) -> None
        
        Sets the valid flag.
        """
        pass

    def SetValue(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        SetValue(value) -> None
        SetValue(value, flags) -> None
        SetValue(dim) -> None
        
        Sets the integer value of the dimension.
        """
        pass

    def SetValueMM(self, value): # real signature unknown; restored from __doc__
        """
        SetValueMM(value) -> None
        
        Sets the value of the dimension in mm.
        """
        pass

    def __bool__(self, *args, **kwargs): # real signature unknown
        """ True if self else False """
        pass

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __init__(self, value=None, units=None): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    def __nonzero__(self): # real signature unknown; restored from __doc__
        """ __nonzero__() -> bool """
        return False

    Flags = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetFlags() -> TextAttrDimensionFlags

Gets the dimension flags."""

    Position = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetPosition() -> TextBoxAttrPosition

Gets the position flags."""

    Units = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetUnits() -> TextAttrUnits

Gets the units of the dimension."""

    Value = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetValue() -> int

Returns the integer value of the dimension."""

    ValueMM = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """GetValueMM() -> float

Returns the floating-pointing value of the dimension in mm."""

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object"""


    m_flags = None # (!) real value is '<sip.variabledescriptor object at 0x000001D6B3C4B700>'
    m_value = None # (!) real value is '<sip.variabledescriptor object at 0x000001D6B3C4B6C0>'
    __hash__ = None


