Commit Graph

52 Commits

Author SHA1 Message Date
rdb 22e88a5b6a direct: a few improvements to API documentation 2019-11-02 19:41:11 +01:00
rdb 5c99cf16f8 dgui: fix DirectEntry._autoCapitalize() on Python 3.x (#628) 2019-08-14 13:26:33 +02:00
rdb 43a5719bac dgui: allow using various GUI items without instantiating ShowBase
This is done by eliminating dependency on the `hidden` built-in, which can now instead be imported from ShowBaseGlobal.
2019-08-14 13:26:27 +02:00
Sebastian Hoffmann 78377ca10c Cursor after newline character appears on beginning of next line.
DirectEntry.updateNumLines updates text geom.
DirectEntry API less inadequate.

Closes #257
2018-03-30 20:17:31 +02:00
fireclawthefox f2cf391a2e gui: add simple way to enable overflow in DirectEntry
Closes #236
2018-01-24 19:17:50 +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
assertivist e567cb1dba Allow setting width and numLines of DirectEntry without clearing text 2016-01-18 11:29:36 -07: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 807a6f61da Add patch from community member teedee to improve alternate coordinate-system support 2011-11-17 19:41:33 +00:00
David Rose 24f0ffafc6 initialText should leave cursor at end of text 2010-05-10 21:08:36 +00:00
Darren Ranalli 2a0ccbf137 added getFont() 2008-11-26 23:01:27 +00:00
David Rose 7fdd1813ac remove some old panda support 2008-08-08 00:13:59 +00:00
Darren Ranalli bb33000960 improved auto-capitalization for name prefixes (Mc, Mac, O', etc) 2008-02-06 23:10:03 +00:00
M. Ian Graham 189f83bcd2 Additional fix for messenger conflict 2007-11-30 01:37:56 +00:00
Darren Ranalli 69b579ecad fixed messenger conflict 2007-11-30 01:20:38 +00:00
Darren Ranalli c9201caa41 allow two capital letters per word in auto-capitalize mode 2007-11-20 05:22:21 +00:00
Darren Ranalli 384bd2bb4e added utf_8 import 2007-11-15 22:18:40 +00:00
Darren Ranalli 9d335cb65e added autoCapitalize 2007-11-15 22:00:31 +00:00
David Rose b952455d47 use setupMinimal 2007-08-08 23:01:17 +00:00
David Rose cfb2fa7eed fix blinking cursor 2007-08-08 22:52:33 +00:00
M. Ian Graham 656bc2105f Added failedCommand option that lets us register a callback for when the user attempts to submit a disabled DirectEntry field. This lets us give feedback by flashing the field a different color, etc. 2007-07-19 00:44:56 +00:00
David Rose a5c85fe2f3 new PGEntry interfaces 2007-07-12 17:27:20 +00:00
David Rose 1f3cc3b671 more fixes for import 2006-08-09 22:32:50 +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
David Rose 34cd6206a2 fix international chat in Toontown 2006-03-09 22:31:38 +00:00
David Rose 7f35c53ae5 transparently interpret Unicode strings 2006-01-24 17:23:03 +00:00
David Rose bfa27c5549 fix issues with text_scale, text_color, text_align 2005-10-11 23:46:44 +00:00
Dave Schuyler 231d582a86 formatting 2005-07-01 01:29:36 +00:00
David Rose fe22598b88 fix DirectEntry default size when no geom specified 2005-06-03 18:52:57 +00:00
Dave Schuyler c92207d81a added comment 2005-01-27 00:36:53 +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
David Rose 5d121b8ed9 support multi-state text blocks; also show IME candidate strings in DirectEntry fields 2004-04-08 01:17:50 +00:00
Darren Ranalli c00e8a1926 added enterText 2002-09-17 19:04:07 +00:00
Darren Ranalli beb4fdfb5e fixed DirectEntry cleanup 2002-08-23 23:03:58 +00:00
Darren Ranalli 5931561dfe added focus in and out callbacks 2002-08-23 21:23:04 +00:00
David Rose 94c019d62c remove support for old panda 2002-08-22 16:01:58 +00:00
David Rose 4e6dd4a6bf remove old hack 2002-03-29 17:55:53 +00:00
David Rose 7346c65f35 TMALIGN -> TextNode.A* 2002-03-13 21:52:25 +00:00
Dave Schuyler 8ba7c32af2 removed want-sound, use 'audio-library-name null' instead 2002-01-09 03:06:49 +00:00
Mark Mine f58bab0542 *** empty log message *** 2001-11-29 00:03:54 +00:00
David Rose 595918c6fe support obscured mode for passwords 2001-11-06 02:34:15 +00:00
Joe Shochet 993b4582ad *** empty log message *** 2001-11-06 01:21:37 +00:00
Mark Mine f7fe745bfd *** empty log message *** 2001-11-01 22:17:57 +00:00
Mark Mine 6cfa7cc2b5 *** empty log message *** 2001-10-26 23:39:45 +00:00
David Rose f4866cc88d make label and frame unclickable by default 2001-09-05 00:43:20 +00:00
Mark Mine a7d876741c *** empty log message *** 2001-08-23 21:11:34 +00:00
Mark Mine ffee6d457b *** empty log message *** 2001-08-23 18:28:03 +00:00