Search found 3482 matches

by TJF
Nov 10, 2019 8:14
Forum: Libraries
Topic: Header updates for Gtk-3.0 and others
Replies: 6
Views: 3949

Re: Header updates for Gtk-3.0 and others

Hi wallyg, Gtk4 isn't released yet. In order to test, you'll have to compile from source. Find NSIS installers for the most recent versions at https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases The maintainer announced to add Gtk4 when a MINGW MSYS2 package is availab...
by TJF
Nov 09, 2019 5:39
Forum: Libraries
Topic: Header updates for Gtk-3.0 and others
Replies: 6
Views: 3949

Re: Header updates for Gtk-3.0 and others

Hello James Klutho,

you're welcome! Mind the chapter Migrating from GTK+ 2.x to GTK+ 3 in the documentation.

Regards
by TJF
Nov 04, 2019 6:03
Forum: Linux
Topic: Debian use Full screen
Replies: 6
Views: 333

Re: Debian use Full screen

If I place a window at 0,0 then I expect the Window Manager to place my screen @ 0,0 Not at 0,30 which is what is happening. Basically the window manager is re-defining the coordinates. Sure! The GUI library doesn't know about how many monitors the computer is using, how big they are and how they'r...
by TJF
Nov 02, 2019 19:43
Forum: Linux
Topic: Debian use Full screen
Replies: 6
Views: 333

Re: Debian use Full screen

Hi!

I developed and tested the following application with undecorated full screen under LXQT: http://www.freebasic.net/forum/viewtopi ... =5&t=21379

I'm sure the window manager supports this feature. Your issue seems to be caused by a weak GUI library.

Regards
by TJF
Oct 30, 2019 14:18
Forum: Linux
Topic: Debian use Full screen
Replies: 6
Views: 333

Re: Debian use Full screen

The window manager decorates the window with a title bar, rezise controls, etc. The GUI library should have a function to disable this.

I don't know CGUI, but in GTK it's function gtk_window_set_decorated ().

Regards
by TJF
Sep 07, 2019 7:51
Forum: Linux
Topic: Context help in Geany
Replies: 7
Views: 3091

Re: Context help in Geany

I just figured out an alternative way to have context help in Geany: A) Menu: Edit -> Preferences -> Tools -> Context action: "firefox https://freebasic.net/wiki/wikka.php?wakka=KeyPg %s " B) Menu: Edit -> Preferences -> Keybindings -> Action Editor, Context Action -> Set to e.g. Ctrl+F1 ...
by TJF
Aug 25, 2019 20:09
Forum: Linux
Topic: Is it possible to Hello world on a server
Replies: 55
Views: 10546

Re: Is it possible to Hello world on a server

by box u mean for example on my laptop so i can dev and test... I don't know the OS on your development environment. Ie. for debian based LINUX systems execute sudo apt install libfcgi-dev and i guess also i would need to install the library on the server or maybe it's already on the server... some...
by TJF
Aug 25, 2019 17:33
Forum: Linux
Topic: Is it possible to Hello world on a server
Replies: 55
Views: 10546

Re: Is it possible to Hello world on a server

The headers are included in FB. You've to install the binaries on your box.

Rgerads
by TJF
Aug 25, 2019 17:11
Forum: Linux
Topic: Is it possible to Hello world on a server
Replies: 55
Views: 10546

Re: Is it possible to Hello world on a server

i will look into this idea thanks TJF Here's some example code: /'* \file solar-fcgi.bas Copyright GPL V3 by Thomas[dot}Freiherr(At]gmx{dOT)net '/ #INCLUDE ONCE "fastcgi/fcgi_stdio.bi" #INCLUDE ONCE "solar-regler.bi" #INCLUDE ONCE "solar-output.bi" #DEFINE NO_FCGI_DEFI...
by TJF
Aug 25, 2019 16:48
Forum: General
Topic: I want to upload my software for use by others
Replies: 4
Views: 3132

Re: I want to upload my software for use by others

Welcome to FreeBASIC! In order to upload your code there're three main solutions: ⋅ Small code snippets can get included in posts at this forum in code blocks (up to 1000 LOC per block, AFAIR). ⋅ Projects containing multiple files and/or bigger code blocks can get uploaded at the...
by TJF
Aug 25, 2019 16:31
Forum: Linux
Topic: Is it possible to Hello world on a server
Replies: 55
Views: 10546

Re: Is it possible to Hello world on a server

Hi owen!

You don't need php to call your FB executable (on the shell), and bypass the output.

The direct way is to compile your code against the fcgi library and let the web server directly call your binary.

Regards
by TJF
Aug 25, 2019 16:21
Forum: Linux
Topic: Non-blocking reading from /dev/input/event
Replies: 2
Views: 2912

Re: Non-blocking reading from /dev/input/event

Hi maratus!

Code: Select all

open pipe "cat /dev/input/event"
Why do you use the indirect route involving the shell and the cat command?

Just open "/dev/input/event" directly, either by FB or C functions. Do asynchronous readings in a thread.

Regards
by TJF
Aug 16, 2019 15:33
Forum: Beginners
Topic: Can FB simple animations be run on a website?
Replies: 9
Views: 6502

Re: Can FB simple animations be run on a website?

Hi TimG! There's a simple and save way to run FB excutables on a webside, if the executable is compiled against GTK: just run that application under the braodway backend . Then you can connect any html5 browser to one of the broadway ports and use the browser window as a virtual screen/keyboard for ...
by TJF
Jul 10, 2019 4:22
Forum: Projects
Topic: Include Digger
Replies: 48
Views: 17962

Re: Include Digger

I love support for large projects like this. It helps everyone, and shows that FB is a serious tool. AFAICS this project provides a subset of the fbdoc features. And fbdoc is ⋅  documented (self-generating docs for Doxygen backend) ⋅  cross-platform ⋅  a text tool that...
by TJF
Jul 09, 2019 5:00
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 379
Views: 78138

Re: libpruio (BB D/A - I/O fast and easy)

You're welcome! In RB mode you can synchronize the second PRU in the same way as synchronizing the ARM: observe DRam[0], which is address 0x2000 for the second PRU. Note: that address is used for each (pinmuxing) operation, and reset to 0 (zero) afterwards: ⋅  First finish all configuratio...

Go to advanced search