All pastes #496251 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-19 04:17 UTC
rendered paste body
May 18 17:31:14 <UnixTitan>     am I the only one that feels combo should be one widget not two and that when any part of the combo is clicked it opens/closes?
May 18 17:31:45 <UnixTitan>     seems to me thats the way most toolkits do it and it is the expected behavior
May 18 17:34:11 <hyakuhei>      The path of least surprise
May 18 17:34:29 <hyakuhei>      if it is conceptually one thing (one choice, selection) then of course it should be one widget
May 18 17:34:49 <UnixTitan>     hyakuhei, I meant the header
May 18 17:34:55 <hyakuhei>      heh
May 18 17:35:06 <UnixTitan>     the header is two widgets.. the actual label and then the button that opens/closes it
May 18 17:35:16 <hyakuhei>      well that just sounds silly
May 18 17:35:20 <UnixTitan>     I agree
May 18 17:35:29 <UnixTitan>     you have to click the little button to open/close it.
May 18 17:35:32 <hyakuhei>      Is there a situation where you would want one without the other?
May 18 17:35:41 <hyakuhei>      ah, thats also odd
May 18 17:35:42 <UnixTitan>     the generally used method is clicking anywhere on the combo open/closes it
May 18 17:35:49 <hyakuhei>      indeed
May 18 17:35:59 <UnixTitan>     thats why I'm asking if it should be reworked
May 18 17:36:01 <UnixTitan>     pfritz, ?
May 18 17:36:40 <pfritz>        I guess it is, because when you want to have the header be editable
May 18 17:37:13 <UnixTitan>     no doubt
May 18 17:37:24 <UnixTitan>     but the point is the combo could simply be a container.
May 18 17:37:30 <UnixTitan>     (hbox/vbox/cell...)
May 18 17:37:38 <UnixTitan>     and be themed to look like it does now
May 18 17:37:45 <UnixTitan>     and have the whole thing one widget that way
May 18 17:38:00 <UnixTitan>     and that way when any part of it is clicked it opens/closes
May 18 17:38:09 <pfritz>        UnixTitan, i understand your point
May 18 17:38:09 <UnixTitan>     and it can have entries/labels/texts/images etc inside of it.
May 18 17:38:46 <UnixTitan>     pfritz, but do you think something should be done?
May 18 17:39:25 <pfritz>        UnixTitan, for now I'm unsure we first need to figure out how to handle editable headers
May 18 17:39:55 <pfritz>        they don't work currently, but when found a good solution for them
May 18 17:40:16 <UnixTitan>     when you said editable i thought you meant entries
May 18 17:40:20 <UnixTitan>     what do you mean by editable?
May 18 17:40:23 <pfritz>        we eventl. can change the header to be one button
May 18 17:40:56 <pfritz>        like url field in your browser
May 18 17:41:01 <pfritz>        *the
May 18 17:41:11 <UnixTitan>     right
May 18 17:41:15 <UnixTitan>     why don't entries work?
May 18 17:41:45 <pfritz>        entries could work haven't test it
May 18 17:42:02 <UnixTitan>     ewl test uses an entry
May 18 17:42:04 <pfritz>        but there is a function ewl_combo_editable_set
May 18 17:42:09 <pfritz>        that doesn't work
May 18 17:42:31 <UnixTitan>     eh?
May 18 17:44:28 <pfritz>        oh, maybe it works, heh
May 18 17:44:42 <UnixTitan>     yea lol