@@ -12,6 +12,94 @@ Based on libappindicator3-1 (12.10.1+20.10.20200706.1-0ubuntu1)
1212Java 19 (preview)
1313- due to the use of the new Foreign Function & Memory API
1414
15+ # Usage
16+ The bindings come in two flavors:
17+
18+ ## Dependency including * all bindings* related to libappindicator:
19+ - gtk-3.0
20+ - glib-2.0
21+ - cairo
22+ - gdk-pixbuf-2.0
23+ - pango-1.0
24+ - atk-1.0
25+ - harfbuzz
26+ ``` java
27+ < dependency>
28+ < groupId> org. purejava< / groupId>
29+ < artifactId> libappindicator- gtk3- full- java< / artifactId>
30+ < version> 1.0 . 0 - SNAPSHOT</ version>
31+ < / dependency>
32+ ```
33+
34+ As the according jar has a size of ~ 9,6M, I decided to provide a ** reduced variant of the bindings** , see below.
35+ ## Dependency for bindings that inlude ** the following methods and class** :
36+ - app_indicator_build_menu_from_desktop
37+ - app_indicator_get_category
38+ - app_indicator_get_attention_icon
39+ - app_indicator_get_id
40+ - app_indicator_get_icon
41+ - app_indicator_get_label
42+ - app_indicator_get_menu
43+ - app_indicator_get_ordering_index
44+ - app_indicator_get_status
45+ - app_indicator_get_title
46+ - app_indicator_new
47+ - app_indicator_set_attention_icon
48+ - app_indicator_set_icon
49+ - app_indicator_set_label
50+ - app_indicator_set_menu
51+ - app_indicator_set_ordering_index
52+ - app_indicator_set_status
53+ - app_indicator_set_title
54+ - g_error_free
55+ - g_object_set_data_full
56+ - g_signal_connect_object
57+ - gtk_action_get_name
58+ - gtk_action_group_new
59+ - gtk_action_group_add_action
60+ - gtk_action_group_add_actions
61+ - gtk_container_add
62+ - gtk_init
63+ - gtk_main
64+ - gtk_menu_item_new
65+ - gtk_menu_item_set_label
66+ - gtk_menu_item_set_submenu
67+ - gtk_menu_new
68+ - gtk_menu_shell_append
69+ - gtk_message_dialog_new
70+ - gtk_scrolled_window_new
71+ - gtk_scrolled_window_set_policy
72+ - gtk_scrolled_window_set_shadow_type
73+ - gtk_statusbar_new
74+ - gtk_table_new
75+ - gtk_table_attach
76+ - gtk_text_view_new
77+ - gtk_widget_destroy
78+ - gtk_widget_destroyed
79+ - gtk_widget_grab_focus
80+ - gtk_widget_show
81+ - gtk_widget_show_all
82+ - gtk_window_add_accel_group
83+ - gtk_window_new
84+ - gtk_window_set_default_size
85+ - gtk_window_set_icon
86+ - gtk_window_set_icon_name
87+ - gtk_window_set_title
88+ - gtk_ui_manager_add_ui
89+ - gtk_ui_manager_add_ui_from_string
90+ - gtk_ui_manager_get_accel_group
91+ - gtk_ui_manager_get_widget
92+ - gtk_ui_manager_insert_action_group
93+ - gtk_ui_manager_new
94+ - GCallback
95+ ``` java
96+ < dependency>
97+ < groupId> org. purejava< / groupId>
98+ < artifactId> libappindicator- gtk3- minimal- java< / artifactId>
99+ < version> 1.0 . 0 - SNAPSHOT</ version>
100+ < / dependency>
101+ ```
102+
15103# Copyright
16104Copyright (C) 2023 Ralph Plawetzki
17105
0 commit comments