[GRASS-dev] Re: [GRASS GIS] #306: v.in.ogr GUI is missing --o and --v

Michael Barton michael.barton at asu.edu
Fri Sep 12 01:16:54 EDT 2008



On Sep 11, 2008, at 7:29 PM, <grass-dev-request at lists.osgeo.org> wrote:

> Date: Fri, 12 Sep 2008 01:17:50 -0000
> From: "GRASS GIS" <trac at osgeo.org>
> Subject: [GRASS-dev] Re: [GRASS GIS] #306: v.in.ogr GUI is missing --o
> 	and	--v
> To: undisclosed-recipients:;
> Message-ID: <051.14e06d18c5be85e3da50d7f0014ccb9f at osgeo.org>
> Content-Type: text/plain; charset="utf-8"
>
> #306: v.in.ogr GUI is missing --o and --v
> -------------------------- 
> +-------------------------------------------------
>  Reporter:  msieczka     |       Owner:  grass-dev at lists.osgeo.org
>      Type:  enhancement  |      Status:  new
>  Priority:  major        |   Milestone:  6.4.0
> Component:  wxGUI        |     Version:  svn-develbranch6
> Resolution:               |    Keywords:
>  Platform:  All          |         Cpu:  All
> -------------------------- 
> +-------------------------------------------------
> Comment (by glynn):
>
> Replying to [comment:12 neteler]:

Thanks for the suggestions.

>
>
>> I got traped byt this also a few times and overlooked the horizontal
> scroll arrows on the right. Any ideas to make that more outstanding?  
> Eg. a
> half-shown/grey tab on the right (one of those which don't fit)  
> would make
> it obvious I guess. Would that be possible?

These are built into the controls and not easily changed. The  
flatnotebook control used has a better selection of special items to  
add to tabs (arrows, close boxes, etc) than most other notebook  
controls). Making the window scale dynamically is a potentially more  
feasible option.

>
>
> The behaviour is dictated by the underlying widget provided by the
> toolkit, e.g. GtkNotebook for wxGTK. It may be possible to modify the
> appearance using the mechanisms provided by the toolkit, e.g. themes  
> or
> gtkrc.

This needs to work cross-platform

> You could use e.g. wxChoiceBook (which uses an option menu instead of
> tabs) instead.

This gives a vertical row of icons instead of horizontal tabs. It also  
takes up a lot of space in the control windows.


> The only other alternative is to construct the equivalent
> of wxNotebook from the base widget classes (e.g. wxPanel, wxButton).

I don't think we want to get into that. It's a lot of work and  
requires a lot of expert knowledge of wxPython to build and especially  
maintain.

Michael




More information about the grass-dev mailing list