freenode/#clim - IRC Chatlog
Search
17:44:18
nsrahmad
::notify loke In menu-test.lisp at line 154--Instead of making a clim:application-pane, Try clim:clim-stream-pane.
2:30:52
Colleen
loke: nsrahmad said 8 hours, 46 minutes ago: In menu-test.lisp at line 154--Instead of making a clim:application-pane, Try clim:clim-stream-pane.
2:31:34
loke
And I agree that the EU parliament is much more icitizen-focused than the regular swedish parliament.
3:46:57
loke
The way you seem to have to do it is to find the top-level-sheet-pane that is inside the frame, and then use CLIM:MOVE-SHEET on it.
3:47:46
beach
That might be correct, but X11 does not have to obey if it is a window managed by the window manager.
3:48:41
beach
Don't you think it would be better to define a method that would call the X11 window-manager functionality for move-sheet?
3:49:49
loke
But... you can do it with mostly CLIM-only calls (plus CLIM-INTERNALS::TOP-LEVEL-SHEET-PANE-P)
3:52:25
beach
No, the graft corresponds to the X11 screen as I recall. It would have to be the pane that has a graft as its parent.
3:54:58
beach
I would not be opposed to exposing a certain number of extensions (like finding the top-level sheet) in the clim-extensions package.
3:55:15
loke
I'd like the popup with completions to show up next to the cursor where you're typing. Thus I need to fing out the screen coordinates of the cursor in a DREI editor
3:56:08
loke
(I guess it's useful if you have your hand on the mouse all the time and there is no keyboard control, as was the case with the traidional menu)
3:57:34
loke
And... I have a final question (for now): Is there a function that I can call that causes a scrollable viewport to scroll such that a given output record is in view?
3:58:36
beach
You would have to find the position and size of that output record and call scroll-extent to make it visible.
4:09:22
loke
beach: given a pane (that lives inside a scollpane), how can I determine the visible area and adjust the scrolling?
4:10:06
beach
The visible area is the region of the viewport-pane, but you don't need to know that. You should be able to just call scroll-extent.
4:15:51
loke
But to do that I need to know by how to scroll, so I need to know the current visible subsection?
4:17:37
loke
If the thing that I want to make visible is above the visible area, then I need to make it visible on top. And vice versa. In other words, I need to scrol the minimal amount of space to make the thing visible.
4:17:57
loke
In order to do that, I need to know where the thing is realtive to the extent prior to scrolling.