niccokunzmann / python_dhcp_server

a dhcp server in python
MIT License
89 stars 32 forks source link

add slider #3

Closed niccokunzmann closed 3 months ago

niccokunzmann commented 8 years ago

you should be able to scroll up and down and know that that is possible

joshhazelhurst123 commented 3 months ago

I found this python tutorial. I think this is relevant to make the changes to add the slider, just not exactly sure how one would do so. I am reading dhcpgui.pyw and I think the changes will needed to be added here. Very useful DHCP python server!

niccokunzmann commented 3 months ago

Yes, it is in the dhcp gui, this is the text field:

https://github.com/niccokunzmann/python_dhcp_server/blob/68b3df77ecb09dea3c357032f6645b20b20c7544/server/dhcpgui.pyw#L17

And this seems to be one way of doing it:

https://stackoverflow.com/questions/19646752/python-scrollbar-on-text-widget

You are very welcome to work on it!

joshhazelhurst123 commented 3 months ago

Great stuff, I had a go at setting up a test environment unsuccessfully with oracle virtual pc. I tried to run a linux distro but I could not access github or drag files across onto the distro. Is there a remote test environment to log into?

Otherwise, I downloaded python_dhcp_server_standalone_0.6.zip

niccokunzmann commented 3 months ago

Hi, you can install a client, one of those to clone the repository: https://git-scm.com/download/gui/windows GitHub Desktop is probably easiest.

Then, you can install Python and use e.g. the Python Shell IDLE to edit the files. https://www.python.org/downloads/

joshhazelhurst123 commented 3 months ago

Document 10 - Copy.docx

This is what I get when I have made changes to the code and I have compared them with the working version. Let me know if that docx file opens okay and you can see what I mean.

Hopefully that makes sense, Let me know what you think. Cheers.

niccokunzmann commented 3 months ago

Could you send a pull request?

joshhazelhurst123 commented 3 months ago

Okay, thanks, see here Update dhcpgui.pyw #22 https://github.com/niccokunzmann/python_dhcp_server/pull/22

niccokunzmann commented 3 months ago

Thanks @joshhazelhurst123 !