Commit Graph

20 Commits

Author SHA1 Message Date
rdb 7ab377f28e dgui: fix option menu's cancelFrame not working in scrolled frame
Fixes #658
2019-07-29 13:07:26 +02:00
Fireclaw 387b43adde dgui: Fix popupMarker_pos related crash
Set initial popupMarker position to previous default by using None as default
2019-06-07 22:13:25 +02:00
Maverick Liberty 4d33db2028 DirectOptionMenu: Fix popup menu reset of the popup marker's pos
Also defines popupMarker_pos and raises an assertion error if #showPopupMenu() is called when no items have been specified.

Fixes #636
Closes #637
2019-05-01 17:23:04 +02: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
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05: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 f1c5c8ecaf integrate gui sound fixes from community member Bruce Smith 2011-11-02 21:13:03 +00:00
Asad M. Zaman f96a97a722 fix for the new import rule 2006-08-11 01:39:35 +00:00
Josh Yelon 1b058da878 Added __all__ declarations 2006-08-09 20:49:19 +00:00
Chris Brunner 3224887a2b adding ability to have highlighted menu items also change scale in addition to color 2006-06-21 00:23:42 +00:00
Dave Schuyler 64a75159c6 formatting 2006-03-17 23:32:40 +00:00
Dave Schuyler ea53570eef formatting 2006-01-27 01:00:28 +00:00
Mike Goslin 966e57d3be Removed avatar2d as default argument to avoid import order problem - avatar2d now gets filled in after ShowBase is constructed. 2004-05-05 00:12:48 +00:00
Mark Mine d9f964c51c Updated Direct Frame to use text_mayChange syntax
Updated DirectOptionMenu to allow selection when holding down mouse button
2002-10-08 00:32:12 +00:00
Mark Mine db8f2ba387 Popup menu at button midpoint 2002-10-04 01:39:13 +00:00
Mark Mine 74d7670f8e Use new draw bin for popup menu 2002-08-30 19:35:15 +00:00
Mark Mine 7bb55e32ef Fix destroy 2002-08-23 16:22:55 +00:00
Mark Mine c5f0f39804 Fix to lack of cancel. Adjust alignment of popup 2002-08-13 17:55:43 +00:00
Mark Mine 4b3278ad69 New code to support popup option menu 2002-08-10 23:20:21 +00:00