World: r3wp
[!REBOL3 GUI]
older newer | first last |
ChristianE 5-Feb-2010 [475] | Yes, but currently there isn't any, is it? (I am aware of the fact that the GUI is barely alpha) |
BrianH 5-Feb-2010 [476] | You're too generous. The GUI is pre-alpha, and wouldn't be considered alpha without the layout model changes Carl has said he has planned (but then had to take a break to work on lower-level stuff for a year). |
Graham 5-Feb-2010 [477] | perhaps at initialization ... grab all the set words in names and store them in a block in the top window |
BrianH 5-Feb-2010 [478] | It might not be a good idea to access these faces outside of the GUI code. There might be synchonization or multitasking issues. |
Graham 5-Feb-2010 [479] | that's going to make separation of gui from code more difficult |
BrianH 5-Feb-2010 [480] | I mean accessing data from the actions rather than from outside code. Using the accessors to set state. |
Henrik 6-Feb-2010 [481] | One shouldn't need to access faces directly. In time, I think GET-FACE and SET-FACE will do this, but you might need to pass the window face first: get-face window my-form Carl already has used a /field refinement, but I'm not sure what it does. |
Gregg 6-Feb-2010 [482] | Someone should write a software book called 'The Joy of Naming'. We're used to 'facets, and I don't have anything against it, but it's telling that description for it uses both 'attributes and 'properties. I don't expect it will change at this point. We all just need to help new users learn what it means. 'Template doesn't sound bad. It's funny, in OOP you have the concept of inheritance from a parent, but I don't know of a common term used for the view from the other direction. 'Attributes is probably the most common, but you don't hear it discussed as the base classing passing them on. |
Gabriele 6-Feb-2010 [483] | Henrik: make-gob is "complete" in the sense that it has all the features that were necessary for VID. I'm not sure I'd call it "finished" though - for example I wanted to add hinting, and a number of things may need improvements. Also, maybe the code can be cleaned up. |
Henrik 6-Feb-2010 [484x2] | Gabriele, OK. |
http://rebol.net/wiki/R3_GUI_Specs This is not the list Carl made. | |
Pekr 6-Feb-2010 [486x2] | My take on naming - I will probably learn anything we come-up with. My english is pretty weak, so I am not a good measure, but I never ever used word FACET. I might have old brain already, but I always forget what it means. And I can assure you, there will be many such users as me. So more general naming would not hurt. It is really laughable, like we use special word (FACET), and then in its docced description to explain its meaning we use words like attributes, properties. So - why use FACET at all then? Quite contrary though, I was able to remember FACED. It sounded for me like sticked to the face instance :-) Anyway - I think that we have much more important things for the GUI to work on. And good docs with some diagram might be worth a thousands words ... |
Henrik - who made that list, and how old is that? | |
Henrik 6-Feb-2010 [488x2] | I made it, and it's about 15 minutes old. |
Going to add some more... | |
Pekr 6-Feb-2010 [490] | Henrik - at the beginning of this group, I reposted some of your older general notes about overal planned architecture changes. I think that it might become part of your document ... |
Henrik 6-Feb-2010 [491] | Posted some of that. Still a lot left to do. Feel free to comment in here. |
MikeL 6-Feb-2010 [492] | Henrik... great list ... not sure that the problem with field tabbing is in it or not. In R2 tabbing went to hidden fields which made them visible. |
Henrik 6-Feb-2010 [493x2] | That is specifically not the case here. Hidden faces are supposed to be skipped for tab navigation. |
I think some of the requirements are more easily described as state machines. That makes it possible to implement them directly. | |
MikeL 6-Feb-2010 [495] | Great - thanks for the clarity.. Does anything about multi-lingual support need to be stated here - is that inherently obvious or covered elsewhere? |
Henrik 6-Feb-2010 [496] | No statement on multi-lingual support yet. Are you referring to input or simply the text language used in the GUI? |
MikeL 6-Feb-2010 [497] | Only the text language displayed in the GUI. If there is no position on GUI text language or user input then I suggest that a statement of same belongs in R3_GUI_Specs so that it continues to be addressed or specifically ignored ... but will not be a surprise to new readers. |
Henrik 6-Feb-2010 [498] | ok, good |
Pekr 6-Feb-2010 [499x3] | henrik - perhaps inside-face could be called within-face? We already have within? function in rebol .... |
other than that, it seems to me, there is way too much of high level functions ... I wonder if we really need all of them :-) | |
btw - what is the difference between freezed and disabled face? | |
Henrik 6-Feb-2010 [502x3] | We really need all of them. Badly. I use all of them in the VID Extension Kit. |
A frozen face does not respond to input, but is otherwise normally visible. A disabled face is visibly disabled. Frozen faces may not be necessary, but they are a first step toward creating a GUI layout editor. | |
I think styles need to go in a separate document, or it will be very long. | |
BrianH 6-Feb-2010 [505x3] | Some of the global functions could be limited to the scope of the gui module and not exported. |
Don't know which ones yet, just saying. | |
It's good to see someone going over the gui docs - the existing ones got a bit scrambled when someone reorganized the wiki with no understanding of the gui model. Docs for Gabriele's and Carl's guis were mixed together and the result made no sense. | |
Henrik 6-Feb-2010 [508] | For now, I'm ignoring the docs and sticking with the source. As the GUI system develops, we'll write new docs. |
Graham 6-Feb-2010 [509] | Who is able to go over the GUI docs to fix the mess? |
Henrik 6-Feb-2010 [510] | Seems that an R3 face does not store its parent face. In order to traverse faces freely, the parent face must be known. Ideas? |
Graham 6-Feb-2010 [511] | So, what fields are there that relate once face to another? |
Henrik 6-Feb-2010 [512x2] | Inward there is FACES, which is the block of subfaces. Outward there is nothing. It should be easy to add, but maybe there is a reason, it's not there. |
I don't want to use the path from the window root, as the face object may be the only reference you have. | |
Graham 6-Feb-2010 [514x2] | so you can go down but not up ... |
Seems an omission ... | |
Henrik 6-Feb-2010 [516x4] | ohh... it's not inside the face object. there's even a PARENT-FACE? function. |
face/gob/parent/data | |
not inside = not inside the root of the face object. | |
ok, PARENT-FACE? returns an error on window face. I wonder if it should do that. | |
Graham 6-Feb-2010 [520] | because there's no parent? |
Henrik 6-Feb-2010 [521x3] | yes. it tries just to get the path, which doesn't exist. |
one must ask for FACE/DATA/GOB/PARENT first | |
I'm also kind of expecting that the R3 GUI no longer uses objects for panes. That simplifies the code a little bit. | |
Graham 6-Feb-2010 [524] | Just blocks ? |
older newer | first last |