Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file_icon label widget needs the selection events #18

Open
avDuma opened this issue Dec 30, 2015 · 1 comment
Open

file_icon label widget needs the selection events #18

avDuma opened this issue Dec 30, 2015 · 1 comment

Comments

@avDuma
Copy link

avDuma commented Dec 30, 2015

I've seen you have moved the labels of files displayed on Jesus with a separate ELM widget on your data/themes/elm_ext folder.

I can't create a proper program on my theme file that can change the textblock description of the "public.text" part when an item gets selected.

Tipically a program like:

  program {
     signal: "elm,state,selected"; source: "elm";
     action: STATE_SET "selected" 0.0;
     target: "elm.text";
  }
  program {
     signal: "elm,state,unselected"; source: "elm";
     action: STATE_SET "default" 0.0;
     target: "elm.text";
  }

in a theme manages this kind of operation.

Try to add something similar, but I'm not sure that your widget send "state,selected" signals.

@marcelhollerbach
Copy link
Owner

Its not sending, and I am not sure if it should, the item does not know if it gets selected or not, and I am not sure if it should know that. The widget is just the visual representation of a file, which does not have a selection state, I think something should be done in gengrid there... I will have a look at the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants