Python Forum
[Tkinter] can i had a cefpython3 to a labelframe
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] can i had a cefpython3 to a labelframe
#4
This is the important part:
window_info.SetAsChild(self.get_window_handle(), rect)
This tells the browser to make it's window to a child of the Frame window. Most of the rest of the code in BrowserFrame is telling the BrowserFrame how to be a parent of a browser. Let the browser know when the window changes size or is moved. Let the browser know when the frame gets or loses focus. Let the browser know when the frame goes away. I don't think there is a much simpler way to do all that than the example code. Usually tkinter creates all the windows and everything that BrowserFrame does takes place behind the scenes.

What parts in particular do you find confusing?
Reply


Messages In This Thread
can i had a cefpython3 to a labelframe - by razs - Aug-28-2021, 10:47 AM
RE: can i had a cefpython3 to a labelframe - by deanhystad - Aug-30-2021, 08:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter destroy label inside labelFrame Nick_tkinter 3 4,639 Sep-17-2023, 03:38 PM
Last Post: munirashraf9821
  Issue in Tkinter with winfo_class() and LabelFrame ReDefendeur 1 2,786 Oct-05-2020, 05:52 AM
Last Post: Jeff900

Forum Jump:

User Panel Messages

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