From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#43405: Tool bar item doesn't align to the right edge Date: Thu, 17 Sep 2020 17:24:55 +0200 Message-ID: References: <871rj9uz12.fsf@gkayaalp.com> <875z8k4wv8.fsf@posteo.net> <83pn6shjni.fsf@gnu.org> <20200911074445.GB5194@tuxteam.de> <87zh5uqdqm.fsf@mail.linkov.net> <834ko1da33.fsf@gnu.org> <87sgbloe5z.fsf@mail.linkov.net> <83een5bkja.fsf@gnu.org> <87v9ghlc5c.fsf@mail.linkov.net> <83d02pbhny.fsf@gnu.org> <87een4qi9i.fsf_-_@mail.linkov.net> <837dsw9mpu.fsf@gnu.org> <87r1r3ncwq.fsf@mail.linkov.net> <83a6xq995x.fsf@gnu.org> <831rj07c0j.fsf@gnu.org> <83v9gc5u94.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39989"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43405@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 17 17:30:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kIvrR-000AJ1-3W for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Sep 2020 17:30:13 +0200 Original-Received: from localhost ([::1]:54778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIvrQ-0003fm-3e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Sep 2020 11:30:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIvnO-0007Yn-Ku for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 11:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIvnO-0006GQ-3d for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 11:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kIvnN-0006Dn-UZ for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2020 11:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Sep 2020 15:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43405 X-GNU-PR-Package: emacs Original-Received: via spool by 43405-submit@debbugs.gnu.org id=B43405.160035630523844 (code B ref 43405); Thu, 17 Sep 2020 15:26:01 +0000 Original-Received: (at 43405) by debbugs.gnu.org; 17 Sep 2020 15:25:05 +0000 Original-Received: from localhost ([127.0.0.1]:38661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIvmT-0006CV-Ie for submit@debbugs.gnu.org; Thu, 17 Sep 2020 11:25:05 -0400 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:42556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kIvmR-0006Bx-J6 for 43405@debbugs.gnu.org; Thu, 17 Sep 2020 11:25:04 -0400 Original-Received: by mail-wr1-f48.google.com with SMTP id c18so2517874wrm.9 for <43405@debbugs.gnu.org>; Thu, 17 Sep 2020 08:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=wsp9bZIuE67jQRTepS5diwmX/xvk6OtnZSjR1p3aw9A=; b=JnqIi6bY0e4dygveHE2mjAL3kdVLXFRWxjjnflSFN6t27wxUms1LSSWdLDo8hOScI0 dVcWdKzEe5d9TKPzMF7qwAjx+/5/OxpGHZCP0ZRtgWLmlmP0zOUS6/7jlsLR4tXF2qKI 9EnsefrGnF6byg4lZLXRR2kVvJydHlT1pgxZS6qHqua7JPvHZBnvClXJE3PkrtAJXL1P RKHSjtgAcXwTIP8CmLoAMeWMkMurwnl83LX6KsYvP05vl2gASJt3wVxtMGn7xjsY3/7h 05nn4Ev3NDWr0J/gK8yk/hEfxHXRt5GsLSrP04O1btGCYDrYt5pDH1JBuh0gVR1WaUNy TYIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=wsp9bZIuE67jQRTepS5diwmX/xvk6OtnZSjR1p3aw9A=; b=PzmCj5AvDmZkD2bbgxRcWjFtQwEKQWZRvi/azZhwVUP7hXg55+2uUmcJPbsQhNxAk9 roYrcX/iislJja9aw8F377RtTtfIY/WgMECKi1GCiPN4V44wGKG8K2L6kND7OcEKD2xI bkRIH4yV+guj1rL7aR6O4/YITNYIiibOfmxPIGLPZrfwLNjz05jerJsS6w4zN6q9zoYO ysUW6q6Yij3bjSzAnlDwocYJ7KK8nfAVVhMDj5ghcZqoOGtaJ1IE9EE+CfiziQS/zKOK N0e2HT6pL4NeVN8jjldp0RHGb3VUm7DmkuXG89qu/EMZ9JpwmuZicp6EKqG4XlajQOfR AE5A== X-Gm-Message-State: AOAM533neXRadJiAJMAK716F1HbfFAilkGFTcFmoaWlpOxBfUEslpdG4 RLqIkH3NesnS5mf0JRZuBvU= X-Google-Smtp-Source: ABdhPJw3nf6h9u6y53dftE/h9GfoDokzs9sKzKcq3lm4dY2G6a1jDfjrSVM32OU2yqvtDwZWtqruuQ== X-Received: by 2002:adf:e80b:: with SMTP id o11mr30973278wrm.118.1600356297603; Thu, 17 Sep 2020 08:24:57 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:99bb:88d4:2cf6:2ab9]) by smtp.gmail.com with ESMTPSA id m3sm39036628wrs.83.2020.09.17.08.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 08:24:56 -0700 (PDT) In-Reply-To: <83v9gc5u94.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 17 Sep 2020 17:54:15 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188211 Archived-At: >>>>> On Thu, 17 Sep 2020 17:54:15 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: 43405@debbugs.gnu.org, juri@linkov.net >> Date: Thu, 17 Sep 2020 16:43:37 +0200 >>=20 >> If the GtkToolbar child property "expand" is TRUE and the property >> "draw" is set to FALSE, the effect is to force all following items to >> the end of the toolbar. >>=20 >> So if you do the following, all toolbar items added after this >> separator end up on the right: >>=20 >> ti =3D gtk_separator_tool_item_new (); >> gtk_tool_item_set_expand (ti, true); >> gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (ti), true= ); >> gtk_toolbar_insert (GTK_TOOLBAR (wtoolbar), ti, j); >>=20 >> It does produce an ugly empty patch in the middle of the toolbar >> that=CA=BCs a different colour though. Eli> So you are saying that, while possible, doing this is not really Eli> workable, since it produces ugly display? You know this is 2020, so truth =3D=3D lies, and lies =3D=3D truth, right? So, once I actually follow the documentation and pass 'false' in the right place, the toolbar looks correct :-) Now the question is: do we want to expose this to lisp, and if so, how? I mean, I have no idea if the macOS or MS-Windows tool bar have a similar feature. Robert