Yes Shardik,
but before PureBasic 5.40 we didn't need to import the API function, we just used the predefined function with the underscore.
Now, if you have an older ongoing project with API, you will have to import every single API function to make it work
with PureBasic 5.40 and above. This ...
Search found 88 matches
- Wed Aug 03, 2016 9:35 pm
- Forum: Linux
- Topic: 5.40LTS - Using gtk api with gtk2 subsystem does not work
- Replies: 8
- Views: 4624
- Wed Aug 03, 2016 5:16 pm
- Forum: Linux
- Topic: 5.40LTS - Using gtk api with gtk2 subsystem does not work
- Replies: 8
- Views: 4624
Re: 5.40LTS - Using gtk api with gtk2 subsystem does not wor
I do get the same error as Niffo, if I set subsystem "gtk2".
Now, if I use exactly the code Shardik posted, I don't get the error. But there is a slight difference between Niffos and Shardiks code.
Niffo: gtk_window_set_icon_from_file_(WindowID(0), #PB_Compiler_Home + "examples/sources/Data/Drive ...
Now, if I use exactly the code Shardik posted, I don't get the error. But there is a slight difference between Niffos and Shardiks code.
Niffo: gtk_window_set_icon_from_file_(WindowID(0), #PB_Compiler_Home + "examples/sources/Data/Drive ...
- Fri Jul 29, 2016 3:47 pm
- Forum: Linux
- Topic: Error with "g_signal_connect_data_" since PB 5.40
- Replies: 12
- Views: 4644
Re: Error with "g_signal_connect_data_" since PB 5.40
Thank you Shardik,
it does work very well.
Greetings
gerd
it does work very well.
Greetings
gerd
- Wed Jul 27, 2016 4:04 pm
- Forum: Linux
- Topic: Error with "g_signal_connect_data_" since PB 5.40
- Replies: 12
- Views: 4644
Re: Error with "g_signal_connect_data_" since PB 5.40
@Oma
You were right, the function "gdk_pixbuf_render_pixmap_and_mask", is used for
background images of windows. For now I just commented it out until I find a
suitable replacement.
Many thanks for your help
gerd
You were right, the function "gdk_pixbuf_render_pixmap_and_mask", is used for
background images of windows. For now I just commented it out until I find a
suitable replacement.
Many thanks for your help
gerd
- Wed Jul 27, 2016 3:58 pm
- Forum: Linux
- Topic: Error with "g_signal_connect_data_" since PB 5.40
- Replies: 12
- Views: 4644
Re: Error with "g_signal_connect_data_" since PB 5.40
Ok!
After a bit more thinking about the original problem together with the information from Oma
about the exact position of the problem within the code, I inserted an additional line,
which solved the problem. Below I post the modification I had to make:
Here the original portion of the code ...
After a bit more thinking about the original problem together with the information from Oma
about the exact position of the problem within the code, I inserted an additional line,
which solved the problem. Below I post the modification I had to make:
Here the original portion of the code ...
- Wed Jul 27, 2016 12:10 pm
- Forum: Linux
- Topic: Error with "g_signal_connect_data_" since PB 5.40
- Replies: 12
- Views: 4644
Re: Error with "g_signal_connect_data_" since PB 5.40
Unfortunately I cannot compile with 'gtk2' subsystem because I get the following:
[13:12:27] Waiting for executable to start...
[13:12:27] Executable type: Linux - x86 (32bit, Unicode)
[13:12:27] Executable started.
[13:12:27] [WARNING] Main.pb (Line: 1)
[13:12:27] [WARNING] Gtk (ERROR): GTK+ 2.x ...
[13:12:27] Waiting for executable to start...
[13:12:27] Executable type: Linux - x86 (32bit, Unicode)
[13:12:27] Executable started.
[13:12:27] [WARNING] Main.pb (Line: 1)
[13:12:27] [WARNING] Gtk (ERROR): GTK+ 2.x ...
- Tue Jul 26, 2016 4:26 pm
- Forum: Linux
- Topic: Error with "g_signal_connect_data_" since PB 5.40
- Replies: 12
- Views: 4644
Re: Error with "g_signal_connect_data_" since PB 5.40
Hi Oma,
posting an example, that's where the problem starts. My program consists of 7 files with about 25k lines
and I have no clue where this gdk_pixbuf_render_pixmap_and_mask is coming from.
I will try to find some more infos, but this might take a while.
Thanks
gerd
edit: just one question ...
posting an example, that's where the problem starts. My program consists of 7 files with about 25k lines
and I have no clue where this gdk_pixbuf_render_pixmap_and_mask is coming from.
I will try to find some more infos, but this might take a while.
Thanks
gerd
edit: just one question ...
- Mon Jul 25, 2016 9:20 pm
- Forum: Linux
- Topic: Error with "g_signal_connect_data_" since PB 5.40
- Replies: 12
- Views: 4644
Re: Error with "g_signal_connect_data_" since PB 5.40
Thank you Oma,
this problem seems to be solved. Unfortunately now I get the following linker error
purebasic.o: In function `PB_EndFunctions':
(.text+0xa9016): undefined reference to `gdk_pixbuf_render_pixmap_and_mask'
collect2: error: ld returned 1 exit status
and I have no clue, what it ...
this problem seems to be solved. Unfortunately now I get the following linker error
purebasic.o: In function `PB_EndFunctions':
(.text+0xa9016): undefined reference to `gdk_pixbuf_render_pixmap_and_mask'
collect2: error: ld returned 1 exit status
and I have no clue, what it ...
- Mon Jul 25, 2016 6:27 pm
- Forum: Announcement
- Topic: Pure Design, another Form Designer
- Replies: 80
- Views: 47150
Re: Pure Design, another Form Designer
Hi swan,
thank you for your kind words and excuse the delay. But I have been very busy with other things and still I am, unfortunately.
I really would like to continue with PureDesign and add more functionality to it, as well as improve it. But the move to GTK3
put up a great hurdle for me. Some ...
thank you for your kind words and excuse the delay. But I have been very busy with other things and still I am, unfortunately.
I really would like to continue with PureDesign and add more functionality to it, as well as improve it. But the move to GTK3
put up a great hurdle for me. Some ...
- Mon Jul 25, 2016 6:09 pm
- Forum: Linux
- Topic: Error with "g_signal_connect_data_" since PB 5.40
- Replies: 12
- Views: 4644
Error with "g_signal_connect_data_" since PB 5.40
Since PB 5.40 I get the following error from the compiler at line:
g_signal_connect_data_(*Widget, *buffer, Function, user_data.i, 0, 0)
The error: Bad parameter type: a string is expected.
Before, with exactly the same code files, I didn't get this or any other error.
Now, my question is: At ...
g_signal_connect_data_(*Widget, *buffer, Function, user_data.i, 0, 0)
The error: Bad parameter type: a string is expected.
Before, with exactly the same code files, I didn't get this or any other error.
Now, my question is: At ...
- Thu May 26, 2016 9:40 am
- Forum: Linux
- Topic: Error: Bad parameter type
- Replies: 1
- Views: 1439
Error: Bad parameter type
Hello everybody,
I do have a problem with the following line:
g_signal_connect_data_(*Widget, @Signal.s, Function, user_data.i, 0, 0)
Since PureBasic 5.4.0 I get an error on this line. The error says: Bad parameter type: a string is expected.
I do not even know which part causes the error.
With ...
I do have a problem with the following line:
g_signal_connect_data_(*Widget, @Signal.s, Function, user_data.i, 0, 0)
Since PureBasic 5.4.0 I get an error on this line. The error says: Bad parameter type: a string is expected.
I do not even know which part causes the error.
With ...
- Sun Apr 10, 2016 7:04 pm
- Forum: Announcement
- Topic: Pure Design, another Form Designer
- Replies: 80
- Views: 47150
Re: Pure Design, another Form Designer
Hi AL90,
what can I say. Basically YES, but after the last release there were no suggestions for other features.
There was only one comment from Bisonte and ts-soft about the way PureDesign handles the enumeration.
And to change the Enumeration stuff, I need a lot of time, which I didn't have so ...
what can I say. Basically YES, but after the last release there were no suggestions for other features.
There was only one comment from Bisonte and ts-soft about the way PureDesign handles the enumeration.
And to change the Enumeration stuff, I need a lot of time, which I didn't have so ...
- Fri Aug 21, 2015 7:39 pm
- Forum: Announcement
- Topic: Pure Design, another Form Designer
- Replies: 80
- Views: 47150
Re: Pure Design, another Form Designer
@ Bisonte
Sorry, but I cannot even load your project file. I made up one with the same gadgets an it worked.
About the flags: With windows it is not only to check the checkbox, after that you have to click on the text of the check box to set the flag. Unfortunately I do not know how to avoid that ...
Sorry, but I cannot even load your project file. I made up one with the same gadgets an it worked.
About the flags: With windows it is not only to check the checkbox, after that you have to click on the text of the check box to set the flag. Unfortunately I do not know how to avoid that ...
- Thu Aug 20, 2015 12:06 pm
- Forum: Announcement
- Topic: Pure Design, another Form Designer
- Replies: 80
- Views: 47150
Re: Pure Design, another Form Designer
The new version V1.2.0 of PureDesign is available!
New features: see first post
Download Links: see first post
Any comment or suggestion is welcome as always.
Enjoy
gerd
New features: see first post
Download Links: see first post
Any comment or suggestion is welcome as always.
Enjoy
gerd
- Mon Jan 05, 2015 10:57 pm
- Forum: Announcement
- Topic: Pure Design, another Form Designer
- Replies: 80
- Views: 47150
Re: Pure Design, another Form Designer
@thanos
you surprise me again. I started PureDesign because at that time there was no form designer for Linux and I only use Linux, except for a few games for which I need Windows. And now you tell me, that you develop under Windows. I never put much effort on the version for Windows. Sure I tried ...
you surprise me again. I started PureDesign because at that time there was no form designer for Linux and I only use Linux, except for a few games for which I need Windows. And now you tell me, that you develop under Windows. I never put much effort on the version for Windows. Sure I tried ...