I want to try play-wav from openal.example vocabulary.
play-wav complained about missing libalut.so .
In my Ubuntu 22.04 I installed libalut-dev .
Now I get error ALIEN: 75ed9507aca8 .
My Factor :
Factor 0.100 x86.64
(2275, heads/master-b1af7930b5, Jul 1 2024 21:25:59)
[GCC 11.4.0] on linux
---
IN: items
USING: accessors kernel models ui ui.gadgets.scrollers
ui.gadgets.tables ;
MAIN-WINDOW: main { { pref-dim { 300 100 } } }
{ { "aaa" "bbb" } } trivial-renderer
>>gadgets ;
M: trivial-renderer column-titles drop { "A" "B" } ;
---
:
> Did you restart Factor after saving? Or open a new listener window?
>
> I noticed the tips of the day at the top don’t properly grow in size
> and that needs to be fixed.
>
>
>
> > On Sep 21, 2023, at 7:19 AM, Georg Simon
> > wrote:
> >
> >
lt-font-size 36
> “help.stylesheet” reload
> save
>
>
> > On Sep 19, 2023, at 12:56 AM, Georg Simon
> > wrote:
> >
> > Using now 2560x1600 pixels I would like to change all font sizes
> > permanently, m
Using now 2560x1600 pixels I would like to change all font sizes
permanently, menu bar and search field included.
Thanks, Georg
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk
In
Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022
17:53:17) [GCC 11.2.0] on linux
I use compare-slots from sorting.slots
Now in
Factor 0.99 x86.64 (2210, heads/master-d3f152ca06, May 28 2023
00:36:35) [GCC 11.3.0] on linux
I can no longer find it.
Thanks, Georg
___
This .factor-rc fixed it :
USING:
calendar kernel namespaces timers tools.scaffold
ui ui.tools.browser ui.tools.listener
;
"Georg Simon" developer-name set-global
[ ui-running? [ "DejaVu Sans Mono" 18 set-liste
.factor-rc
---
USING:
calendar kernel namespaces timers tools.scaffold
ui.tools.browser ui.tools.listener
;
"Georg Simon" developer-name set-global
[ "DejaVu Sans Mono" 18 set-listener-font ] .1 seconds later dr
Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022 17:53:17)
[GCC 11.2.0] on linux
I tried to narrow down my problem.
For this I run two slightly different scripts
which only load a vocabulary.
For the second sc
https://docs.factorcode.org/content/word-gadget,ui.gadgets.html says
"pref-dim -
a cached value for pref-dim; do not read or write this slot directly."
But in extra/gesture-logger/gesture-logger.factor
and extra/rosetta-code/animate-pendulum/animate-pendulum.factor
I find
{ 450 500 } >>pref-dim
a
Or Python:
>
> >>> a = [-13.8, -21.8, -3.99, -3.0, -15.7, 126.98, -8.9, 100.0, -21.8]
> >>> sum(a)
> 137.989998
> >>> sum(a) * 100
> 13798.9998
> >>> int(sum(a) * 100)
> 13798
>
>
>
>
> On Tue, Dec 18, 201
Below I pasted a result from my listener I do not understand.
The result of sum looks like 137.99 which is right.
But the integer I made out of it is 13798 which is wrong.
A typed in 137.99 gives the result I expect.
What am I missing ?
---
Blush. Thank you
Am Wed, 05 Sep 2018 19:31:54 +0300
schrieb Alexander Ilin :
> Hello!
>
> Have you tried removing the leading slash before the "https://";?
>
> 05.09.2018, 16:05, "Georg Simon" :
> > As it seems there are websites that make
> >
As it seems there are websites that make
with-http-request*
throw an error :
IN: scratchpad USING: http.client ;
With
"/https://fussballimtv.de"; [ . ] with-http-request* .
I get the error "Bad store to specialized slot".
With
"http://factorcode.org"; [ . ] with-http-request* .
all work
tains exclusively line-editing commands like`C+l` for select
> line but no input keys like `1`.
>
> Some keys are defined by default, others are not -- I don't know why,
> but another person will probably reply to tell you why.
>
> Hopefully it is somewhat enlightening!
>
--
T{ key-down { sym "HOME" } } handle-gesture .
--
prints f as the gesture was handled. But
--
T{ key-down { sym "a" } } handle-gesture .
T
On program start I use my table constructor and .
Then I read a value from disc and use select-row .
But the scroller does not show the selected row.
When I begin to use the table interactively all works fine.
What is the right way to adjust a scroller initially ?
-
I want to use command-line arguments in an application.
Am Fri, 05 May 2017 15:14:20 +0300
schrieb Alexander Ilin :
> What were you trying to do?
>
> 05.05.2017, 12:55, "Georg Simon" :
> > I tried
> >
> > USING:
> &
IN: scratchpad "a" get .
> f
> IN: scratchpad "a" param
> IN: scratchpad "a" get .
> t
> IN: scratchpad "b" get .
> f
> IN: scratchpad "b=1" param
> IN: scratchpad "b" get .
>
I tried
USING:
command-line namespaces prettyprint sequences
;
IN: test-script
SYMBOL: update
command-line get [ param ] each
update get .
$ fl test-script.factor update
f
What I expected wa
implementation and calling
> the correct words, but that would be harder.
>
> Jon
>
> On Thu, Nov 10, 2016 at 4:00 PM, Georg Simon
> wrote:
>
> [...]
--
Developer Access Program for
Am Thu, 10 Nov 2016 07:32:52 -0800
schrieb John Benediktsson :
My platform is Linux. Trying
---
USING:
namespaces prettyprint ui.backend.gtk ui.clipboards
;
init-clipboard clipboard get clipboard-contents .
---
In the Listener
```clipboard get clipboard-contents```
leaves the clipboard content on the stack.
In a Factor script I get an error. Because UI is not running I think.
Is there a way to read the clipboard content in a Factor script ?
Georg
-
Am Sun, 18 Sep 2016 10:25:59 -0700
schrieb John Benediktsson :
> Your code didn't run for me as is, you have to set ``nodes`` to a
> value first.
>
> Also, I don't understand why ``draw`` is making a new
> instead of just adding the new node to the existing scroller?
>
>
>
In the code bel
;t understand why ``draw`` is making a new
> instead of just adding the new node to the existing scroller?
>
>
>
> On Sun, Sep 18, 2016 at 5:33 AM, Georg Simon
> wrote:
>
> > The code below is a useless program.
> > It's only purpose is to show my
The code below is a useless program.
It's only purpose is to show my question.
By pressing INSERT I add new nodes until the scroller appears.
By using ← or → I can see the scroller work.
Pressing INSERT triggers the content of the filled-cell of
"dialog < frame" to be overwritten by "draw".
"
Am Thu, 25 Aug 2016 15:21:11 +0200
schrieb Björn Lindqvist :
> > If I remove ``{ +foreign-id+ node "ID" }`` all works fine.
> >
> > Do I understand ``+foreign-id+`` wrong ?
>
> There was a bug in the delete restrict triggers. Should be fixed now.
>
> > tree "TREE" {
> > { "id" "ID"
In the script below ``delete-tuples`` in line 8 from the end
throws an error although the id 2 is not pointed to by any tree entry.
If I remove ``{ +foreign-id+ node "ID" }`` all works fine.
Do I understand ``+foreign-id+`` wrong ?
Georg
-
ave foreground and background. They are
> also line-gadgets that have a selection-color, and gadgets that have
> an interior and border pen that can draw color as well.
>
> What are you trying to accomplish? Or just noticing stale
> documentation?
>
> Thanks,
> John.
>
http://docs.factorcode.org/content/word-editor%2Cui.gadgets.editors.html
says :
Editors have the following slots:
• font - a font.
• color - a color.
But
IN: scratchpad color>> .
throws an error.
--
.
>
> I'm not sure if we have any good documentation for it (couldn't find
> in my cursory glance), sorry about that.
>
> Best,
> John.
>
>
>
>
>
> On Thu, Aug 18, 2016 at 8:48 AM, Georg Simon
> wro
Is there a database type for foreign keys ?
Or how can I use foreign keys ?
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/
T" }
> > { $ XK_F1 "F1" }
> > { $ XK_F2 "F2" }
> > { $ XK_F3 "F3" }
> >
> > If you don't want to wait for us to figure out how we want to fix
> > that bug, but still be able to easily upgrade
gt; { 0xFF58 "BEGIN" }
> +{ 0xFF63 "INSERT"}
> { 0xFFBE "F1"}
> { 0xFFBF "F2"}
> { 0xFFC0 "F3"}
>
>
> Jon
>
> On Tue, Aug 16, 2016 at 12:42 PM, Georg
Hello!
I use Xubuntu and the window manager awesome (awesomewm.org).
When I run extra/gesture-logger/gesture-logger.factor
and press the insert key I only get
T{ key-down }
T{ key-up }
The home key for example produces
T{ key-down { sym "HOME" } }
T{ key-up { sym "HOME" } }
Is it possible to
d >>interior "foo" open-window
>
> "{ 1 1 } fill" COLOR: blue >>interior
> { 50 50 } COLOR: red >>interior "foo"
> open-window
>
> Cheers,
> Jon
>
>
>
> Jon
>
> On Wed, Jul 6, 2016 at 10:25 AM, Georg Simon
>
ffect the y axis. I've been
> trying to grok the factor ui lately. It seems quite powerful and fun
> but the lack of examples and docs is making it a bit of a tough slog.
> Though it does seem quite logical and natural once you start
> understanding parts of it.
>
> On Tue, Ju
Hi,
what is the purpose of the slot fill in the tuple border ?
--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present the
I already have a gadget which responds to gestures.
Which are the best words to use OpenGL for drawing simple lines one by
one?
ui.gadgets.canvas vocabulary ?
make-canvas-dlist delete-canvas-dlist cycle ?
Where should I start to read ?
maze vocabulary ?
Thank you, Georg
---
I use the window manager awesome (http://awesome.naquadah.org/).
With
Factor 0.98 x86.64 (1720, heads/master-7b18618b3e, Wed Nov 4 12:55:22
2015) [GCC 4.8.4] on linux
there is a problem:
When I return to my Factor tag (workspace) the Factor windows listener
and browser do not refresh but remain
hat doesn't fix it let me know.
>
> Thanks,
> John:
>
> > On Nov 15, 2015, at 3:11 AM, Georg Simon
> > wrote:
> >
> > Hello
> >
> > When testing deploy I get an error as appended.
> > Half a ye
Hello
When testing deploy I get an error as appended.
Half a year ago I think deploy worked fine.
Has Ubuntu changed?
What can I do?
Thank you, Georg
-
Factor 0.98 x86.64 (1720, heads/master-7b18618b3e, Wed Nov 4 12:55:22
2015)
y sequence.
> >
> > And if you "fix" that, paragraphs don't work because they can't
> > calculate their dimensions from an empty list of children.
> >
> > So, perhaps two bugs to fix.
> >
> >
> > On Sun, Sep 20, 2015 at 4:08
IN: scratchpad 500 add-gadget gadget.
works ( shows an invisible gadget ). But
IN: scratchpad 500 gadget.
gives the error "Sequence index out of bounds".
Is that a bug or a feature ?
--
_
Thank you.
I had to replace number>text with number>string :
500 100 iota
[ " " add-gadget ]
[ number>string add-gadget ] interleave
Am Fri, 18 Sep 2015 09:54:25 -0700
schrieb John Benediktsson :
> Labels support printing multiple lines of text, but they don't
> relayout and wor
What is the preferred way to write some text to a gadget?
By trial and error I found this to work :
-
IN: scratchpad USING: io.styles ui.gadgets.panes ;
CONSTANT: character-style
{ { font-name "sans-serif" } { font-size 22 } }
CONSTANT: paragraph
As far as I understand the answer to my question is as follows :
editor passes C+c, C+s, and so on to it's parent. All parents should
pass them too. In world waits a gesture-handler. It handles keypresses
for which action gestures exist. The corresponding action gesture is
sent to editor. editor e
y-action get-gesture-handler .
> [ \ com-copy invoke-command ]
>
> Hope that helps!
> Jon
>
> On Wed, Aug 19, 2015 at 7:01 AM, Georg Simon
> wrote:
>
> > Thank you.
> >
> > What you describe is what I use. And I do not want an editor that
> > always
always passes gestures, then...
>
> TUPLE: my-editor < editor ;
>
> : ( -- editor )
> my-editor new-editor ;
>
> M: my-editor handle-gesture call-next-method drop t ;
>
> Hope that helps!
>
>
>
>
> On Mon, Aug 17, 2015 at 10
Ubuntu 14.04.2 LTS
Factor 0.98 x86.64 (1565, heads/master-0-g592764d, Wed Dec 24 04:52:05
2014) [GCC 4.8.2] on linux
In the test program http://paste.factorcode.org/paste?id=3590
BACKSPACE and DELETE
don't appear in the terminal as they are handled by editor.
UP and DOWN
appear in the terminal as
64 %prepare-var-args ( -- ) RAX 1 MOV ;
> I don't know how hard it would be to generate the correct value for
> RAX for variable arguments.
> Also, I'm not sure if it works better for other ABI/platforms.
>
> Do you think that's something worth investigating ?
&
Am Tue, 11 Aug 2015 09:02:33 -0700
schrieb John Benediktsson :
Thank you. So I didn't overlook existing locales support.
> Properly supporting locales, even in a small way, would be a good
> thing to add.
>
> Factor is currently locale-independent, partly because of a desire for
> homoiconicity,
ve is really to always have "1.5" in the listener
> because we want an homoiconic language, so the listener ouptut
> numbers in source code format which is locale independant.
> Le 11 août 2015 10:12 AM, "Georg Simon" a
> écrit :
>
> > Thank you.
> &
ettings to
> workaround:
> LC_CTYPE=C ./factor
> Should work. If not, you can try LC_ALL=C
> Jon
> Le 11 août 2015 9:30 AM, "Georg Simon" a écrit :
>
> > IN: scratchpad 1.5 numbe
IN: scratchpad 1.5 number>string .
"1,5.0"
I would have expected "1,5"
signature.asc
Description: PGP signature
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.ne
Am Thu, 6 Aug 2015 07:20:05 -0700
schrieb John Benediktsson :
Thank you
signature.asc
Description: PGP signature
--
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.n
http://docs.factorcode.org/content/word-narray,sequences.generalizations.html
Why is the stack effect ( n -- quot ) and not ( n -- array ) ?
Why does the stack effect show quot as result for the following words
nsequence, firstn, and set-firstn ?
signature.asc
Description: PGP signature
---
Am Wed, 29 Jul 2015 12:00:04 +0200
schrieb Björn Lindqvist :
> It's because the switch is "-resource-path" not just "-resource".
>
My mistake. Sorry.
signature.asc
Description: PGP signature
--
_
Am Wed, 29 Jul 2015 08:44:20 +0100
schrieb Iain Gray :
Just guessing:
Replace [ 0 < amount 0 coins = or [ 0 ]
with [ 0 amount < 0 coins = or [ 0 ]
signature.asc
Description: PGP signature
--
_
Am Tue, 28 Jul 2015 23:41:59 +0200
schrieb Björn Lindqvist :
> I'm not sure I understand you. By default, "resource:" is setup as an
> alias the the directory containing the image file. But you can
> override it:
>
> factor -resource-path=/bla/bla -i=factor.image
>
> Essentially, "resource:" is
Am Sun, 26 Jul 2015 12:35:01 +0200
schrieb Georg Simon :
Yes, it does matter.
http://docs.factorcode.org/content/article-io.pathnames.special.html
If a pathname begins with resource:, it is resolved relative to the
directory
Am Sun, 26 Jul 2015 13:15:51 +0200
schrieb Björn Lindqvist :
Thank you.
> Judging by the binary name "factor-lang" you have the factor package
> installed from my ppa. But it appears that you have a fresher image
> coming from github. You probably can't mix the two versions like that.
Indeed I di
Factor 0.98 x86.64 (1565, heads/master-0-g592764d, Wed Dec 24 04:52:05
2014) [GCC 4.8.2] on linux
.factor-rc
USE: vocabs.loader
"/home/factor/" add-vocab-root
--
Am Wed, 22 Jul 2015 08:00:19 -0500
schrieb Ed Swartz :
>
> Typically you install the "-dev" version of a package to install
> plain *.so softlinks. E.g.:
>
> $ sudo apt-get install libsqlite3-dev
>
> $ dpkg -L libsqlite3-dev
> ...
> /usr/lib/x86_64-linux-gnu/libsqlite3.so
>
> Be sure to delet
My system:
--
$ lsb_release -drc
Description:Ubuntu 14.04.2 LTS
Release:14.04
Codename: trusty
--
I tried "Tuple database tutorial" and got
-
Am Thu, 16 Jul 2015 00:51:11 -0700
schrieb Doug Coleman :
> Thanks for the report; I fixed it.
>
> You should be able to create a new account, but I guess that's not
> the case?
>
> Doug
>
Now I have found the new account link.
I did not look for it inside the login page.
Georg
signature.asc
At http://concatenative.org/wiki/view/Factor/Running%20Factor
there is a dead link for command line switches.
I could not find out how to edit the wiki. Do you have access?
http://docs.factorcode.org/content/article-cli.html
should be replaced by
http://docs.factorcode.org/content/article-command
t;
> Best,
> John.
>
>
> On Tue, Mar 3, 2015 at 5:54 AM, Georg Simon
> wrote:
>
> > Hallo,
> >
> >
> > http://docs.factorcode.org/content/word-printf%2Cformatting.html
> > says
> > printf ( format-string -- quot )
> >
> >
Hallo,
http://docs.factorcode.org/content/word-printf%2Cformatting.html
says
printf ( format-string -- quot )
but in scratchpad
USE: formatting "test\n" printf
works without leaving a quotation on stack.
Georg
signature.asc
Description: PGP signature
---
Am Wed, 24 Dec 2014 07:03:12 -0800
schrieb John Benediktsson :
Yes, now everything works fine.
Thank you, Georg
> Oh, I'm sorry that I forgot to mention. This needs new staging images
> for deploy so you need to delete the old ones which are not
> compatible with the new handling of the argument
After switching from
factor-linux-x86-64-2014-09-17-19-14.tar.gz
to
factor-linux-x86-64-2014-12-24-04-52.tar.gz
I can no longer use the deploy tool. Trying
IN: scratchpad "hello-ui" deploy
results in the following error
http://paste.factorcode.org/paste?id=3413
It seems I have made a configurat
Am Tue, 23 Dec 2014 11:22:49 -0800
schrieb John Benediktsson :
Hi John,
> USE: command-line
> executable get
> command-line get
works. Thank you.
for now I cannot make deploy work in the new the nightly build. I
started a new thread: "deploy no longer working with new nightly build"
ng the executable name
> > right now (argv[0]).
> >
> > Probably we should fix that I guess!
> >
> > If we fix it in master are you comfortable running a nightly build?
> > (They are well tested before the build successfully uploads)
> >
> >
> &
Am Mon, 22 Dec 2014 06:51:22 -0800
schrieb John Benediktsson :
> Hi Georg,
>
> I don't see a difference between deploy and when a script/vocabulary
> is run directly.
>
> Is your question about deploy, or how to obtain the
> command/executable name?
>
> Thanks,
> John.
Hi John,
yes I wanted t
http://docs.factorcode.org/content/word-command-line,command-line.html
says:
"In deployed applications, it contains the entire command line."
But in my deployed application I only get the arguments and not the
command name.
Georg
signature.asc
Description: PGP signature
Factor is such a great language.
In my little application I also use the UI. But
"CONSTANT: column-title-background" is buried deeply.
Where would I have to start if I wanted tables with arbitrary colors?
--
Slashdot TV.
Am Sat, 20 Sep 2014 16:01:56 +0200
schrieb Jon Harper :
> Looking at scrollers.factor, it looks like this was intended..
> Factor's GUI was developed mainly for the factor tools (listener,
> help browser etc.) so the features they don't use might not
> implemented.
>
> But you can kind of get it
I had to put the table into a scroller to make my column-titles
visible. The example below opens two windows. On my system the column
title is only visible in the second window. Is that intended?
-
USING:
kernel models ui ui.ga
Am Sun, 14 Sep 2014 08:46:39 -0700
schrieb John Benediktsson :
> That looks like a bug, I opened an issue and provided a possible fix:
>
> https://github.com/slavapestov/factor/issues/1133
>
> Seems we need to a few more tests for the command-line vocabulary
> than we have...
>
Thank you
http://docs.factorcode.org/content/article-command-line.html
says that arguments after a script file are stored in command-line.
Arguments after a -run switch are not mentioned. Testing with
factor-linux-x86-64-2014-09-10-15-17.tar.gz
I see arguments after the -run switch disappearing if they st
> But then things go wrong in the rare cases when you change your
> timezone.
I have learned much and now use two new words which solve my problem:
: local-ymd>timestamp ( str -- timestamp ) ! str is -MM-DD
ymd>timestamp gmt-offset-duration >>gmt-offset
;
: days-since ( str -- n ) !
Yes I agree.
But
today dup timestamp>ymd ymd>timestamp time- duration>hours .
in Germany in Summer prints -2
meaning that timestamp>ymd and ymd>timestamp do not understand each
other.
My explanation is that timestamp>ymd should not ignore the timezone
information. It should evaluate the timestamp
If I do understand the Factor code
ymd>timestamp correctly uses gmt but timestamp>ymd uses local time.
So in Germany in summer
today dup timestamp>ymd ymd>timestamp time- duration>hours .
prints -2
Does that mean there is a bug in timestamp>ymd ?
I my application I want to use date strings of the
today >gmt "2014-08-31" ymd>timestamp time- duration>days .
today "2014-08-31" ymd>timestamp time- duration>days .
today in Germany both printed 3+11/12
> Perhaps simpler would be just converting to GMT first:
>
> today >gmt "2014-08-31" ymd>timestamp time- duration>days
--
Am Wed, 03 Sep 2014 04:20:06 -0400
schrieb mr wzrd :
> Speaking of which, does the listener support command history?
>
What I know is that it remembers the current session.
Ctrl+P previous
Ctrl+N next
--
Slashdot TV.
Am Tue, 2 Sep 2014 19:09:45 -0700
schrieb Alex Vondrak :
Thank you.
> ...
>
> That is, if it weren't for the GMT bit, you could just say
> `"2014-08-31"
> ymd>timestamp ago duration>days`. In fact, that would make a nice
> ymd>word: `:
> days-ago ( timestamp -- days ) ago duration>days ;`
>
Bu
today "2014-08-31" ymd>timestamp time- duration>days .
prints 1+11/12
as we are 2 hours earlier than gmt I guess.
today 0 hours >>gmt-offset "2014-08-31" ymd>timestamp time-
duration>days .
prints 2
which is what I want.
Is there a better way to calculate how many days ago a -MM-DD
string m
Am Mon, 01 Sep 2014 05:32:05 -0400
schrieb mr wzrd :
> Hello list.
>
> Seem to remember seeing some posts about being able to install Factor
> via apt-get in debian/Ubuntu.
>
> Is it the case? If so, where is the package?
>
>
deb http://ppa.launchpad.net/bjourne/factor/ubuntu saucy main
I n
> Jon
> Le 21 août 2014 16:46, "Georg Simon" a écrit :
>
Thank you. Now it works.
Georg
signature.asc
Description: PGP signature
--
Slashdot TV.
Video for Nerds.
I want to determine the earlier of two timestamps. Using "min" I got
strange results. The first of the two timestamps is altered. It seems
to be altered by ">gmt":
IN: scratchpad today dup 1 days time+
--- Data stack:
T{ timestamp f 2014 8 21 0 0 0 ~duration~ }
T{ timestamp f 2014 8 22 0 0 0 ~dur
I call factor-run with my copy of factor.image:
factor-run -i=/opt/pub/mDS/factor/factor.image
I have to use scaffold-vocab instead of scaffold-work.
Georg Simon
--
Introducing Performance Central, a new site from SourceFo
http://docs.factorcode.org/content/word-world,ui.gadgets.worlds.html
says:
Worlds have the following slots: ... fonts - a hashtable ...
but I cannot find the slot. fonts>> is unknown.
Georg
--
Factor ist eine verkettende Programmiersprache.
Vorsicht: Factor kann deinen Programmierstil ändern.
F
I am looking for a way to adjust wrap-margin to the gadget width.
But dim>> yields { 0 0 } as long as the gadget is not visible. So
it seems to be impossible to wrap any initial pane content correctly.
https://github.com/GeorgSimon/factor/blob/db9794798b8ea8ee911a76ff54744a3612c02ad7/sandbox/sand
Am Tue, 30 Jul 2013 16:20:54 -0700
schrieb John Benediktsson :
> Oh, I see, you want to change the font size of the label in the
> border, probably it would be better to do what you're doing, but
> making it a utility word:
>
> : change-labeled-font ( labeled-gadget quot: ( font -- font' ) -- )
>
To change the font-size of the label of a labeled-gadget I search
two children>> lists:
: default-font ( gadget -- ) 16 swap font>> size<< ;
: ( gadget title -- gadget' )
dup children>> [ border? ] find nip
children>> [ label? ] find nip
default-font ;
--
Am Wed, 17 Jul 2013 14:01:21 +0300
schrieb Ales Guzik :
> Hi.
>
> You may use the following:
> "DejaVu Sans Mono" 36 set-listener-font
>
> Ales.
Great. Thank you
--
See everything from the browser to the database with
Is it possible to change the font-size in the listener?
Georg
--
Factor ist eine verkettende Programmiersprache.
Vorsicht: Factor kann deinen Programmierstil ändern.
FactorProgrammierung.isthier.de Factor-Programmierung.isthier.de
Is there any mechanism in Factor to translate hard coded strings to the
user's language?
For now I use https://github.com/GeorgSimon/factor-i18n
Georg
--
Factor ist eine verkettende Programmiersprache.
Vorsicht: Factor kann deinen Programmierstil ändern.
FactorProgrammierung.isthier.de Factor-Pr
Now I found the io.directories vocabulary
Thank you
- Georg
--
FactorProgrammierung.isthier.de Factor-Programmierung.isthier.de
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Dow
New to Factor I have to ask.
How to delete files in a subdirectory ?
- Georg
--
FactorProgrammierung.isthier.de Factor-Programmierung.isthier.de
--
Everyone hates slow websites. So do we.
Make your web apps faster wit
100 matches
Mail list logo