@Shardik: I tested your code and had no warning or error messages. I checked again and debug error messages are turned on. I use the Integrated IDE Debugger with warning level set to Display Warnings.
[18:04:26] Waiting for executable to start...
[18:04:27] Executable type: Linux - x86 (32bit ...
Search found 236 matches
- Sat Jun 25, 2016 8:40 pm
- Forum: Linux
- Topic: NavigationCallback for WebGadget
- Replies: 12
- Views: 8998
- Sat Jun 25, 2016 4:56 pm
- Forum: Linux
- Topic: NavigationCallback for WebGadget
- Replies: 12
- Views: 8998
Re: NavigationCallback for WebGadget
Show Error Log is enabled here. I was not talking about fatal compilation errors but [CRITICAL] warnings like:
I have not found the time yet to try your code, but I'll try to do that this weekend.
Code: Select all
GLib-GObject (CRITICAL): g_object_ref: assertion 'object->ref_count > 0' failed
- Sat Jun 25, 2016 6:52 am
- Forum: Linux
- Topic: NavigationCallback for WebGadget
- Replies: 12
- Views: 8998
Re: NavigationCallback for WebGadget
What PB version 5.4x did you use? With my example shown in this thread (http://www.purebasic.fr/english/viewtop ... 15&t=65951) I did not have any error message using PB 5.41 on Xubuntu 16.04.
- Sun Jun 19, 2016 4:00 pm
- Forum: Linux
- Topic: Ubuntu 16 - dependancies?
- Replies: 25
- Views: 13045
Re: Ubuntu 16 - dependancies?
Ah, there's my confusion. I was thinking Linux setting, not PB setting. Yes, I also have the Library Subsystem field empty. 

- Sun Jun 19, 2016 7:36 am
- Forum: Linux
- Topic: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
- Replies: 54
- Views: 186287
Re: [Tutorial/HowTo] Install PureBasic 4.01 on Ubuntu Linux
...It's not all sweetness and light. I am trying to install Ubuntu 14.04LTS, sharing the PC with Windows XP. Install fails at around the 80% mark without warning. Also, be warned - Ubuntu un-install/re-install can wipe your whole drive, across partitions, without any warning, thus losing anything ...
- Sat Jun 18, 2016 10:42 am
- Forum: Linux
- Topic: Ubuntu 16 - dependancies?
- Replies: 25
- Views: 13045
Re: Ubuntu 16 - dependancies?
Another tip to prevent stability / conflict issues on Linux systems: Don't use backport repositories as they're unsupported.
Xubuntu comes shipped with the gnome-software-center. You may want to use Synaptic instead which gives you more control over the software packages.
To install Synaptic ...
Xubuntu comes shipped with the gnome-software-center. You may want to use Synaptic instead which gives you more control over the software packages.
To install Synaptic ...
- Sat Jun 18, 2016 8:46 am
- Forum: Linux
- Topic: Ubuntu 16 - dependancies?
- Replies: 25
- Views: 13045
Re: Ubuntu 16 - dependancies?
i currently leave the subsystem field empty or whatever the default is (im guessing that it defaults to gtk2 ?)
My question as a nix newbie is: should I just keep doing that, or are there particular reasons i should start using gtk3 from now on instead, or...? thanks
Not sure what you mean by ...
My question as a nix newbie is: should I just keep doing that, or are there particular reasons i should start using gtk3 from now on instead, or...? thanks
Not sure what you mean by ...
- Sat Jun 18, 2016 7:24 am
- Forum: Linux
- Topic: Ubuntu 16 - dependancies?
- Replies: 25
- Views: 13045
Re: Ubuntu 16 - dependancies?
The problem may be with the MATE desktop. I tried LinuxMint 17 (is Ubuntu 14.04) with the MATE desktop and encountered several problems with development tools, not just Purebasic but also Lazarus and Realbasic.
In the purebasic documentation I read that Purebasic still uses gtk2 (may be out-dated ...
In the purebasic documentation I read that Purebasic still uses gtk2 (may be out-dated ...
- Fri Jun 17, 2016 8:23 pm
- Forum: Linux
- Topic: NavigationCallback for WebGadget
- Replies: 12
- Views: 8998
- Fri Jun 17, 2016 8:16 pm
- Forum: Linux
- Topic: webkitgtk-3.0 causes critical error with webgadget
- Replies: 2
- Views: 3786
Re: webkitgtk-3.0 causes critical error with webgadget
Out of curiosity I tried to find out if the webgadget workaround would work on Xubuntu 16.04. So I installed this new OS. Because of the bug in the help window of PB 5.42 I went back to 5.41. So keep in mind that this is the compiler I used.
First I installed libwebkitgtk-1.0 and tried to compile ...
First I installed libwebkitgtk-1.0 and tried to compile ...
- Thu Jun 16, 2016 10:25 am
- Forum: Linux
- Topic: webkitgtk-3.0 causes critical error with webgadget
- Replies: 2
- Views: 3786
Re: webkitgtk-3.0 causes critical error with webgadget
Going back to Debian Wheezy 7 it turns out that the above code compiles just fine, without critical warnings. Apparently a few things have changed in GTK3 with the release of Debian 8. Good old Deb7 

- Tue Jun 14, 2016 9:03 pm
- Forum: Linux
- Topic: NavigationCallback for WebGadget
- Replies: 12
- Views: 8998
Re: NavigationCallback for WebGadget
First of all, on LinuxMint 17 the webkitgtk3 library is in the directory /usr/lib/i386-linux-gnu/
Second, when I run the above code using libwebkitgtk-3.0.so.0 I get the following CRITICAL errors on WaitWindowEvent:
[22:02:53] Waiting for executable to start...
[22:02:53] Executable type: Linux ...
Second, when I run the above code using libwebkitgtk-3.0.so.0 I get the following CRITICAL errors on WaitWindowEvent:
[22:02:53] Waiting for executable to start...
[22:02:53] Executable type: Linux ...
- Tue Jun 14, 2016 8:35 pm
- Forum: Linux
- Topic: NavigationCallback for WebGadget
- Replies: 12
- Views: 8998
Re: NavigationCallback for WebGadget
Currently the navigation callback for the WebGadget
SetGadgetAttribute(#WebGadget, #PB_Web_NavigationCallback, @Callback()) is only implemented for Windows. The following example code demonstrates how this might be done in Linux (tested in Kubuntu 12.04 x64 and OpenSUSE 12.3 x86 in ASCII and ...
SetGadgetAttribute(#WebGadget, #PB_Web_NavigationCallback, @Callback()) is only implemented for Windows. The following example code demonstrates how this might be done in Linux (tested in Kubuntu 12.04 x64 and OpenSUSE 12.3 x86 in ASCII and ...
- Tue Jun 14, 2016 8:17 pm
- Forum: Linux
- Topic: webkitgtk-3.0 causes critical error with webgadget
- Replies: 2
- Views: 3786
webkitgtk-3.0 causes critical error with webgadget
There is the problem in Linux that html text for the WebGadget cannot be changed with SetGadgetText().
There are various examples on the forum to get this done by importing webkitgtk-1.0 routines. On LinuxMint 17 however this causes a "mixing gtk2 and gtk3 symbols" error.
When using the webkitgtk3 ...
There are various examples on the forum to get this done by importing webkitgtk-1.0 routines. On LinuxMint 17 however this causes a "mixing gtk2 and gtk3 symbols" error.
When using the webkitgtk3 ...
- Tue Jun 14, 2016 7:00 am
- Forum: Coding Questions
- Topic: WaitWindowEvent throws Minimize event after Systray event
- Replies: 5
- Views: 2018
Re: WaitWindowEvent throws Minimize event after Systray even
Thanks Rashad.