Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Select of connections
Post: RE: Select of connections

I've tried to change my server socket's code to something like this... import socket as skt import select as sel IP = "127.0.0.1" PORT = 9876 server_socket = skt.socket(skt.AF_INET, skt.SOCK_STREAM)...
Gupi Networking 1 2,102 Jun-04-2019, 09:32 AM
    Thread: Resizing image inside Canvas (with Canvas' resize)
Post: RE: Resizing image inside Canvas (with Canvas' res...

Thank you for help! I'm sorry for the late answer. The resize event gave me an idea of handling layout in my application, so I've managed to solve the problem with it either. I've used place() method ...
Gupi GUI 2 25,118 Jun-04-2019, 05:05 AM
    Thread: Select of connections
Post: Select of connections

Hello there. I'd like to get some help to understand the basics of socket's work The conditions are next: 1) server keeps 2 client connections maximum 2) when client connects to server, he's getting ...
Gupi Networking 1 2,102 Jun-04-2019, 05:01 AM
    Thread: Resizing image inside Canvas (with Canvas' resize)
Post: Resizing image inside Canvas (with Canvas' resize)

The situation is next: - I'm resizing window; - Canvas widget is resizing too; - PhotoImage inside Canvas stays the same size as it was. How can I make it resize with the other widgets? My code: impo...
Gupi GUI 2 25,118 May-28-2019, 11:47 AM
    Thread: Problems with frames layout
Post: Problems with frames layout

I'm trying to layout my GUI with next settings: 1st level. - FrameMain, which takes most part of the window, it's the top one. - FrameBottom, which takes it's position under FrameMain and it's height...
Gupi GUI 1 2,226 May-27-2019, 04:07 AM
    Thread: Tkinter classes
Post: RE: Tkinter classes

Oh, I'm sorry, classes' question is solved. Thanks again for helping me out! I'll try to explain my problem in the other thread.
Gupi GUI 8 4,632 May-26-2019, 05:20 PM
    Thread: Tkinter classes
Post: RE: Tkinter classes

(May-26-2019, 11:59 AM)Yoriz Wrote: I don't know what is the expected look of your windows, the notebook widget is set to take up all the available space by self.pack(fill=tk.BOTH, expand=1) You are...
Gupi GUI 8 4,632 May-26-2019, 01:38 PM
    Thread: Tkinter classes
Post: RE: Tkinter classes

I've tried to add "Notebook" widget, but it takes more place than it's master frame (FrameAction). Why is it so and can I fix that? import tkinter as tk from tkinter import ttk as tktw class Window(t...
Gupi GUI 8 4,632 May-25-2019, 10:39 AM
    Thread: Tkinter classes
Post: RE: Tkinter classes

Yoriz, thank you! I've tried that structure out but can't reach button through "w.FrameBottom.ButtonSend" command now. What am I doing wrong? import tkinter as tk class Window(tk.Tk): def __init...
Gupi GUI 8 4,632 May-24-2019, 05:42 PM
    Thread: Tkinter classes
Post: Tkinter classes

Hello everyone. I'm sorry to bother y'all with my stupid questions, but I just can't get some simple stuff and hours of search doesn't help me. :( I'm trying to create classes for my GUI, so I could...
Gupi GUI 8 4,632 May-24-2019, 11:29 AM
    Thread: Forms' expansion
Post: RE: Forms' expansion

Yoriz, thank you so much, you've been a BIG help!
Gupi GUI 5 2,725 May-23-2019, 05:31 AM
    Thread: Forms' expansion
Post: RE: Forms' expansion

(May-22-2019, 06:59 PM)Yoriz Wrote: Something like this ?Thank you! This is exactly what I was looking for. I've tried ".place" method for forms, but "relheight" is a constant value. Could you plea...
Gupi GUI 5 2,725 May-23-2019, 04:40 AM
    Thread: Forms' expansion
Post: Forms' expansion

Hello everyone, I'm new in Python (especially tkinter) and I need an advice. I'd like to make 2 forms in a window, like it's shown on the image. 1. Form1 has relative width and height equal to height...
Gupi GUI 5 2,725 May-22-2019, 04:01 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020