# \#xpce

**URL:** https://swi-prolog.discourse.group/tag/xpce/116.md

[Latest](https://swi-prolog.discourse.group/latest.md) · [Categories](https://swi-prolog.discourse.group/categories.md) · [Tags](https://swi-prolog.discourse.group/tags.md)

---

## [Progressing the SWI-Prolog environment](https://swi-prolog.discourse.group/t/progressing-the-swi-prolog-environment/9090)

<div class="topic-metadata">

**Author:** [@jan](https://swi-prolog.discourse.group/u/jan)\
**Replies:** 239\
**Last updated:** [October 19, 2026, 9:06pm UTC](https://swi-prolog.discourse.group/t/progressing-the-swi-prolog-environment/9090 "2026-10-19T21:06:12Z")

</div>

This topic is a follow up for Future of XPCE. The initial plan was to give xpce, the SWI-Prolog GUI library, a boost to keep it alive. As a result, xpce is now being moved to SDL+Cairo+Pango, providing an excellent cro…

---

## [XPCE, how to get value from multiple\_selection?](https://swi-prolog.discourse.group/t/xpce-how-to-get-value-from-multiple-selection/7381)

<div class="topic-metadata">

**Author:** [@esfort](https://swi-prolog.discourse.group/u/esfort)\
**Replies:** 4\
**Last updated:** [April 21, 2024, 5:54pm UTC](https://swi-prolog.discourse.group/t/xpce-how-to-get-value-from-multiple-selection/7381 "2024-04-21T17:54:50Z")

</div>

Hello everyone, I have a problem, if you can help me, I will be very glad. I’m using: SWI-Prolog version 9.0.4 I need to implement a multi-selection, but I can’t extract the values of this selection. I managed to impl…

---

## [XPCE: How to fill a path of lines and bezier curves?](https://swi-prolog.discourse.group/t/xpce-how-to-fill-a-path-of-lines-and-bezier-curves/7379)

<div class="topic-metadata">

**Author:** [@kwon-young](https://swi-prolog.discourse.group/u/kwon-young)\
**Replies:** 3\
**Last updated:** [April 16, 2024, 7:11pm UTC](https://swi-prolog.discourse.group/t/xpce-how-to-fill-a-path-of-lines-and-bezier-curves/7379 "2024-04-16T19:11:08Z")

</div>

Hello, I am currently trying to parse and draw svg d path using prolog. I found that xpce can draw lines, bezier curves and arcs which are all the graphical components needed to draw the path. However, how would I fil…

---

## [XPCE, interface with library(pce)](https://swi-prolog.discourse.group/t/xpce-interface-with-library-pce/7376)

<div class="topic-metadata">

**Author:** [@esfort](https://swi-prolog.discourse.group/u/esfort)\
**Replies:** 0\
**Last updated:** [April 14, 2024, 11:35pm UTC](https://swi-prolog.discourse.group/t/xpce-interface-with-library-pce/7376 "2024-04-14T23:35:50Z")

</div>

Hello everyone. I’m making an interface for my expert system. Faced with the problem of multiple choice/tick-box/multiple selection. I’m trying and testing on a small example. Problem: after I select the options, I can’t…

---

## [Barcharts in XPCE don't display ordenates and abscissas axis labels](https://swi-prolog.discourse.group/t/barcharts-in-xpce-dont-display-ordenates-and-abscissas-axis-labels/7224)

<div class="topic-metadata">

**Author:** [@FernandoHB](https://swi-prolog.discourse.group/u/FernandoHB)\
**Replies:** 4\
**Last updated:** [February 6, 2024, 8:00pm UTC](https://swi-prolog.discourse.group/t/barcharts-in-xpce-dont-display-ordenates-and-abscissas-axis-labels/7224 "2024-02-06T20:00:26Z")

</div>

Hello everyone. Just a simple question, I was studying the XPCE barcharts topic and then I tried to run a modified version of given example code. The result I got didn’t show any label in the axis but if I select the pla…

---

## [How to make an executable file for an XPCE program?](https://swi-prolog.discourse.group/t/how-to-make-an-executable-file-for-an-xpce-program/7017)

<div class="topic-metadata">

**Author:** [@FernandoHB](https://swi-prolog.discourse.group/u/FernandoHB)\
**Replies:** 3\
**Last updated:** [December 2, 2023, 9:48pm UTC](https://swi-prolog.discourse.group/t/how-to-make-an-executable-file-for-an-xpce-program/7017 "2023-12-02T21:48:28Z")

</div>

Hello everyone. I’m making an user interface in XPCE for a programming school project, which has a predicate named ‘iniciar’ to initialize all the graphic elements. I tried this command: swipl --goal=iniciar -o myprog …

---

## [XPCE gtrace's unexpected behaviour for X=... style clauses](https://swi-prolog.discourse.group/t/xpce-gtraces-unexpected-behaviour-for-x-style-clauses/6854)

<div class="topic-metadata">

**Author:** [@kowalsky](https://swi-prolog.discourse.group/u/kowalsky)\
**Replies:** 2\
**Last updated:** [September 27, 2023, 10:03am UTC](https://swi-prolog.discourse.group/t/xpce-gtraces-unexpected-behaviour-for-x-style-clauses/6854 "2023-09-27T10:03:19Z")

</div>

I’m using: SWI-Prolog version 8.4.0 64 bits, with XPCE 2.0 When I run a graphical tracer with gtrace sometimes it shows decompiled listing of a predicate rather than the predicate in its original file. This happens when…

---

## [How to notify prolog when an XPCE window/frame is closed](https://swi-prolog.discourse.group/t/how-to-notify-prolog-when-an-xpce-window-frame-is-closed/6809)

<div class="topic-metadata">

**Author:** [@attoparsec](https://swi-prolog.discourse.group/u/attoparsec)\
**Replies:** 5\
**Last updated:** [September 1, 2023, 7:28am UTC](https://swi-prolog.discourse.group/t/how-to-notify-prolog-when-an-xpce-window-frame-is-closed/6809 "2023-09-01T07:28:17Z")

</div>

hello ! i am new to XPCE and could not find the answer to the following problem in docs. i can create an xpce window and draw things on it, attach mouse event handlers, etc. however, i would like XPCE to send a messag…

---

## [Extending xpce/emacs](https://swi-prolog.discourse.group/t/extending-xpce-emacs/6648)

<div class="topic-metadata">

**Author:** [@z5h](https://swi-prolog.discourse.group/u/z5h)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 9:06am UTC](https://swi-prolog.discourse.group/t/extending-xpce-emacs/6648 "2023-06-20T09:06:00Z")

</div>

Given that no other editor seems to have SWI-Prolog language integration as complete as PceEmacs, I’d like to better understand how to customize it (to add features I miss from other editors). In the documentation, this…

---

## [Changing the default font in xpce](https://swi-prolog.discourse.group/t/changing-the-default-font-in-xpce/6460)

<div class="topic-metadata">

**Author:** [@nijan104](https://swi-prolog.discourse.group/u/nijan104)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 7:32am UTC](https://swi-prolog.discourse.group/t/changing-the-default-font-in-xpce/6460 "2023-04-13T07:32:30Z")

</div>

Hello everyone, I am working on my first GUI with xpce and want the user to be able to change the font of all displayed objects. My first approach was to define a fact storing the global\_font and then using send(Object…

---

## [How to call an interactive Dialog to choose a directory with xpce](https://swi-prolog.discourse.group/t/how-to-call-an-interactive-dialog-to-choose-a-directory-with-xpce/6443)

<div class="topic-metadata">

**Author:** [@nijan104](https://swi-prolog.discourse.group/u/nijan104)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:33am UTC](https://swi-prolog.discourse.group/t/how-to-call-an-interactive-dialog-to-choose-a-directory-with-xpce/6443 "2023-04-06T10:33:41Z")

</div>

Hello everyone, I am very new to prolog and xpce and trying to build my first GUI with it. Since I want the user to be able to choose a directory to store files in, I was wondering if there is already an existing dialo…

---

## [XPCE Hide/Show elements](https://swi-prolog.discourse.group/t/xpce-hide-show-elements/5907)

<div class="topic-metadata">

**Author:** [@Malo](https://swi-prolog.discourse.group/u/Malo)\
**Replies:** 2\
**Last updated:** [November 3, 2022, 1:05am UTC](https://swi-prolog.discourse.group/t/xpce-hide-show-elements/5907 "2022-11-03T01:05:13Z")

</div>

Good day everyone, I want to control the visibility of certain XPCE elements (like labels, buttons, or whole dialog groups), e.g. I am looking for something like: send(element, visibility, false), I would also greatly…

---

## [How to resend a message between dialog items in XPCE](https://swi-prolog.discourse.group/t/how-to-resend-a-message-between-dialog-items-in-xpce/5433)

<div class="topic-metadata">

**Author:** [@acmiyaguchi](https://swi-prolog.discourse.group/u/acmiyaguchi)\
**Replies:** 0\
**Last updated:** [May 26, 2022, 8:16am UTC](https://swi-prolog.discourse.group/t/how-to-resend-a-message-between-dialog-items-in-xpce/5433 "2022-05-26T08:16:07Z")

</div>

I’ve been struggling with some basic XPCE code. I have this small snippet that contains two text boxes. I want to send text from one text item to the other every time it changes. % swipl-win.exe main.pl :- use\_module(li…

---

## [Changing background colors and mutability of XPCE dialogs](https://swi-prolog.discourse.group/t/changing-background-colors-and-mutability-of-xpce-dialogs/5406)

<div class="topic-metadata">

**Author:** [@acmiyaguchi](https://swi-prolog.discourse.group/u/acmiyaguchi)\
**Replies:** 3\
**Last updated:** [May 20, 2022, 6:29am UTC](https://swi-prolog.discourse.group/t/changing-background-colors-and-mutability-of-xpce-dialogs/5406 "2022-05-20T06:29:51Z")

</div>

I’ve been trying to scratch a recent itch involving prolog and gui applications, so I’ve been trying my hand at writing some basic applications with XPCE. While manpce and the user guide have been useful for building the…
