From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 7050@debbugs.gnu.org
Subject: bug#7050: 24.0.50; Feature request: draggable tool bar placement
Date: Tue, 21 Sep 2010 09:46:49 +0200 [thread overview]
Message-ID: <4C9862E9.7020602@swipnet.se> (raw)
In-Reply-To: <87iq24htjz.fsf@escher.home>
2010-09-18 00:52, Stephen Berman skrev:
> On Fri, 17 Sep 2010 18:03:16 +0200 Jan Djärv<jan.h.d@swipnet.se> wrote:
>
>> Stephen Berman skrev 2010-09-17 17.05:
>>> On Fri, 17 Sep 2010 15:37:18 +0200 Jan Djärv<jan.h.d@swipnet.se> wrote:
>>>
>>>> Stephen Berman skrev 2010-09-16 22.11:
>>>>> Now that the Gtk+ tool bar can be positioned along all four frame edges,
>>>>> it would be nice if we could do this by dragging the tool bar with the
>>>>> mouse. This is possible e.g. in OpenOffice.org, which also uses Gtk+
>>>>> (though perhaps that feature is an add-on, not easily available to
>>>>> Emacs?).
>>>>
>>>> OpenOffice has hijacked the handle normally used for detaching. So we can
>>>> have one or the other, but I think both would be difficult.
>>>
>>> Well, in OpenOffice the tool bar is both draggable and
>>> detachable... (but I have no idea how they do it).
>>>
>>
>> Is it? I can't detach it in my Openoffice.
>
> In mine (specifically, oowriter), when I start to drag the tool bar, a
> box with a thick border appears; as long as it stays outside the text
> area, it snaps to whatever edge I stop pressing mouse-1 at, and the tool
> bar then appears at that edge, attached to the main window (frame). But
> if I drag the box into the text area, the border becomes thin, and when
> I release mouse-1 here, the tool bar appears detached from the main
> window. I have Openoffice 3.1.1 from openSUSE 11.2, which is "created
> by Novell, Inc., base on Openoffice.org", so maybe this is an added
> feature.
OpenOffice does the same as Mozilla/Firefox, keep an unrealized instance of
the Gtk+ widget around just so they can use its paint routines to get the
right look. They don't actually use the functionality of the widgets, that is
implemented separately. This probably helps to implement the same behaviour
on multiple platforms.
Jan D.
next prev parent reply other threads:[~2010-09-21 7:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-16 20:11 bug#7050: 24.0.50; Feature request: draggable tool bar placement Stephen Berman
2010-09-17 13:37 ` Jan Djärv
2010-09-17 15:05 ` Stephen Berman
2010-09-17 16:03 ` Jan Djärv
2010-09-17 22:52 ` Stephen Berman
2010-09-21 7:46 ` Jan Djärv [this message]
2021-10-21 20:28 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C9862E9.7020602@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=7050@debbugs.gnu.org \
--cc=stephen.berman@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).