Add template usage information for icons #287
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/java-gi!287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/improve-icon-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains updates to the
Using iconschapters of the getting started tutorial.It adds instructions to clarify how to use custom icons within a template.
It also fixes a typo.
A couple small things, nothing major.
@ -61,15 +61,19 @@ Then, we create the GTK XML resource file in our Java resources folder (i.e `src```xmltypo: enabled
@ -106,7 +110,26 @@ We now add a gradle task to ou Gradle build script to compile the GTK resourcesWe can now use the icon using `Image.fromResource` and the string name of the icon, which is this `prefix` of the icon, concatenated with its `alias`:Please indent the dots (so they are below
<property)Unnecessary newline
I made the necessary changes. Thanks for the review.