Possible bug: renpy.get_widget + textbuttons.

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Post Reply
Message
Author
User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Possible bug: renpy.get_widget + textbuttons.

#1 Post by xela » Fri Aug 01, 2014 3:46 pm

Using renpy.get_widget() it seems to be impossible to get a lock on textbuttons while any other widget seems to be working just fine...
Like what we're doing? Support us at:
Image

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Possible bug: renpy.get_widget + textbuttons.

#2 Post by PyTom » Fri Aug 01, 2014 4:39 pm

What is it returning instead? Is this the issue that textbuttons are really two displayables in one?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Possible bug: renpy.get_widget + textbuttons.

#3 Post by xela » Fri Aug 01, 2014 5:34 pm

PyTom wrote:What is it returning instead? Is this the issue that textbuttons are really two displayables in one?
Maybe, it returns None. It's not a bit deal since any text button can be reimplemented as a button easily and get_widget is not use very often, I just wanted to note that it doesn't behave as expected.
Like what we're doing? Support us at:
Image

Post Reply

Who is online

Users browsing this forum: No registered users