Home
last modified time | relevance | path

Searched refs:mode_switch (Results 1 – 25 of 117) sorted by relevance

12345

/dports/x11-toolkits/granite/granite-6.2.0/lib/Widgets/
H A DModeSwitch.vala14 * mode_switch.primary_icon_tooltip_text = _("Light background");
15 * mode_switch.secondary_icon_tooltip_text = _("Dark background");
91 var mode_switch = new Gtk.Switch ();
92 mode_switch.valign = Gtk.Align.CENTER;
93 mode_switch.get_style_context ().add_class (Granite.STYLE_CLASS_MODE_SWITCH);
104 add (mode_switch);
116 mode_switch.active = !active;
118 mode_switch.active = active;
122 mode_switch.notify["active"].connect (() => {
124 active = !mode_switch.active;
[all …]
/dports/databases/sequeler/sequeler-0.8.2/src/Layouts/
H A DHeaderBar.vala29 private Granite.ModeSwitch mode_switch;
88mode_switch = new Granite.ModeSwitch.from_icon_name ("display-brightness-symbolic", "weather-clear…
89 mode_switch.primary_icon_tooltip_text = _("Light background");
90 mode_switch.secondary_icon_tooltip_text = _("Dark background");
91 mode_switch.valign = Gtk.Align.CENTER;
92 mode_switch.bind_property ("active", settings, "dark-theme");
93 mode_switch.notify.connect (() => {
98 mode_switch.active = true;
144 pack_end (mode_switch);
/dports/x11-toolkits/granite/granite-6.2.0/demo/
H A DGraniteDemo.vala65 var mode_switch = new Granite.ModeSwitch.from_icon_name (
69 mode_switch.primary_icon_tooltip_text = ("Light background");
70 mode_switch.secondary_icon_tooltip_text = ("Dark background");
71 mode_switch.valign = Gtk.Align.CENTER;
72mode_switch.bind_property ("active", gtk_settings, "gtk-application-prefer-dark-theme", GLib.Bindi…
80 headerbar.pack_end (mode_switch);
/dports/x11-toolkits/granite/granite-6.2.0/demo/Views/
H A DModeButtonView.vala28 var mode_switch = new Granite.ModeSwitch.from_icon_name (
32 mode_switch.primary_icon_tooltip_text = ("Light background");
33 mode_switch.secondary_icon_tooltip_text = ("Dark background");
34 mode_switch.valign = Gtk.Align.CENTER;
77 add (mode_switch);
/dports/deskutils/lookbook/lookbook-1.2.0/src/
H A DMainWindow.vala42 …var mode_switch = new Granite.ModeSwitch.from_icon_name ("display-brightness-symbolic", "weather-c…
43 mode_switch.primary_icon_tooltip_text = _("Light background");
44 mode_switch.secondary_icon_tooltip_text = _("Dark background");
45 mode_switch.valign = Gtk.Align.CENTER;
46 mode_switch.bind_property ("active", gtk_settings, "gtk_application_prefer_dark_theme");
48 …LookBook.settings.bind ("prefer-dark-style", mode_switch, "active", GLib.SettingsBindFlags.DEFAULT…
73 headerbar.pack_end (mode_switch);
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/platform/surface/
H A Dsurface_dtx.c167 struct input_dev *mode_switch; member
788 input_sync(ddev->mode_switch); in sdtx_device_mode_workfn()
857 input_sync(ddev->mode_switch); in __sdtx_device_state_update_mode()
1004 ddev->mode_switch = input_allocate_device(); in sdtx_device_init()
1005 if (!ddev->mode_switch) in sdtx_device_init()
1010 ddev->mode_switch->id.bustype = BUS_HOST; in sdtx_device_init()
1011 ddev->mode_switch->dev.parent = ddev->dev; in sdtx_device_init()
1017 status = input_register_device(ddev->mode_switch); in sdtx_device_init()
1019 input_free_device(ddev->mode_switch); in sdtx_device_init()
1044 input_unregister_device(ddev->mode_switch); in sdtx_device_init()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/platform/surface/
H A Dsurface_dtx.c167 struct input_dev *mode_switch; member
788 input_sync(ddev->mode_switch); in sdtx_device_mode_workfn()
857 input_sync(ddev->mode_switch); in __sdtx_device_state_update_mode()
1004 ddev->mode_switch = input_allocate_device(); in sdtx_device_init()
1005 if (!ddev->mode_switch) in sdtx_device_init()
1010 ddev->mode_switch->id.bustype = BUS_HOST; in sdtx_device_init()
1011 ddev->mode_switch->dev.parent = ddev->dev; in sdtx_device_init()
1017 status = input_register_device(ddev->mode_switch); in sdtx_device_init()
1019 input_free_device(ddev->mode_switch); in sdtx_device_init()
1044 input_unregister_device(ddev->mode_switch); in sdtx_device_init()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/platform/surface/
H A Dsurface_dtx.c167 struct input_dev *mode_switch; member
788 input_sync(ddev->mode_switch); in sdtx_device_mode_workfn()
857 input_sync(ddev->mode_switch); in __sdtx_device_state_update_mode()
1004 ddev->mode_switch = input_allocate_device(); in sdtx_device_init()
1005 if (!ddev->mode_switch) in sdtx_device_init()
1010 ddev->mode_switch->id.bustype = BUS_HOST; in sdtx_device_init()
1011 ddev->mode_switch->dev.parent = ddev->dev; in sdtx_device_init()
1017 status = input_register_device(ddev->mode_switch); in sdtx_device_init()
1019 input_free_device(ddev->mode_switch); in sdtx_device_init()
1044 input_unregister_device(ddev->mode_switch); in sdtx_device_init()
[all …]
/dports/french/med/med-4.0.0/src/2.3.6/ci/
H A DMEDconnEcr.c27 MEDconnEcr(med_idt fid,char *maa, med_int mdim, med_int *connectivite,med_mode_switch mode_switch, in MEDconnEcr() argument
104 ret = _MEDdatasetNumEcrire(geoid,nom_dataset,MED_INT64,mode_switch,(med_size)taille,MED_ALL, in MEDconnEcr()
108 ret = _MEDdatasetNumEcrire(geoid,nom_dataset,MED_INT32,mode_switch,(med_size)taille,MED_ALL, in MEDconnEcr()
H A DMEDconnLire.c30 MEDconnLire(med_idt fid,char *maa,med_int mdim,med_int *connectivite,med_mode_switch mode_switch, in MEDconnLire() argument
118 mode_switch,(med_size)taille,MED_ALL, in MEDconnLire()
124 mode_switch,(med_size) taille,MED_ALL, in MEDconnLire()
H A DMEDelementsEcr.c23 MEDelementsEcr(med_idt fid,char *maa,med_int mdim,med_int *connectivite,med_mode_switch mode_switch, in MEDelementsEcr() argument
34 if ((ret = MEDconnEcr(fid,maa,mdim,connectivite,mode_switch,nele,_type_ent,typ_geo, in MEDelementsEcr()
H A DMEDelementsLire.c23 …DelementsLire(med_idt fid,char *maa,med_int mdim,med_int *connectivite,med_mode_switch mode_switch, in MEDelementsLire() argument
37 if (MEDconnLire(fid,maa,mdim,connectivite,mode_switch,0,MED_NOPF, in MEDelementsLire()
/dports/french/med/med-4.0.0/src/2.3.6/cfi/
H A Dintercf.c168 med_int*lon1, med_int*mdim, med_int*conn,med_int *mode_switch, in EDFELEE() argument
175 nedfelee(med_idt *fid,char *maa,med_int*lon1,med_int*mdim,med_int*conn,med_int *mode_switch, in EDFELEE()
192 (med_int*)conn,(med_mode_switch) *mode_switch, in EDFELEE()
209 med_int*lon1, med_int*mdim, med_int*conn,med_int *mode_switch, in EDFELEL() argument
216 med_int *mode_switch, in EDFELEL()
233 (med_int*)conn,(med_mode_switch) *mode_switch, in EDFELEL()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libx11/src/
H A DKeyBind.c38 uint8_t* mode_switch, in UpdateMappingImpl() argument
79 *mode_switch |= 1 << mod; in UpdateMappingImpl()
216 uint8_t mode_switch, in KeycodeToKeysymCoreImpl() argument
233 if ((n_keysyms > 2) && (modifiers & mode_switch)) { in KeycodeToKeysymCoreImpl()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/greybus/
H A Dgreybus_trace.h306 __field(int, mode_switch) /* bool */
317 __entry->mode_switch = intf->mode_switch;
323 __entry->enabled, __entry->mode_switch)
H A Dinterface.c230 if (!intf->mode_switch) { in gb_interface_mailbox_event()
264 intf->mode_switch = false; in gb_interface_mode_switch_work()
296 intf->mode_switch = false; in gb_interface_mode_switch_work()
314 intf->mode_switch = false; in gb_interface_mode_switch_work()
326 if (intf->mode_switch) { in gb_interface_request_mode_switch()
331 intf->mode_switch = true; in gb_interface_request_mode_switch()
1049 if (intf->mode_switch) in gb_interface_deactivate()
1200 if (!intf->mode_switch && !intf->disconnected) in gb_interface_disable()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/greybus/
H A Dgreybus_trace.h306 __field(int, mode_switch) /* bool */
317 __entry->mode_switch = intf->mode_switch;
323 __entry->enabled, __entry->mode_switch)
H A Dinterface.c230 if (!intf->mode_switch) { in gb_interface_mailbox_event()
264 intf->mode_switch = false; in gb_interface_mode_switch_work()
296 intf->mode_switch = false; in gb_interface_mode_switch_work()
314 intf->mode_switch = false; in gb_interface_mode_switch_work()
326 if (intf->mode_switch) { in gb_interface_request_mode_switch()
331 intf->mode_switch = true; in gb_interface_request_mode_switch()
1049 if (intf->mode_switch) in gb_interface_deactivate()
1200 if (!intf->mode_switch && !intf->disconnected) in gb_interface_disable()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/greybus/
H A Dgreybus_trace.h306 __field(int, mode_switch) /* bool */
317 __entry->mode_switch = intf->mode_switch;
323 __entry->enabled, __entry->mode_switch)
H A Dinterface.c230 if (!intf->mode_switch) { in gb_interface_mailbox_event()
264 intf->mode_switch = false; in gb_interface_mode_switch_work()
296 intf->mode_switch = false; in gb_interface_mode_switch_work()
314 intf->mode_switch = false; in gb_interface_mode_switch_work()
326 if (intf->mode_switch) { in gb_interface_request_mode_switch()
331 intf->mode_switch = true; in gb_interface_request_mode_switch()
1049 if (intf->mode_switch) in gb_interface_deactivate()
1200 if (!intf->mode_switch && !intf->disconnected) in gb_interface_disable()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/video/console/
H A Ddummycon.c80 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank() argument
89 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank() argument
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/video/console/
H A Ddummycon.c80 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank() argument
89 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank() argument
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/video/console/
H A Ddummycon.c80 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank() argument
89 static int dummycon_blank(struct vc_data *vc, int blank, int mode_switch) in dummycon_blank() argument
/dports/net/c3270/suite3270-4.0/c3270/
H A Dscreen.c259 char *mode_switch; member
569 if (write(1, defscreen_spec.mode_switch, in finish_screen_init()
1292 if (write(1, altscreen_spec.mode_switch, in screen_disp()
1293 strlen(altscreen_spec.mode_switch)) < 0) { in screen_disp()
1301 if (write(1, defscreen_spec.mode_switch, in screen_disp()
1302 strlen(defscreen_spec.mode_switch)) < 0) { in screen_disp()
1975 if (write(1, defscreen_spec.mode_switch, in screen_suspend()
2023 if (write(1, altscreen_spec.mode_switch, in screen_resume()
2727 t = spec->mode_switch; in parse_screen_spec()
2770 if (write(1, altscreen_spec.mode_switch, in screen_132()
[all …]
/dports/x11/x3270/suite3270-4.0/c3270/
H A Dscreen.c259 char *mode_switch; member
569 if (write(1, defscreen_spec.mode_switch, in finish_screen_init()
1292 if (write(1, altscreen_spec.mode_switch, in screen_disp()
1293 strlen(altscreen_spec.mode_switch)) < 0) { in screen_disp()
1301 if (write(1, defscreen_spec.mode_switch, in screen_disp()
1302 strlen(defscreen_spec.mode_switch)) < 0) { in screen_disp()
1975 if (write(1, defscreen_spec.mode_switch, in screen_suspend()
2023 if (write(1, altscreen_spec.mode_switch, in screen_resume()
2727 t = spec->mode_switch; in parse_screen_spec()
2770 if (write(1, altscreen_spec.mode_switch, in screen_132()
[all …]

12345