You are not logged in.

#1 2006-02-20 13:41:28

SleepyDog
Member
Registered: 2004-10-15
Posts: 114

Any Xaw pros?

I've been playing with apps that use the Xaw widget set lately, and I've gotten them looking pretty nice. However, some things are still wanting. In particular, gv. I've put together this config

GV.autoResize:        False
GV.reverseScrolling:    True
GV.scratchDir:        /tmp

GV*SimpleMenu.borderWidth:        1
GV*SimpleMenu.borderColor:        #8ccf8c
GV*SimpleMenu*background:        #efffef
GV*shadowWidth: 0

GV*control.layout: 
|v{ 
  |h{ 
    |v{    
      |h{ 
        orientationButton<+50*-100%> 
        fileButton<+50*-100%> 
        stateButton<+50*-100%> 
        pageButton<+50*-100%> 
        scaleButton<+50*-100%> 
        pagemediaButton<+50*-100%> 
        processButton<+50*-100%> 
        newtocScroll<+50*-100%> 
        newtocFrame<+50*-100%> 
      } 
      viewFrame<+[0]-100%*+9999-100%>    
    } 
  } 
}

Which gives me a gv window with no widget showing. It's great. What I would like, though, is to change the color of the right-click menu's selected item to a dark green. I've been looking for the proper resource and I'm just about ready to give up sad

Also, does anybody know if there's a way to switch the way left and right mouse clicks work on Xaw scrollbars? It's just that plan9 scrollbars have right click going up, left click going down, and Xaw scrollbars are the opposite, so it can get confusing. It's still better than all the other scrollbars, though. I dunno why gtk or any other widgets don't have scrollbars like that. They're so useful!

Offline

Board footer

Powered by FluxBB