Questions tagged [glade]

User interface design tool for for GTK+. It is programming language-independent. Comes included in the quickly package, Ubuntu's python application creation suite.

Filter by
Sorted by
Tagged with
1
vote
1answer
280 views

Ubuntu 20.04 ImportError: No module named gtk.glade

i am trying to launch an old python2 script. On ubuntu 18.04 i installed python-glade2 and it worked, unfortunately ubuntu 20.04 doesn't have it in repositories. Is there a way to get this gtk.glade ...
0
votes
1answer
25 views

Glade won't start: symbol lookup error

Running Xubuntu 18.04 x86_64. Installed Glade with # apt install glade When I try to run it: $ glade glade: symbol lookup error: glade: undefined symbol: gdk_broadway_display_get_type Presumably a ...
0
votes
0answers
29 views

What do I need in order to create an application for ubantu? [duplicate]

I have recently downloaded libgtk-3 and glade in order to create an application in c language (because I only know to program in c). I have googled on how to use glade and gtk but the programming used ...
0
votes
0answers
20 views

What is Private Ubuntu extension in Glade?

In Glade's TreeView setup dialog, what is the "Private Ubuntu extension" option, and what might my application gain/lose if I enable it? Ubuntu desktop 18.04.2 Glade 3.22.1 (although this option has ...
2
votes
1answer
161 views

I cannot compile gtk apps after updating to 18.04

I am trying to compile a program with a user interface as a .out file. I compiled it just the same way before and I did not edit the code, using this `pkg-config --cflags --libs gtk+-2.0` Back in 16....
0
votes
1answer
5k views

How to install gi for anaconda python3.6

in Ubuntu 16.04 I have python2.7, python3.5 and python3.6. Anaconda is using python3.6. I can import gi on 2.7 and 3.5, but I can't in 3.6. I created the link as suggested here https://stackoverflow....
0
votes
1answer
173 views

Glade 3.20 seems to ignore `GLADE_CATALOG_PATH`

I have created a catalog with a custom widget and a custom group. If I set the GLADE_CATALOG_PATH variable and launch glade, the group and the widget are not shown. I have used both relative and ...
2
votes
1answer
8k views

How do I fix “'module' object has no attribute 'required_version'” for “gi.require_version('Gtk', '3.0')”?

I'm working with some people to build a fake news detecting program and have made some great progress but out of 5 members of the group only 1 person can run the Python program. I am running a clean ...
1
vote
1answer
455 views

Unable to compile glade 3.8.5 in ubuntu yakkety

I have been trying to install glade version 3.8.5, which I need to work on an application based on gtk2 and the libglade library. I am running on Ubuntu 16.10, yakkety. Since the glade-gtk2 package ...
3
votes
1answer
292 views

Make “About” Window in glade [closed]

I tried to create about window like About MATE in Mate DE on Ubuntu 14.04, and this is the .py file that I made : #!/usr/bin/env python import sys try: import pygtk pygtk.require("2.0") ...
2
votes
1answer
131 views

Why is Glade 3.19 missing in xUbuntu Wily?

I've noticed that Glade v3.19 is missing in the Ubuntu Wily repositories. Is there a reason for this? Or, is there a way I can install Glade 3.19 or do I just have to wait until Xenial to come out?
4
votes
1answer
854 views

Glade Designer is crashing

Here is the Error I am facing. I really need to get Glade up and running please help. I used the sudo apt-get install glade command And this is what I got when trying to run Glade designer ...
0
votes
1answer
458 views

Unable to launch glade 3.18 which I compiled from source

I am running Ubuntu GNOME 15.10 with GNOME 3.18, and I have installed Glade 3.18 for GTK3 by compiling it from source. So once I had unpacked the tarball in my home directory it told me that I needed ...
2
votes
1answer
180 views

Glade: glib GError when trying to use object attributes [closed]

I'm using Ubuntu 14.10 but with the lubuntu desktop (LXDE) installed manually. I've designed my Python application's UI using Glade. Everything is working fine as long as I don't use attributes (<...
1
vote
0answers
1k views

glade import error as a gtk.glade [duplicate]

I am trying to port Python 2 to Python 3, but I am having trouble importing Glade: import gtk.glade ImportError: cannot import name glade, introspection typelib not found Any idea how to fix this? ...
1
vote
1answer
3k views

AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk' [closed]

I am porting python 2 to python 3. When running application giving below error: AttributeError: 'gi.repository.Gtk' object has no attribute 'gdk' Any idea to fix this!! Thanks
0
votes
1answer
571 views

Glade-3.18.3 crash

I have installed Glade-3.18.3 on my Ubuntu 14.04. But when I'm try to open it it shows the following message and the gladeUI window just flashed. Please help me fix the problem. I already have Glade-...
1
vote
1answer
586 views

Link button to application in Glade

I'm new to Glade and I just love the possibilities this program has for (beginner) GUI developers. I started making an application with some text and buttons and I would like to assign a button to ...
0
votes
1answer
639 views

Anjuta crashes when open *.ui file

I'm using Anjuta IDE version 3.12.0, Ubuntu 14.10 64bit. Whenever I open a *.ui file, Anjuta crashes: if I double click at the *ui file, or right click and choose Open or Open with Glade interface ...
0
votes
1answer
153 views

How can I delete menus in Glade?

I'm writing a program using Quickly and I can't figure out how to delete menu bar entries.
1
vote
1answer
2k views

Missing libglademm-2.4.so.1 - where can I find this library for my embedded linux box?

I am trying to run FlyCap2 on my NVidia Jetson so that I can use my PointGrey FireFly MV machine vision camera. I am unable to run the main program because it is lacking a glade library. Any idea ...
1
vote
1answer
957 views

How to get filename from FileChooserButton in PyGTK?

I'm using Glade and PyGtk to develop an application. Currently I'm using a button under a toolbar to open files using this code: def on_openVideo_clicked(self, widget): dialog = Gtk....
0
votes
1answer
52 views

Button Click not recognised in Quickly

I am running quickly 12.80.1-0ubuntu2 and for some reason the apps that I generate no longer recognise button clicks. A few weeks ago I created an application using the ubuntu-application template ...
2
votes
0answers
423 views

Python GTK: How to stop a function from happening if a checkbox is checked

In my program I have one of those annoying popups that alerts the user to go check the settings. I have a checkbox that if checked, is supposed to never show the popup again. I have no idea how to do ...
0
votes
2answers
4k views

When reading a text file, how to get rid of “\n” when extracted in python [closed]

I am writing a program where you have to extract bits of text from a text file. The specific bit of text is the save directory where I would like to save the files produced by my program. Here is my ...
0
votes
2answers
109 views

How to block certain characters from a string in Python [closed]

I am writing a program that takes the text written in a text document called datafile.txt, then prints what is in the file. The text that is in the file is is "Hello World", but the text that prints ...
-1
votes
1answer
1k views

Python: How can I store a variable changed by the user? [closed]

I am writing a program where basically you type information, and the information is saved in a text file. The program has to know where to save that specific text file. I have added a menu button that ...
-1
votes
1answer
212 views

Python: How to have to change a variable once, and never change it again [closed]

flub = raw_input("Where would you like your save directory to be?) SaveDir = flub Hello ubuntu, I am writing a python program. My question is, how can I make it so a raw_input asks me a question that ...
2
votes
1answer
5k views

How to convert a .glade file to a .py file

I have been using gtk a lot to make my python programs have a graphical interface, and it's pretty awesome. I recently discovered Glade which is a hassle-free way of making a GUI for your programs. I ...
2
votes
1answer
2k views

Glade Ubuntu - Transparent Button on a background image [closed]

I'm trying to make an Ubuntu application. I need to place transparent buttons on specific locations on a background image in Glade, such that the image changes on button click. I've not been able to ...
2
votes
1answer
902 views

Ubuntu, gtk 3.10.8, not able to visualize a menubar made by Glade

My problem is that I've drawn a UI with Glade, but the menubar doesn't want to be drawn. Here is the xml, just a sample: please try to check out the properties. It is a very simple menubar but I can'...
0
votes
1answer
97 views

To run a dialog box as a result of clicking a button in quickly using python

I am developing an application that has various buttons such as addition, multiplication and so on.. now when I click on addition button I want a dialog box to be displayed that has labels n text ...
1
vote
2answers
461 views

How to change window opacity dynamically in Python and Quickly?

The app is written in HTML and is running using webkit and Quickly. The opacity can be changed using Glade. I want to add a slider functionality in HTML which will change the title of the HTML ...
2
votes
2answers
2k views

How to upgrade glade 3.8 to glade 3.13 higher

My glade 3.8 My Ubuntu 12.04 How ? I'm newbier I'm try but not working Please ,help me !
0
votes
1answer
649 views

Glade is crashing in Ubuntu 13.10 when I load a file done in Ubuntu 12.04

I made this file in Ubuntu 12.04 and all is working perfect with Glade: http://bazaar.launchpad.net/~costales/gui-ufw/gufw-13.10/view/227/data/ui/preferences.ui But in Ubuntu 13.10 and Glade 3.14.2, ...
1
vote
0answers
90 views

How to control GtkScales with Python?

I want to add GtkScales in a Quickly application and control it with Python to adjust Brightness via xrandr. We have already made the code via raw Python here and would like to do this via Quickly to ...
6
votes
2answers
713 views

“quickly design” and ubuntu 13.10?

I upgraded to Ubuntu 13.10 and then I installed quickly to develop some apps. When I run "quickly run" or "quickly edit" everything is fine, but when run "quickly design" glade open and close ...
0
votes
1answer
2k views

Gtk: Webkit WebView C++ (can't load url + awkward terminal output)

I am trying to include a webkit webview within my c++ application. My project uses Glade ui, and I embedded webview into a scrolled window. What I do not understand at all is this awkward output + ...
0
votes
1answer
130 views

Is there a way to attach a pygame window to glade window in quickly?

I am trying to develop a game so that when i press a button which is created using glade window i should be able to run the pygame window i have succeeded so far but the pygame window opens separately ...
4
votes
1answer
5k views

Taking screenshot using python

The below code work perfectly when I run it as a console application import gtk.gdk import time w = gtk.gdk.get_default_root_window() sz = w.get_size() print "The size of the window is %d x %d" % ...
2
votes
1answer
1k views

Glade, quickly and changing an image with code

I have created the default ubuntu-application template using quickly and I'm trying to work out how to change the displayed image through code. The default image shows an ubuntu logo with the path ".....
4
votes
1answer
2k views

GtkSourceView in Glade and C++

I try to develop a text editor in C++ and Gtkmm using Glade but I have a problem. When I try to run the program, I have the following message:"BuilderError: Invalid object type `GtkSourceView'". I ...
2
votes
1answer
782 views

Python unity indicator applet and glade child window exits at the same time

Since I don't have much reputation. The original question has been posted in stackoverflow and here is the link: Python unity indicator applet and glade child window I have created an unity ...
0
votes
1answer
224 views

Problem with Quickly text input field

The Problem I am using Quickly to try the mybrowser demo from the Ubuntu Website. Everything goes well until I add a simple text field (for URL entry) in Glade, then, no warnings are issued but the ...
0
votes
1answer
485 views

Glade GUI in Python 2.7 crashes

I created a simple program using a glade .xml file and it, whenever I run the program, it crashes! Here's the Python code: #!/usr/bin/env python import pygtk pygtk.require("2.0") import gtk class ...
0
votes
1answer
644 views

how do you add a home button and tabs to custom written web browser in ubuntu

how do you code in a home button for a web browser? im creating a web browser in ubuntu for use in ubuntu. I am using a mix of Glade, Python, quickly, WebKit and WebView i have got nearly ...
0
votes
1answer
1k views

GUI development with Glade/FreeBasic - missing gtkwidget.bi

Trying GUI development with combination of Glade, FreeBasic and Geany, compilation fails because no gtkwidget.bi include file can be located. In fact this file is missing from my computer (Ubuntu ...
1
vote
1answer
1k views

ComboBoxText in Glade / GTK+3 / Python - disappears when displayed 2nd time

I'm trying to implement a drop down list in an Ubuntu app using Glade (GTK+3) and Python. I can get the ComboBoxText to display, populated with strings. However when I close the window it is contained ...
0
votes
1answer
70 views

How do I position widgets next to each other in Glade?

How can I make 2 widgets (or more) stand next to each other in Glade. For example a textbar and a toolbar.
3
votes
2answers
1k views

How do you reorder widgets in Glade?

How can I reorder widgets in the Glade widget tree? For example, assume I have a Glade application that contains this partial tree: box1 (GtkBox) |--button1 (GtkButton) |--button2 (GtkButton) |--...