CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-05-2009, 12:18 AM
ssusana ssusana is offline
Registered User
 
Join Date: Aug 2004
Location: Italy
Posts: 60
Set-object-description

I want costumize the WIDGET-TIPS in parcel-gbrowser with the command

sd-browser-exec-cmd "parcel-gbrowser" :SET-OBJECT-DESCRIPTION {BrowserNode struct} {STRING[nil]}.

How I can inquire the {BrowserNode struct}?

Thank you in advance

Stefano
Reply With Quote
  #2  
Old 08-05-2009, 03:23 AM
Wolfgang's Avatar
Wolfgang Wolfgang is offline
Registered User
 
Join Date: Nov 2002
Location: ... near Sindelfingen near Stuttgart, Germany
Posts: 754
Re: Set-object-description

Quote:
Originally Posted by ssusana View Post
sd-browser-exec-cmd "parcel-gbrowser" :SET-OBJECT-DESCRIPTION {BrowserNode struct} {STRING[nil]}.
nearly impossible!

you can start with
Code:
(sd-get-BrowserNode-struct tree-name node-name)
(sd-get-BrowserNode-struct "parcel-gbrowser" :root)
and then run through the tree, inquire the children, set the decription and do this recursive. UFFFFFFF!

setting the tool tip can be can done (normally) when you update your selfmade lisp based browser (withing the update function described).. but for the structure browser.. I see no good way to do so.

Once I wrote my browsers I was wondering why there is (sd-browser-exec-cmd ...:SET-OBJECT-DESCRIPTION ...) and not an interrogator function to be set as for nearly all other things to be inquired (and these are only called when the information is needed). It's a pity that tool tips are implemented in a total different way.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:06 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.