def get_item_rect_max(item: Union[int, str]) -> List[int]: """Returns item's maximum content region. Returns: position """ return internal_dpg.get_item_state(item)["rect_max"]
def get_item_pos(item: Union[int, str]) -> List[int]: """Returns item's position. Returns: position """ return internal_dpg.get_item_state(item)["pos"]
def get_item_rect_size(item: Union[int, str]) -> List[int]: """Returns item's available content region. Returns: position """ return internal_dpg.get_item_state(item)["rect_size"]
def is_item_toggled_open(item: Union[int, str]) -> Union[bool, None]: """Checks if item is toggled_open. Returns: status as a bool """ return internal_dpg.get_item_state(item)["toggled_open"]
def is_item_ok(item: Union[int, str]) -> Union[bool, None]: """Checks if item is ok and can be used. Returns: status as a bool """ return internal_dpg.get_item_state(item)["ok"]
def is_item_deactivated_after_edit(item: Union[int, str]) -> Union[bool, None]: """Checks if item is deactivated_after_edit. Returns: status as a bool """ return internal_dpg.get_item_state(item)["deactivated_after_edit"]
def is_item_activated(item: Union[int, str]) -> Union[bool, None]: """Checks if item is activated. Returns: status as a bool """ return internal_dpg.get_item_state(item)["activated"]
def is_item_visible(item: Union[int, str]) -> Union[bool, None]: """Checks if item is visible. Returns: status as a bool """ return internal_dpg.get_item_state(item)["visible"]
def is_item_middle_clicked(item: Union[int, str]) -> Union[bool, None]: """Checks if item is middle clicked. Returns: status as a bool """ return internal_dpg.get_item_state(item)["middle_clicked"]
def dpg_state(self) -> t.Dict[str, t.Union[bool, t.List[int]]]: return internal_dpg.get_item_state(self.dpg_id)