A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://wxpython.org/Phoenix/docs/html/wx.adv.QueryLayoutInfoEvent.html below:

wx.adv.QueryLayoutInfoEvent — wxPython Phoenix 4.2.4a1 documentation

wx.adv.QueryLayoutInfoEvent¶

This event is sent when wx.adv.LayoutAlgorithm wishes to get the size, orientation and alignment of a window.

More precisely, the event is sent by the OnCalculateLayout handler which is itself invoked by wx.adv.LayoutAlgorithm.

Events Emitted by this Class¶

Handlers bound for the following event types will receive a wx.adv.QueryLayoutInfoEvent parameter.

Class Hierarchy¶

Inheritance diagram for class

QueryLayoutInfoEvent

:

Methods Summary¶

__init__

Constructor.

GetAlignment

Specifies the alignment of the window (which side of the remaining parent client area the window sticks to).

GetFlags

Returns the flags associated with this event.

GetOrientation

Returns the orientation that the event handler specified to the event object.

GetRequestedLength

Returns the requested length of the window in the direction of the window orientation.

GetSize

Returns the size that the event handler specified to the event object as being the requested size of the window.

SetAlignment

Call this to specify the alignment of the window (which side of the remaining parent client area the window sticks to).

SetFlags

Sets the flags associated with this event.

SetOrientation

Call this to specify the orientation of the window.

SetRequestedLength

Sets the requested length of the window in the direction of the window orientation.

SetSize

Call this to let the calling code know what the size of the window is.

Properties Summary¶ Class API¶
class wx.adv.QueryLayoutInfoEvent(Event)¶

Possible constructors:

QueryLayoutInfoEvent(id=0) -> None

This event is sent when LayoutAlgorithm wishes to get the size, orientation and alignment of a window.


Methods¶
__init__(self, id=0)¶

Constructor.

Parameters:

id (wx.WindowID)

Return type:

None


GetAlignment(self)¶

Specifies the alignment of the window (which side of the remaining parent client area the window sticks to).

One of wx.adv.LAYOUT_TOP, wx.adv.LAYOUT_LEFT, wx.adv.LAYOUT_RIGHT, wx.adv.LAYOUT_BOTTOM.

Return type:

wx.adv.LayoutAlignment


GetFlags(self)¶

Returns the flags associated with this event.

Not currently used.

Return type:

int


GetOrientation(self)¶

Returns the orientation that the event handler specified to the event object.

May be one of wx.adv.LAYOUT_HORIZONTAL, wx.adv.LAYOUT_VERTICAL.

Return type:

wx.adv.LayoutOrientation


GetRequestedLength(self)¶

Returns the requested length of the window in the direction of the window orientation.

This information is not yet used.

Return type:

int


GetSize(self)¶

Returns the size that the event handler specified to the event object as being the requested size of the window.

Return type:

Size


SetAlignment(self, alignment)¶

Call this to specify the alignment of the window (which side of the remaining parent client area the window sticks to).

May be one of wx.adv.LAYOUT_TOP, wx.adv.LAYOUT_LEFT, wx.adv.LAYOUT_RIGHT, wx.adv.LAYOUT_BOTTOM.

Parameters:

alignment (LayoutAlignment)

Return type:

None


SetFlags(self, flags)¶

Sets the flags associated with this event.

Not currently used.

Parameters:

flags (int)

Return type:

None


SetOrientation(self, orientation)¶

Call this to specify the orientation of the window.

May be one of wx.adv.LAYOUT_HORIZONTAL, wx.adv.LAYOUT_VERTICAL.

Parameters:

orientation (LayoutOrientation)

Return type:

None


SetRequestedLength(self, length)¶

Sets the requested length of the window in the direction of the window orientation.

This information is not yet used.

Parameters:

length (int)

Return type:

None


SetSize(self, size)¶

Call this to let the calling code know what the size of the window is.

Parameters:

size (wx.Size)

Return type:

None


Properties¶
Alignment¶

See GetAlignment and SetAlignment


Flags¶

See GetFlags and SetFlags


Orientation¶

See GetOrientation and SetOrientation


RequestedLength¶

See GetRequestedLength and SetRequestedLength


Size¶

See GetSize and SetSize


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4