How to get the GTK version information in a GtkSharp application (C#)? - gtk

I have searched the web and found Python code Gtk.MAJOR_VERSION, Vala code Gtk.get_major_version() but there seems to be nothing similar in GtkSharp.

Related

How to properly configure dap-mode to debug c/c++?

I am new to emacs. Recently, I saw on the forum that the C language can be debugged using dap-mode, but when I configure dap-mode according to the official tutorial, there are always various errors at runtime. Would like to ask if anyone has successfully configured dap-mode so that the C language can be debugged. If so, can you post the full configuration for me to study,thanks

what makes my code snippet not working at all in vscode?

above is what I saw in tutorial video...it says many snippets so developer can use it
but as to my vscode...I can't select any function ! even on extension I installed many unity code snippets...
This error occurred to me and I tried to install a lot of C# and Unity plugins, but it didn't work until I completely deleted the vcode and re-downloaded it, and I downloaded one c# extensions and one Unity extensions
But the most important extension is c#.

Visual Studio Code does not see changes in F# Solution

Currently I am trying to use Visual Studio Code with Ionide to build a F# Solution. To describe my problem, i first describe what i have done, and what works.
I created a solution with two Projects. One Project is a Queue that contains a F# library. Another project is Queue.Test that is a console application that uses the Queue library, and should contain the Tests for the Queue library.
I'm using .Net6 and created the solution and Project with the dotnet cli tool.
In general, i can build the project with dotnet and i also can use everything in Visual Studio Code. I load the Folder that contains both projects, and Visual Studio Code loads the library.
I am able to edit the Library and my Console application. In my Console application i also can access the Queue and so on. Autocompletion works, and so on.
But, there is one problem. When i add a new function to my library, let's say Queue.help then in my Console application, i cannot see that function. It doesn't show in autocomplete, and when I write code that uses that function i get a compiler error telling me that function doesn't exists.
I can Build/Rebuild from VS Code or from CLI but the problem goes not away.
The only way Ionide starts to see the new function is by building the library AND restarting VS Code. As long i don't restart, it seems to not update the generated dll (i guess).
This is sure annoying, as i don't want to reload/restart VSCode everytime I add a new function to my library.
So my question: How i can I fix this?
What i want is to be able to change my library, and at the same time write tests in the other project and get full Code autocompletion.
Does somebody else have the same problem, or should I change my workflow?
What can i do, to debug this problem on my own?
Some tips?
This issue is fixed by the recent version of Ionide 5.10.1

Debugging problems Fortran projects NetBeans 7.3.1. using Cygwin

I'm having problems debugging a Fortran project in Netbeans 7.3.1. using Cygwin64. I have all the right compilers enabled in the build tab and building goes fine as well. I tried to do the installation verification as mentioned here. Debugging the sample as discussed at this page shows no debugging problems, so I'm not sure what to do.
The error I get is the following:
Error creating process /cygdrive/d/Ellen/EXT/EXT/dist/Debug/Cygwin_4.x-Windows/ext,(error 193).
Hope any of you could get me on the right track :), thanks!

Eclipse Pulsar, JavaME, and Hello World

I tried to post this over on the Eclipse Pulsar site, but it doesn't seem to want to give me access, so I thought I would try over here.
All I'm trying to do create a basic "hello world" application to test on multiple mobile phones as a proof of concept. I downloaded Eclipse Pulsar and the Samsung SDK (though I have this problem with any SDK) and I created a new MIDlet Project and ME MIDlet and selected the 'hello world' wizard and the resulting code produces these errors:
"the import org.eclipse cannot be resolved" on all of the imports.
I know I'm missing something basic, but I would have expected org.eclipse to already be on the build path. I tried adding eswt-converged.jar as and external JAR to the Libraries on the build path which fixes the import errors, but this seems like a hack and causes other problems.
So my question is: What step have I missed in creating the Project/MIDlet and is there a how-to online somewhere that gives examples on this stuff?
Thanks!
I think you are trying to create a "new eSWT Midlet". eSWT is a new UI toolkit that is not supported by most SDKs. Try using one of the other templates, something like Splash Midlet Template should be simple enough.