Home
last modified time | relevance | path

Searched refs:chooser_type (Results 1 – 23 of 23) sorted by relevance

/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/src/screencast/
H A Dscreencast_common.c79 enum xdpw_chooser_types get_chooser_type(const char *chooser_type) { in get_chooser_type() argument
80 if (!chooser_type || strcmp(chooser_type, "default") == 0) { in get_chooser_type()
82 } else if (strcmp(chooser_type, "none") == 0) { in get_chooser_type()
84 } else if (strcmp(chooser_type, "simple") == 0) { in get_chooser_type()
86 } else if (strcmp(chooser_type, "dmenu") == 0) { in get_chooser_type()
89 fprintf(stderr, "Could not understand chooser type %s\n", chooser_type); in get_chooser_type()
93 const char *chooser_type_str(enum xdpw_chooser_types chooser_type) { in chooser_type_str() argument
94 switch (chooser_type) { in chooser_type_str()
104 fprintf(stderr, "Could not find chooser type %d\n", chooser_type); in chooser_type_str()
H A Dwlr_screencast.c471 switch (ctx->state->config->screencast_conf.chooser_type) { in xdpw_wlr_output_chooser()
488 ctx->state->config->screencast_conf.chooser_type, in xdpw_wlr_output_chooser()
/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/src/core/
H A Dconfig.c18 …rint(loglevel, "config: chooser_type: %s", chooser_type_str(config->screencast_conf.chooser_type)); in print_config()
62 char *chooser_type = NULL; in handle_ini_screencast() local
63 parse_string(&chooser_type, value); in handle_ini_screencast()
64 screencast_conf->chooser_type = get_chooser_type(chooser_type); in handle_ini_screencast()
65 free(chooser_type); in handle_ini_screencast()
87 config->screencast_conf.chooser_type = XDPW_CHOOSER_DEFAULT; in default_config()
/dports/net-p2p/py-nicotine-plus/nicotine-plus-3.2.0/pynicotine/gtkgui/widgets/
H A Dfilechooser.py225 def __init__(self, button, parent, chooser_type="file", selected_function=None): argument
229 self.chooser_type = chooser_type
237 if chooser_type == "folder":
240 elif chooser_type == "image":
274 if self.chooser_type == "folder":
288 if self.chooser_type == "image":
/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/
H A Dxdg-desktop-portal-wlr.5.scd31 chooser_type=simple
42 This option is used with **chooser_type** = none. The list of available outputs
63 **chooser_type** = _type_
84 Supported types of choosers via the **chooser_type** option:
/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/include/
H A Dscreencast_common.h129 enum xdpw_chooser_types get_chooser_type(const char *chooser_type);
130 const char *chooser_type_str(enum xdpw_chooser_types chooser_type);
H A Dconfig.h13 enum xdpw_chooser_types chooser_type; member
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/webui/settings/
H A Dsite_settings_helper.cc799 for (const auto& chooser_type : kChooserTypeGroupNames) { in ChooserTypeFromGroupName() local
800 if (chooser_type.name == name) in ChooserTypeFromGroupName()
801 return &chooser_type; in ChooserTypeFromGroupName()
812 const std::string& chooser_type, in CreateChooserExceptionObject() argument
822 exception.SetStringKey(kChooserType, chooser_type); in CreateChooserExceptionObject()
865 const ChooserTypeNameEntry& chooser_type) { in GetChooserExceptionListFromProfile() argument
868 ContentSettingsTypeFromGroupName(std::string(chooser_type.name)); in GetChooserExceptionListFromProfile()
875 chooser_type.get_context(profile); in GetChooserExceptionListFromProfile()
885 chooser_type.get_context(incognito_profile); in GetChooserExceptionListFromProfile()
926 name, object, chooser_type.name, chooser_exception_details)); in GetChooserExceptionListFromProfile()
H A Dsite_settings_helper.h211 const std::string& chooser_type,
217 const ChooserTypeNameEntry& chooser_type);
H A Dsite_settings_handler.cc967 const site_settings::ChooserTypeNameEntry* chooser_type = in HandleGetChooserExceptionList() local
969 CHECK(chooser_type); in HandleGetChooserExceptionList()
972 profile_, *chooser_type); in HandleGetChooserExceptionList()
1222 const site_settings::ChooserTypeNameEntry* chooser_type = in HandleResetChooserExceptionForSite() local
1224 CHECK(chooser_type); in HandleResetChooserExceptionForSite()
1237 chooser_type->get_context(profile_); in HandleResetChooserExceptionForSite()
H A Dsite_settings_helper_unittest.cc487 const std::string& chooser_type, in ExpectValidChooserExceptionObject() argument
493 EXPECT_EQ(chooser_type_value->GetString(), chooser_type); in ExpectValidChooserExceptionObject()
H A Dsite_settings_handler_unittest.cc2051 void ValidateChooserExceptionList(const std::string& chooser_type, in ValidateChooserExceptionList() argument
2055 args.AppendString(chooser_type); in ValidateChooserExceptionList()
2077 const std::string& chooser_type, in GetChooserExceptionListFromWebUiCallData() argument
2079 ValidateChooserExceptionList(chooser_type, expected_total_calls); in GetChooserExceptionListFromWebUiCallData()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/
H A Dsite_settings_helper.cc734 for (const auto& chooser_type : kChooserTypeGroupNames) { in ChooserTypeFromGroupName() local
735 if (chooser_type.name == name) in ChooserTypeFromGroupName()
736 return &chooser_type; in ChooserTypeFromGroupName()
747 const std::string& chooser_type, in CreateChooserExceptionObject() argument
757 exception.SetStringKey(kChooserType, chooser_type); in CreateChooserExceptionObject()
800 const ChooserTypeNameEntry& chooser_type) { in GetChooserExceptionListFromProfile() argument
803 ContentSettingsTypeFromGroupName(std::string(chooser_type.name)); in GetChooserExceptionListFromProfile()
810 chooser_type.get_context(profile); in GetChooserExceptionListFromProfile()
820 chooser_type.get_context(incognito_profile); in GetChooserExceptionListFromProfile()
857 name, object, chooser_type.name, chooser_exception_details)); in GetChooserExceptionListFromProfile()
H A Dsite_settings_helper.h223 const std::string& chooser_type,
229 const ChooserTypeNameEntry& chooser_type);
H A Dsite_settings_helper_unittest.cc255 const std::string& chooser_type, in ExpectValidChooserExceptionObject() argument
261 EXPECT_EQ(chooser_type_value->GetString(), chooser_type); in ExpectValidChooserExceptionObject()
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/
H A Dgtkrecentchooser.c58 static GType chooser_type = 0; in gtk_recent_chooser_get_type() local
60 if (!chooser_type) in gtk_recent_chooser_get_type()
62 chooser_type = g_type_register_static_simple (G_TYPE_INTERFACE, in gtk_recent_chooser_get_type()
68 g_type_interface_add_prerequisite (chooser_type, G_TYPE_OBJECT); in gtk_recent_chooser_get_type()
71 return chooser_type; in gtk_recent_chooser_get_type()
/dports/x11/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0/contrib/
H A Dconfig.sample5 chooser_type=simple
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/file_system_access/
H A Dglobal_native_file_system.cc168 mojom::blink::ChooseFileSystemEntryType chooser_type, in ShowFilePickerImpl() argument
185 chooser_type, std::move(accepts), accept_all, in ShowFilePickerImpl()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/settings/
H A Dsite_settings_handler.cc1014 const site_settings::ChooserTypeNameEntry* chooser_type = in HandleGetChooserExceptionList() local
1016 CHECK(chooser_type); in HandleGetChooserExceptionList()
1019 profile_, *chooser_type); in HandleGetChooserExceptionList()
1278 const site_settings::ChooserTypeNameEntry* chooser_type = in HandleResetChooserExceptionForSite() local
1280 CHECK(chooser_type); in HandleResetChooserExceptionForSite()
1293 chooser_type->get_context(profile_); in HandleResetChooserExceptionForSite()
H A Dsite_settings_handler_unittest.cc1856 void ValidateChooserExceptionList(const std::string& chooser_type, in ValidateChooserExceptionList() argument
1860 args.AppendString(chooser_type); in ValidateChooserExceptionList()
1882 const std::string& chooser_type, in GetChooserExceptionListFromWebUiCallData() argument
1884 ValidateChooserExceptionList(chooser_type, expected_total_calls); in GetChooserExceptionListFromWebUiCallData()
/dports/science/afni/afni-AFNI_21.3.16/src/
H A Dafni_plugin.c1563 ow->chooser_type[ib] = OP_CHOOSER_NONE ; in PLUG_setup_widgets()
1679 ow->chooser_type[ib] = OP_CHOOSER_NONE ; in PLUG_setup_widgets()
1714 ow->chooser_type[ib] = OP_CHOOSER_COLORMENU ; in PLUG_setup_widgets()
1755 ow->chooser_type[ib] = (use_optmenu) ? OP_CHOOSER_OPTMENU in PLUG_setup_widgets()
1821 ow->chooser_type[ib] = (use_optmenu) ? OP_CHOOSER_OPTMENU in PLUG_setup_widgets()
1879 ow->chooser_type[ib] = OP_CHOOSER_STRING ; in PLUG_setup_widgets()
1960 ow->chooser_type[ib] = OP_CHOOSER_DSET ; in PLUG_setup_widgets()
2025 ow->chooser_type[ib] = OP_CHOOSER_TIMESERIES ; in PLUG_setup_widgets()
2090 ow->chooser_type[ib] = OP_CHOOSER_TCSV ; in PLUG_setup_widgets()
H A Dafni_plugin.h317 int chooser_type[PLUGIN_MAX_SUBVALUES] ; member
/dports/multimedia/lives/lives-3.2.0/src/
H A Dliblives.hpp537 …livesString chooseFileWithPreview(livesString dirname, lives_filechooser_t chooser_type, livesStri…