Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Dynamically change tooltip of CustomGui button[CL]

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 322 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      On 15/01/2015 at 01:48, xxxxxxxx wrote:

      I am developing a C4D plugin in Python. I have added a custom gui button using GeDialog.AddCustomGui(). On a particular action, I want to change the image and tooltip of this button. I am able to change the button image using BitmapButtonCustomGui.SetImage() method. Can you please suggest how to change the tooltip dynamically?

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 15/01/2015 at 09:02, xxxxxxxx wrote:

        Hi J_Snh,

        welcome to the PluginCafe forums.
        As far as I can see the tooltip is set on button creation time and can't be changed dynamically in Python. Sorry. 😢

        1 Reply Last reply Reply Quote 0
        • First post
          Last post