Commit Graph

19 Commits

Author SHA1 Message Date
rdb 37b5c9ad9e direct: More code style changes 2023-02-22 11:52:19 +01:00
WMOkiishi c7c70bc32a
direct: Cut down on usage of `import *` (#1454)
* Remove most `import *`s in `direct`

* Address feedback
2023-02-12 13:16:52 +00:00
rdb be9dde1eee direct: add .pylintrc, perform major code cleanup pass
Closes #989

Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
Fireclaw 5d93237386 dgui: fix regression in DirectScrolledFrame (see #699)
Made initialization ignore the setScrollBarWidth function
Respect the length/height of the scrollbar and only change the actual
width in the setScrollBarWidth function
Added a very basic unittest class for the scrolledFrame

Closes #864
2020-02-10 13:17:05 +01:00
rdb 22e88a5b6a direct: a few improvements to API documentation 2019-11-02 19:41:11 +01:00
fireclawthefox 2b64a7d74f dgui: Scrollbar width changeable after initialization
Closes #699
2019-08-03 09:42:16 +02:00
Derzsi Dániel c337e58f4d direct: Resolve DirectScrolledFrame crash on destroy
Destroying DirectScrolledFrames currently crashes the game, because they are destroyed twice. This commit makes sure to destroy the scrolls only once.

Closes #574
2019-03-04 12:18:21 +01:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
rdb d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
David Rose 53ba5b162d default borderWidth = 0.01 for DirectScrolledFrame 2009-08-12 22:48:51 +00:00
David Rose c69c8680e8 asList() etc. no longer needed 2008-11-12 20:37:20 +00:00
David Rose 39f5de7827 minor fixes 2008-08-08 00:10:49 +00:00
Joe Shochet 49140d12ca properly delete children of canvas with the new class name scheme 2007-08-26 08:54:20 +00:00
Darren Ranalli e37af2fe40 messenger hook cleanup 2007-01-31 04:42:08 +00:00
Josh Yelon 1b058da878 Added __all__ declarations 2006-08-09 20:49:19 +00:00
Dave Schuyler 64a75159c6 formatting 2006-03-17 23:32:40 +00:00
Jason Yeung d8d1a0a561 - Fixed a minor bug in destroy 2005-09-23 19:57:20 +00:00
David Rose 1e81e656ab PGItemNotify interface, PGScrollFrame, and more general PGSliderBar 2005-08-27 00:15:54 +00:00