/usr/share/gnudatalanguage/lib/xregistered.pro is in libgnudatalanguage0 0.9.7-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | function xregistered,name,noshow=noshow
common managed, ids, names, modalList
forward_function ValidateManagedWidgets
IF ( ~keyword_set(ids)) then return,0
;update list of managed widgets
ValidateManagedWidgets
;which may result in a zero id:
if (ids[0] eq 0) then return, 0
occurences=where(names eq name, count)
if ( count gt 0 ) then begin
if ( ~keyword_set(noshow) ) then widget_control, ids[occurences[0]], /show
return, count
endif
return, 0
end
|