Overall, wxWidgets enables a developer to write and compile the same GUI code on several platforms with minimal or no code changes. The underlying GUI library on Linux is GTK, while Windows calls the Win32 API, and Mac OS falls back to Cocoa. The way wxWigets works is that it calls an operating system’s native GUI library to draw an application’s user interface. About wxWidgetsĬodeblocks uses the cross-platform wxWidgets library to draw its GUI on your operating system. However, feel free to continue reading if you are curious about your current codeblocks installation and how the GUI is drawn on Linux. If you don’t have codeblocks installed, you can skip this section as we shall be installing it via the codeblocks-svn repository in the next section. This section will detail how to inspect your current codeblocks installation and view its dependencies on Arch Linux. Since I’m on a Lenovo laptop with a Windows key, our keybinding will be defined as W-c. The second method will detail how to create an openbox keybinding. bashrc called cb that can be invoked inside a terminal. The first method will involve defining an alias inside. I will also provide a couple of methods for efficiently launching codeblocks with the applied GTK2 theme. This way, your system will still be using GTK3 as its GUI back-end, and only codeblocks will know about and use the saved GTK2 theme. The article will then walk through the process of downloading a custom GTK2 theme and explicitly telling codeblocks to apply this theme when launching the IDE. With this in mind, we shall use the yay package manager to download and build the codeblocks SVN repository on Arch Linux, which will produce a version of codeblocks that draws its interface with GTK2. Luckily, the codeblocks SVN repository meets this requirement. This article will discuss how to install a codeblocks version that relies solely on the GTK2 library such that if you were to inspect its dependencies, all GTK packages will be labelled as version 2. A GTK3 theme applied to codeblocks being drawn by GTK2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |