-
Notifications
You must be signed in to change notification settings - Fork 6
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
base: master
Are you sure you want to change the base?
Conversation
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 :)
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. |
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. |
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.