Java Data Types

Each variable in Java has a java data type. The java data type controls what kind of value can be saved in the variable like integers decimal, character etc. The operating system allocates space for the variable based on its data type. Java data types can be divided in two groups: Primitive Data Types Non … Read more

Tkinter Scale

Tkinter Scale widget is used to implement a graphical slider to the User interface giving the user the option of picking through a range of values in python. The programmer can set the Maximum and Minimum values on the Scale. Syntax: The parameter, master represents the parent window, and options are used to set various attributes as key-values … Read more

Python GUI Programming

Python GUI Programming provides several different options for writing GUI based programs. These are listed below: Tkinter: It is easiest to start with. Tkinter is Python’s standard GUI (graphical user interface) package. It is the most commonly used toolkit for GUI programming in Python. JPython: It is the Python platform for Java that is providing … Read more

Tkinter Label

Tkinter Label widget provides a single-line caption for other widgets available in Python GUI. It contains images. Also used to output simple lines of text on the screen. You have options to manipulate/ design the text. Syntax: The Parameter master represents the parent window and options can be used as key-value pairs separated by commas. Options of Tkinker Label: bg: … Read more

Tkinter MenuButton

Tkinter MenuButton is a combination of both the button and menu widget, used to provide the user an option to select the appropriate choice that exists and implement various types of menu within the application. It can be defined as the drop-down menu that is shown to the user. Syntax: The Parameter master represents the parent window … Read more

Tkinter CheckButton

Tkinter Checkbutton is a GUI widget that provides a set of predefined options to the user. Users can select more than one option. A Checkbutton is an option that a user can choose to select or leave. Syntax: The Parameter master represents the parent window and options can be used as key-value pairs separated by commas. Options of … Read more

Tkinter LabelFrame

Tkinter LabelFrame act as a spacer or container for complex window layouts in Python GUI. It has mixed features of frame and label. It can be used to group the number of interrelated widgets such as Radiobuttons. Syntax: The Parameter master represents the parent window and options can be used as key-value pairs separated by commas. Options of Tkinker … Read more

GUI Standard Attributes

In Python GUI standard attributes are described below, Fonts Colors Cursors Bitmaps Anchors Dimensions Relief styles 1-Fonts: Tkinter font widget is used for styling the text or displaying the text in Python GUI. It has all the properties and the combination of typeface properties such as size, weight, style and slope of each character in … Read more

Tkinter Spinbox

Tkinter Spinbox is an alternative to the Tkinter Entry widget. It used to select from a fixed number of values. It offers multiple options for developing GUI. Syntax: The parameter, master represents the parent window, and options are used to set various attributes as key-values separated by commas. The options are described below: Options of Tkinker Spinbox: bg: This … Read more

Tkinter Menu

Tkinter Menu widget is used to create various types of menus in the Python GUI such as top-level menus, which are displayed right under the title bar of the parent window. Syntax: The Parameter master represents the parent window and options can be used as key-value pairs separated by commas. Options of Tkinker Menu: image: To display an image on this menubutton. … Read more