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

Add options for vertical OR horizontal menu. #2

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

rhysperry111
Copy link

I have added functionality to access a horizontal mode by passing the -h option.
For sake of keeping a standard I have also added the -v tag for vertical layout, but this is not needed as that is the default anyway.

I am also sorry if my code lacks standard. This is my first time coding in C and I have been trying to keep things up to the best standard that I can do.

I have no experience writing GTK apps. I hope this works.
Once i have done this i will work on making it a command line option.
Still not tested (i hope it works!)
This will allow the layout to be determined from the command line
This is my first attempt at C so i hope it works :)
@Maxr1998
Copy link
Owner

Thanks, I'll review it more closely once I find time in the coming weeks! I'm not 100% happy though with the duplicated layout code, maybe it's possible to combine this somehow.

@rhysperry111
Copy link
Author

I don’t like it either, but I dot have much experience in C and none with GTK so I couldn’t think of a different way of implementing it. In the mean time I will do some googling and see if there is a way of implementing it in a different way.

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

Successfully merging this pull request may close these issues.

2 participants