Remmina - The GTK+ Remote Desktop Client  v1.4.33
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_pref_dialog.h
Go to the documentation of this file.
1 /*
2  * Remmina - The GTK+ Remote Desktop Client
3  * Copyright (C) 2009-2011 Vic Lee
4  * Copyright (C) 2017-2022 Antenore Gatta, Giovanni Panozzo
5  * Copyright (C) 2022-2023 Antenore Gatta, Giovanni Panozzo, Hiroyuki Tanaka
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  *
22  * In addition, as a special exception, the copyright holders give
23  * permission to link the code of portions of this program with the
24  * OpenSSL library under certain conditions as described in each
25  * individual source file, and distribute linked combinations
26  * including the two.
27  * You must obey the GNU General Public License in all respects
28  * for all of the code used other than OpenSSL. * If you modify
29  * file(s) with this exception, you may extend this exception to your
30  * version of the file(s), but you are not obligated to do so. * If you
31  * do not wish to do so, delete this exception statement from your
32  * version. * If you delete this exception statement from all source
33  * files in the program, then also delete it here.
34  *
35  */
36 
37 #pragma once
38 #include <gtk/gtk.h>
39 
40 /*
41  * Remmina Preferences Dialog
42  */
43 
44 typedef struct _RemminaPrefDialogPriv {
45  GtkWidget *resolutions_list;
47 
48 typedef struct _RemminaPrefDialog {
49  GtkBuilder * builder;
50  GtkWidget * dialog;
51  GtkNotebook * notebook_preferences;
52 
62  GtkEntry * unlock_timeout;
66  GtkSwitch * switch_security_audit;
89  GtkEntry * entry_grab_color;
92 
96  GtkCheckButton * checkbutton_dark_theme;
98 
113 
115  GtkFontButton * fontbutton_terminal_font;
116  GtkSwitch * switch_terminal_bold;
118  GtkColorButton * colorbutton_foreground;
120  GtkColorButton * colorbutton_background;
122  GtkButton * button_keyboard_copy;
132  GtkColorButton * colorbutton_cursor;
134  GtkColorButton * colorbutton_highlight;
136  GtkColorButton * colorbutton_colorBD;
137  GtkColorButton * colorbutton_color0;
138  GtkColorButton * colorbutton_color1;
139  GtkColorButton * colorbutton_color2;
140  GtkColorButton * colorbutton_color3;
141  GtkColorButton * colorbutton_color4;
142  GtkColorButton * colorbutton_color5;
143  GtkColorButton * colorbutton_color6;
144  GtkColorButton * colorbutton_color7;
145  GtkColorButton * colorbutton_color8;
146  GtkColorButton * colorbutton_color9;
147  GtkColorButton * colorbutton_color10;
148  GtkColorButton * colorbutton_color11;
149  GtkColorButton * colorbutton_color12;
150  GtkColorButton * colorbutton_color13;
151  GtkColorButton * colorbutton_color14;
152  GtkColorButton * colorbutton_color15;
153  GtkFileChooser * button_term_cs;
154 
157 
158 enum {
162 };
163 
164 G_BEGIN_DECLS
165 
166 /* RemminaPrefDialog instance */
167 GtkWidget *remmina_pref_dialog_new(gint default_tab, GtkWindow *parent);
168 /* Get the current PrefDialog or NULL if not initialized */
169 GtkWidget *remmina_pref_dialog_get_dialog(void);
170 void remmina_prefdiag_unlock_repwd_on_changed(GtkEditable *editable, RemminaPrefDialog *dialog);
171 void remmina_pref_dialog_on_action_close(GSimpleAction *action, GVariant *param, gpointer data);
172 
173 G_END_DECLS
GtkButton * button_keyboard_select_all
GtkColorButton * colorbutton_color2
GtkColorButton * colorbutton_color14
struct _RemminaPrefDialog RemminaPrefDialog
GtkColorButton * colorbutton_highlight_foreground
GtkButton * button_keyboard_grab_keyboard
GtkComboBox * comboboxtext_appearance_fullscreen_toolbar_visibility
GtkWidget * remmina_pref_dialog_get_dialog(void)
GtkButton * button_keyboard_paste
GtkButton * button_options_recent_items_clear
GtkEntry * entry_options_screenshot_name
GtkSwitch * switch_security_audit
GtkEntry * entry_options_file_name
GtkCheckButton * checkbutton_appearance_fullscreen_on_auto
GtkLabel * label_terminal_foreground
GtkSwitch * switch_options_confirm_close
GtkButton * button_keyboard_fullscreen
GtkCheckButton * checkbutton_options_save_settings
GtkButton * button_keyboard_toolbar
GtkButton * button_keyboard_disconnect
GtkEntry * entry_options_recent_items
GtkEntry * entry_options_ssh_tcp_usrtimeout
struct _RemminaPrefDialogPriv RemminaPrefDialogPriv
GtkSwitch * switch_terminal_bold
GtkCheckButton * checkbutton_dark_theme
GtkColorButton * colorbutton_color6
GtkLabel * label_terminal_normal_colors
G_BEGIN_DECLS GtkWidget * remmina_pref_dialog_new(gint default_tab, GtkWindow *parent)
GtkSwitch * switch_security_use_primary_password
GtkSwitch * switch_options_remember_last_view_mode
GtkFontButton * fontbutton_terminal_font
GtkColorButton * colorbutton_color3
GtkColorButton * colorbutton_color15
GtkCheckButton * checkbutton_appearance_hide_searchbar
GtkCheckButton * checkbutton_appearance_hide_toolbar
GtkSwitch * switch_security_lock_edit
GtkButton * button_keyboard_copy
GtkEntry * entry_options_ssh_tcp_keepintvl
GtkColorButton * colorbutton_cursor_foreground
GtkSwitch * switch_security_lock_view_passwords
GtkEntry * entry_options_ssh_port
GtkFileChooser * filechooserbutton_options_screenshots_path
GtkEntry * entry_options_ssh_tcp_keepidle
GtkEntry * entry_scrollback_lines
GtkColorButton * colorbutton_color4
GtkButton * button_keyboard_search_text
GtkButton * button_keyboard_screenshot
GtkButton * button_keyboard_viewonly
GtkCheckButton * checkbutton_applet_new_connection_on_top
GtkSwitch * switch_terminal_font_system
GtkButton * button_keyboard_clipboard
GtkColorButton * colorbutton_color13
GtkSwitch * switch_security_trust_all
GtkColorButton * colorbutton_color5
GtkEntry * entry_options_ssh_tcp_keepcnt
GtkNotebook * notebook_preferences
GtkSwitch * switch_security_lock_connect
GtkComboBox * comboboxtext_security_enc_method
GtkButton * button_keyboard_decrease_font
GtkButton * button_keyboard_switch_tab_left
GtkCheckButton * checkbutton_applet_start_in_tray
GtkButton * button_keyboard_auto_fit
GtkLabel * label_terminal_background
GtkFileChooser * button_term_cs
GtkColorButton * colorbutton_color0
GtkComboBox * comboboxtext_options_scale_quality
GtkEntry * entry_options_scroll
GtkCheckButton * checkbutton_appearance_show_tabs
GtkColorButton * colorbutton_foreground
GtkColorButton * colorbutton_color11
GtkButton * button_keyboard_host_key
GtkColorButton * colorbutton_highlight
GtkComboBox * comboboxtext_appearance_tab_interface
GtkCheckButton * checkbutton_appearance_show_notes
GtkCheckButton * checkbutton_applet_disable_tray
GtkComboBox * comboboxtext_options_ssh_loglevel
GtkLabel * label_terminal_cursor_color
void remmina_pref_dialog_on_action_close(GSimpleAction *action, GVariant *param, gpointer data)
GtkLabel * label_terminal_bold_color
GtkButton * button_options_resolutions
GtkButton * button_keyboard_multimon
void remmina_prefdiag_unlock_repwd_on_changed(GtkEditable *editable, RemminaPrefDialog *dialog)
GtkColorButton * colorbutton_colorBD
GtkComboBox * comboboxtext_options_double_click
GtkButton * button_keyboard_minimize
GtkCheckButton * checkbutton_options_ssh_parseconfig
GtkSwitch * switch_options_deny_screenshot_clipboard
GtkCheckButton * checkbutton_applet_hide_totals
GtkColorButton * colorbutton_color10
GtkButton * button_keyboard_switch_tab_right
GtkComboBox * comboboxtext_appearance_view_mode
GtkButton * button_keyboard_increase_font
GtkButton * button_keyboard_scaled
GtkColorButton * colorbutton_color8
GtkColorButton * colorbutton_background
GtkColorButton * colorbutton_cursor
GtkColorButton * colorbutton_color7
RemminaPrefDialogPriv * priv
GtkColorButton * colorbutton_color9
GtkLabel * label_terminal_bright_colors
GtkSwitch * switch_appearance_grab_color
GtkColorButton * colorbutton_color12
GtkFileChooser * filechooserbutton_options_datadir_path
GtkColorButton * colorbutton_color1