This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** tooltip.c | |
* | |
* COMPILE | |
* | |
* gcc `pkg-config --cflags gtk4` -o tooltip tooltip.c `pkg-config --libs gtk4` | |
* | |
* RUN | |
* | |
* ./tooltip | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<interface> | |
<object id="window" class="GtkWindow"> | |
<property name="title">Grid</property> | |
<child> | |
<object id="grid" class="GtkGrid"> | |
<child> | |
<object id="button1" class="GtkButton"> | |
<property name="label">Button1</property> | |
<layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** example-3.c | |
* | |
* COMPILE | |
* | |
* gcc `pkg-config --cflags gtk4` -o example-3 example-3.c `pkg-config --libs gtk4` | |
* | |
* EXAMPLE | |
* | |
* ./example-3 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** example-2.c | |
* | |
* COMPILE | |
* | |
* gcc `pkg-config --cflags gtk4` -o example-2 example-2.c `pkg-config --libs gtk4` | |
* | |
* EXAMPLE | |
* | |
* ./example-2 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** example-1.c | |
* | |
* COMPILE | |
* | |
* gcc `pkg-config --cflags gtk4` -o example-1 example-1.c `pkg-config --libs gtk4` | |
* | |
* EXAMPLE | |
* | |
* ./example-1 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** example-0.c | |
* | |
* COMPILE | |
* | |
* gcc `pkg-config --cflags gtk4` -o example-0 example-0.c `pkg-config --libs gtk4` | |
* | |
* EXAMPLE | |
* | |
* ./example-0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** import_file.c | |
* | |
* Import a file to be used by threshold.c and friends. | |
* | |
* COMPILE | |
* gcc -Wall -o import_file import_file.c `pkg-config gtk+-3.0 --libs --cflags` | |
* | |
* EXAMPLE | |
* ./import_file source.png | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* copy.c | |
* | |
* Compile with: | |
* | |
* gcc copy.c -o copy -Wall -g | |
* | |
* Defines function copy: | |
* | |
* Copy a source file to a destination file. If the destination file already | |
* exists, this clobbers it. If the destination file does not exist, it is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** file_chooser_dialog.c | |
* | |
* Open a file chooser with GTK 3. | |
* | |
* COMPILE | |
* gcc -Wall -o file_chooser_dialog file_chooser_dialog.c `pkg-config gtk+-3.0 --libs --cflags` | |
* | |
* EXAMPLE | |
* ./file_chooser_dialog | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** file_chooser_native.c | |
* | |
* Open a native file chooser with GTK 3 if one is available. | |
* | |
* COMPILE | |
* gcc -Wall -o file_chooser_native file_chooser_native.c `pkg-config gtk+-3.0 --libs --cflags` | |
* | |
* EXAMPLE | |
* ./file_chooser_native | |
*/ |