It is currently Sun Dec 15, 2019 7:22 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: SplitterGadget freeze application
PostPosted: Wed Sep 20, 2017 6:34 pm 
Offline
User
User

Joined: Sat Jan 28, 2012 11:13 am
Posts: 63
Hello, this code freeze the opened window on my linux mint, can someone confirm it does work ?
thx.
Code:
win = OpenWindow(#PB_Any, 0, 0, 800, 600, "", #PB_Window_SystemMenu)
tree = ExplorerTreeGadget(#PB_Any, 0, 0, 0, 0, "./")
panel = ScrollAreaGadget(#PB_Any, 0, 0, 0, 0, 320, 320)
splitter = SplitterGadget(#PB_Any, 0, 0, 800, 600, tree, panel)


checked the install everything seems ok.


Top
 Profile  
Reply with quote  
 Post subject: Re: SplitterGadget freeze application
PostPosted: Wed Sep 20, 2017 7:13 pm 
Offline
User
User
User avatar

Joined: Mon Apr 19, 2004 8:22 pm
Posts: 89
Location: NORWAY
You forgot CloseGadgetList() :-) works fine here...

Code:
win = OpenWindow(#PB_Any, 0, 0, 800, 600, "", #PB_Window_SystemMenu)
tree = ExplorerTreeGadget(#PB_Any, 0, 0, 0, 0, "./")
panel = ScrollAreaGadget(#PB_Any, 0, 0, 0, 0, 320, 320)
CloseGadgetList()
splitter = SplitterGadget(#PB_Any, 0, 0, 800, 600, tree, panel)


Repeat
  event=WaitWindowEvent()
Until event=#PB_Event_CloseWindow


Top
 Profile  
Reply with quote  
 Post subject: Re: SplitterGadget freeze application
PostPosted: Wed Sep 20, 2017 7:42 pm 
Offline
User
User

Joined: Sat Jan 28, 2012 11:13 am
Posts: 63
Yes it works, thx for the quick and helpfull answer.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye