File: README.md

package info (click to toggle)
ruby-gnome 4.3.4-1.0
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 22,316 kB
  • sloc: ruby: 55,217; ansic: 29,012; xml: 333; sh: 225; cpp: 45; makefile: 42
file content (10 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# Step 2: Populating the window

The original files are located in the following directory.

- https://gitlab.gnome.org/GNOME/gtk/-/blob/main/examples/application2

They are written in C language and use GResource because it is the best way in C language.
But when it comes to Ruby language, GResource is not the best way especially when the resource only includes ui files.
So, the program here uses a string instead of a resource.
If you want to know how to program with GResource in Ruby language, see gtk3/sample/tutorial/exampleapp2 directory.