max
2ca37b8c97
dgui: refactor code common to DirectFrame setGeom, setImage, setText
...
Closes #776
Co-authored-by: rdb <git@rdb.name>
2019-12-11 17:57:15 +01:00
rdb
22e88a5b6a
direct: a few improvements to API documentation
2019-11-02 19:41:11 +01:00
rdb
822f89fadb
dgui: accept arg in setText, setImage, setGeom, also add clearers
...
This enables the "setters" to behave in a way that people expect setters to behave. Since `setText(None)` now does not behave expectedly, a `clearText()` has also been added to remove the text.
Closes #385
2018-09-13 21:14: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
deflected
9300bca1a4
direct.gui: Correct strings checks
...
- str in Python3 is always unicode, but not in Python2.
Avoid crashes when unicode is used
Signed-off-by: deflected <deflected@github>
2016-04-01 21:18:52 +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
rdb
ac1223d0da
Ditch stuff like has_key and backticks
2010-03-19 10:32:09 +00:00
Darren Ranalli
a0f5059dc7
minor memory optimization
2007-05-18 22:25:39 +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
David Rose
89d5783e95
further robustification
2005-08-31 14:17:28 +00:00
David Rose
a4d06505c2
generalize image parameter
2005-08-31 13:51:39 +00:00
Joe Shochet
c1f09f53ee
removed spammy print statement
2005-07-14 18:35:30 +00:00
David Rose
1d72ba0f7e
support unicode types transparently
2005-07-13 23:05:35 +00:00
Dave Schuyler
1f6600d77a
changed comment
2004-05-19 03:03:42 +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
Joe Shochet
f3e2c18cc6
*** empty log message ***
2002-10-08 04:28:44 +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
Darren Ranalli
beb4fdfb5e
fixed DirectEntry cleanup
2002-08-23 23:03:58 +00:00
slpatto
c2c4531a0a
*** empty log message ***
2002-06-14 01:43:11 +00:00
rlweaver
ddc3b433d4
*** empty log message ***
2001-12-06 23:42:38 +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
Joe Shochet
2a311939b5
*** empty log message ***
2001-07-12 21:57:10 +00:00
Mark Mine
a3b8ed2062
*** empty log message ***
2001-07-11 21:50:23 +00:00