From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Motif support Date: Wed, 22 Dec 2021 19:40:21 +0200 Message-ID: <83r1a4wnay.fsf@gnu.org> References: <83fsqlzyxo.fsf@gnu.org> <837dbxzv6x.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20834"; mail-complaints-to="usenet@ciao.gmane.io" Cc: xenodasein@tutanota.de, emacs-devel@gnu.org To: Arthur Miller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 22 18:43:04 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n05dn-0005D9-C4 for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Dec 2021 18:43:03 +0100 Original-Received: from localhost ([::1]:57066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n05dl-0003mM-VZ for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Dec 2021 12:43:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n05bD-0008Oo-Qb for emacs-devel@gnu.org; Wed, 22 Dec 2021 12:40:23 -0500 Original-Received: from [2001:470:142:3::e] (port=49382 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n05bD-0002P5-Fx; Wed, 22 Dec 2021 12:40:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ALoTBUI87SgotFZBNoDFnscTfFapKhnUkYE7zwMEiJQ=; b=N/ThF5T2GqlN yKn8hZOkou4SeYvKyjq0RqkNhXCk3fi2POknhurUUy/BLbXfSWQoIeNGMFNsPEvdwhZq6awqFmEJR AQM2xGgOkTKMa6jwwZFVxdyZBWPH1yPgaxYZ73+4TnQEesZ1BYpuMCWFjJvZwxoIEmIQ06u9zZthf qK6v7+mNS8/0P0Mr+rZCedZGmc9icSRs6v5a3vr1oTLHsSFQRgCgFH6Q6A4v0NHWgucQgxZipnSt/ rH1z40HnVKz8ef1VAoO/MzGFhFRP95Ly/TiNrjN2Cdu3opOtWf80RJoZs0pTgruIpS7YffbKPDwGU yFb7d5z9xzHwYEAMNU0u8g==; Original-Received: from [87.69.77.57] (port=3876 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n05bD-0007fE-Bs; Wed, 22 Dec 2021 12:40:23 -0500 In-Reply-To: (message from Arthur Miller on Wed, 22 Dec 2021 18:26:41 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282803 Archived-At: > From: Arthur Miller > Cc: xenodasein@tutanota.de, emacs-devel@gnu.org > Date: Wed, 22 Dec 2021 18:26:41 +0100 > > Eli Zaretskii writes: > > >> Date: Tue, 21 Dec 2021 18:58:18 +0100 (CET) > >> From: xenodasein@tutanota.de > >> Cc: Emacs Devel > >> > >> If I wanted to work on something like --with-x-toolkit=no but pretty and > >> customizable, using simple software rendering to run on all platforms, > >> is this something desirable? > > > > I don't think I understand what that means in practice. GUI > > programming for drawing is inherently system-dependent; for example, > > the --with-x-toolkit=no build uses Xlib calls all over the place. Can > > you explain how something like that can work on all platforms? > > Games usually do all GUI drawing themselves. So you are saying that so should we?? > Doesn't gdk/gtk use Cairo > to render it's own gui on a surface so they are not dependent on any OS toolkit? Did you look at, for example, the MS-Windows back-end of the Cairo port to Windows? > Blender for example also uses this approach to render entire GUI in the > application, and just uses low level stuff from the OS to open a window and > obtain drawing contexts, to deal with input, keyboard, mouse and such, but gui > elements such as buttons and menus are created and managed by Blender itself. I don't understand what you are saying. Should we use GTK or should we reinvent its code inside Emacs?