[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: pcb: gui-dialog-print.c weirdness?



Hans Nieuwenhuis wrote:
> On Mon, 03 Sep 2007 20:32:20 -0400
> Dan McMahill <dan@xxxxxxxxxxxx> wrote:
> 
>> Hans Nieuwenhuis wrote:
>>> On Sun, 02 Sep 2007 16:59:52 -0400
>>> Dan McMahill <dan@xxxxxxxxxxxx> wrote:
>>>
>>> <snip>
>>>> No, quite the opposite.  ghid_dialog_print() is obsolete and I haven't 
>>>> gotten to replacing it with ghid_attribute_dialog yet.  BTW, 
>>>> ghid_attribute_dialog is in fact used by the printer calibration. 
>>>> Search for gui->attribute_dialog.
>>>>
>>>> I have a couple of patches which touch ghid_attribute_edit too that I 
>>>> haven't checked in.  Mostly they are needed to let me get rid of the 
>>>> ghid_dialog_print() function.  I'm hoping to get that done over the
>>>> next few days, but I can't promise that.  ghid_dialog_print() will
>>>> probably go away at that time since it is less general purpose.
>>>>
>>> Ok, I'll wait for those patches to land in CVS then. In the meantime I
>>> can figure out how to make notebooks to work in the lesstif HID.
>>>
>>> Hans
>> all checked in.  Have fun.
>>
>> I must have missed a discussion along the way of what it was you were 
>> trying to teach ghid_dialog_print() to do?
>>
>> -Dan
> 
> Thanks!
> 
> I am trying to implement some graphical structures into HID_attribute arrays to 
> allow for a bit more flexible dialog layouts. The reason for this was that the
> ps exporter dialog, which has the most options currently becomes taller than my 
> screen on my laptop (1280x800).
> Currently I have an implementation to add notebook tabs to the attribute structure, 
> but I am thinking also of a multi column layout.
> When in batch mode pcb will happily ignore these attributes.
> 
> I posted a screenshot last Sunday with a (working) example:
> 
> http://www.xs4all.nl/~vzzbx/files/ps-export.jpg
> 
> Hans

I see.  Neat!  I wonder if we should make the attribute editor dialog 
have a scroll box.

I'd started work on defining some attributes for gschem quite a while 
back with the intention of supporting tabs and/or things like a button 
you could press to pull up a sub dialog box.  My goal there was to let 
you define things like the form for transient analysis in gnucap or ac 
analysis in spice via an attribute list in scheme.  Then there would be 
this magic attribute editor that built up the GUI for setting everything 
up.  I still think it is a good way to go, but I got a bit bogged down 
in the details.

Anyway, I think the ability to have an attribute list be a valid 
attribute array entry would be good.

-Dan




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user