octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55428] gcbf and HandleVisibility property


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #55428] gcbf and HandleVisibility property
Date: Thu, 10 Jan 2019 09:30:13 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #1, bug #55428 (project octave):

I think I am the one who prevented objects with "handlevisibility" == "off"
from becoming the current root "callbackobject". I don't remember why,
probably because of a misunderstanding of ML documentation.

This is implemented in graphics.cc (gh_manager::do_execute_callback):


...
          gh_manager::auto_lock guard;
          callback_objects.push_front (go);
          if (go.get ("handlevisibility").string_value () != "off")
            xset_gcbo (h);
...


Should "gcbo" also return the uimenu object for menu1 in your example? 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55428>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]