Ticket #910 (closed task: fixed)

Opened 5 years ago

Last modified 2 years ago

move soy.Window to soy.windows

Reported by: ArcRiley Owned by:
Priority: High Milestone: beta3
Component: soy.widgets Version: Trunk
Keywords: Cc:

Description (last modified by ArcRiley) (diff)

Feedback Requested

The idea is to empty the root soy. namespace except for documentation. This makes it easier to see the extensions in a dir() and the hierarchy cleaner.

We originally put these classes in _core in order to group all platform-specific code in one location. That is no longer an issue with Pyrex 0.9.6

Also, the idea of a single additional "CoreLoop" thread has proven to be disadvantageous, especially with Pyrex's new GIL support. We could attain a much higher fps, in addition to smaller compiled size and less code complexity, by splitting CoreLoop into TransportLoop, WindowLoop, SceneLoop, etc which are run by their respective extensions (soy.transports, soy.windows, soy.scenes, etc).

Since everyone who has commented on this idea has agreed, including earlier talk of splitting physics and rendering for multi-core optimization, it's time to implement.

Thinking into the future, we should be trying to resolve these API choices now to stabilize for Beta-3+.

Change History

comment:1 Changed 5 years ago by ArcRiley

  • Type changed from idea to task
  • Description modified (diff)
  • Summary changed from move soy.Screen and soy.Window to soy.display, fold remaining _core into _internals to move soy.Window to soy.windows

comment:2 Changed 5 years ago by ArcRiley

  • Component changed from _core to soy.windows
  • Description modified (diff)

comment:3 Changed 2 years ago by ArcRiley

  • Status changed from new to closed
  • Resolution set to fixed
  • Component changed from soy.windows to soy.widgets

We ended up moving the class to soy.widgets.Window during the switch to GObject/GDK.

Note: See TracTickets for help on using tickets.