PitBull Unit Frames 4.0

CustomModule:ClearFrame(frame)

Does nothing.
This should be implemented by the module. When implementing, this should return whether :UpdateLayout(frame) should be called.

Parameters

frame
the Unit Frame to update

Usage

local update_layout = MyModule:ClearFrame(frame)


CustomModule:OnHide(frame)

Handle the frame being hidden

Parameters

frame
the Unit Frame hidden.

Usage

MyModule:OnHide(frame)


CustomModule:UpdateFrame(frame)

Does nothing.
This should be implemented by the module. When implementing, this should return whether :UpdateLayout(frame) should be called.

Parameters

frame
the Unit Frame to update

Return value

false

Usage

local update_layout = MyModule:UpdateFrame(frame)


You must login to post a comment. Don't have an account? Register to get one!