#2 No fixed offsets, please

open
nobody
None
5
2001-10-29
2001-10-29
Pavel Machek
No

Hi!

anygui looked nice from description, but it looks like
you are using fixed positions ("Create button at 80,
30")... I do not see how you want to create quality gtk
port with that, nor I see how you are going to port it
to curses.

BTW , if possible, completely text-based port would be
nice. Something like

1: "Okay"
2: Input line: ""
3: "Cancel"

Your choice?

Not every terminal can move cursor, and such interface
would be pretty nice for scripting.

Discussion

  • Kalle Svensson
    Kalle Svensson
    2001-12-12

    Logged In: YES
    user_id=16404

    Both things you mention are planned, and I think there is a
    semi-working text backend already. I haven't tested it
    myself, and could well be wrong.

    Regarding the gtk backend, I use GtkLayout widgets. I'd
    appreciate if you elaborated on how these are bad for
    quality, either here or in email.

    Thanks.

     
  • Pavel Machek
    Pavel Machek
    2001-12-27

    Logged In: YES
    user_id=11058

    gtklayout widgets use absolute offsets, right?

    What happens when user has different fonts (bigger). Texts
    will run out of buttons, no? And when user has smaller
    fonts, it will look ugly because of too much space
    everywhere.

    Bad things happen with translations: if you have button that
    is "OK" in english, but should be "Ano, pane tovarniku" in
    czech, it is surely going to overflow in translated app,
    right?

    gtklayout is very bad idea for anything serious...