fertclick.blogg.se

Purebasic gadgets
Purebasic gadgets










SetGadgetItemText(#WebGadget, #PB_Web_HTMLCode, HTML$)īy the way, although SetGadgetItemText(#WebGadget, #PB_Web_HTMLCode, HTML$) is documented to only work on Windows, it also seems to work fine on MacOS. GetGadgetItemText(#WebGadget, #PB_Web_SelectedText) Its not difficult to provide this in PB, so heres a procedure to create a spin gadget and. PB doesnt directly provide a spin gadget - this is a gadget that has a little up & down arrow that typically lets you increase or decrease a numeric counter. GetGadgetItemText(#WebGadget, #PB_Web_PageTitle) PureBasic Guru Posts: 16777133 Joined: Tue 6:42 pm. GetGadgetItemText(#WebGadget, #PB_Web_HTMLCode)

#PUREBASIC GADGETS HOW TO#

To combine all these efforts I have posted 2 cross-platform examples which demonstrate how to implement a navigation callback and these 4 important WebGadget functions: Several time I have already tried to help you out with implementing some of the missing WebGadget functions for MacOS or Linux. But sadly, I struggle with the PureBasic WebGadget: Kukulkan wrote:I have the need to use the WebGadget for displaying stuff in our cross platform tools. Maybe BLINK is an option? It is the rendering engine of Chromium, Opera etc. Would be really great if there was a library (dll, so and dylib) which allows to create own web-render gadgets and control that in more detail. I thought about embedding of Gecko, but Mozilla dropped support. In general, I'm missing control over the gadget itself and what happens inside. So I have more support cost on such systems (users ask us how to make our software run). Or at least, it gets harder to find working distributions (see forum).

purebasic gadgets

At least, I found no reliable way.ĥ) Looks like the PB WebGadget is broken on some more recent Linux Distributions. I can enable on WIndows using API, but I can't disable for Linux and MacOS. Really missing that.Ĥ) Linux and Mac showing border around the gadget, Windows not. But only works on Windows.ģ) Navigation callback only works on Windows.

purebasic gadgets

But sadly, I struggle with the PureBasic WebGadget:ġ) I have to save all content to files first, because SetGadgetItemText() works only on Windows.Ģ) GetGadgetItemText() seems the only option to get some information out. I have the need to use the WebGadget for displaying stuff in our cross platform tools.










Purebasic gadgets