Questions tagged [glade]

Glade is a visual user interface designer for the GTK+ toolkit and the GNOME desktop environment.

User interface description files are saved as GtkBuilder XML files, which can then be easily loaded into a GTK+ app written in C, C++, C#, Vala, Java, Perl, Python, and others.

Although primary used on Linux, binaries are also available for Windows and Mac, and GTK+ apps developed with Glade can be written to run unmodified on Linux, Windows, and Mac.

Glade is Free Software released under the GNU GPL License

907 questions
47
votes
2 answers

GtkDialog mapped without a transient parent

I have a GUI built in Glade (3.18) which is called by a Python 3 program (using PyGObject). I get a lot of warnings when running the program (Fedora 21) that say: Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. How…
tobias47n9e
  • 2,233
  • 3
  • 28
  • 54
33
votes
11 answers

Glade or no glade: What is the best way to use PyGtk?

I've been learning python for a while now with some success. I even managed to create one or two (simple) programs using PyGtk + Glade. The thing is: I am not sure if the best way to use GTK with python is by building the interfaces using Glade. I…
Flávio Amieiro
  • 41,644
  • 8
  • 32
  • 24
26
votes
1 answer

how to add tab in notebook when using glade?

When creating a GtkNotebook in Glade, I get 3 tabs by default. How can I add another tab?
capede
  • 945
  • 1
  • 13
  • 26
17
votes
4 answers

How to disable/inactive some of the GtkMenu Items

I am trying to disable/inactive some of menu items under GTK+. I have created Menu In GTK+Glade under C, and on some external event I need to disable some of the menu options. How can I do this?
User7723337
  • 11,857
  • 27
  • 101
  • 182
16
votes
4 answers

How to make GtkTextView look like GtkEntry?

Or "How to add a visible (thin) border to GtkTextView"? Is it ever possible? Thank you in advance.
Paulo Freitas
  • 13,194
  • 14
  • 74
  • 96
16
votes
3 answers

Glade treeview liststore data not visible, can't imagine why

I've got 99% 44/100 of everything working. I have a glade file, I use gtkbuilder to render it and voila it comes up. Everything except the data in my treeview liststore. I notice by default the tree view is not visible, and setting that to true…
stu
  • 8,461
  • 18
  • 74
  • 112
15
votes
1 answer

How can I make a GtkTreeView work with a vertical scrollbar in Glade3?

I'm using glade 3, to create TreeView and successfully added row as algorithm done, but I had a little issue because treeview will add new row, thus my "GUI" will getting longer to the below, how could I add the scrollbar for this TreeView? in order…
capede
  • 945
  • 1
  • 13
  • 26
14
votes
2 answers

Python Glade could not create GladeXML Object

I've created a simple window GUI in Glade 3.6.7 and I am trying to import it into Python. Every time I try to do so I get the following error: (queryrelevanceevaluation.py:8804): libglade-WARNING **: Expected . Got…
user130076
13
votes
1 answer

How to embed external window in GUI (Python + Glade + Gtk3)

I started to build a GUI with Glade, python and Gtk3 libraries. I want to try to view an external window linking it inside a container in my GUI. Is it possible? Which is the best container object to do this? I started to search but easy methods in…
marcoresk
  • 1,837
  • 2
  • 17
  • 29
12
votes
2 answers

Use glade with pygobject Gtk3

I am converting a script to use Gtk3 using the migration guide (Porting GTK2 to GTK3). I converted my import pygtk to a from gi.repository import Gtk and so on... I'm stuck because the glade module was loaded from module gtk: import gtk import…
MP0
  • 1,033
  • 2
  • 10
  • 17
12
votes
2 answers

How to use the GtkHeaderBar in glade 3.20?

I tried to do a GtkHeaderBar application with glade 3.20, but I have the oldschool bar on top every time, when creating my python app. In glade 3.19, checking the client-side decoration property created a line on top, in which I could put the…
Boiethios
  • 38,438
  • 19
  • 134
  • 183
11
votes
1 answer

How to package a haskell gtk2hs glade application on windows?

I made a little GUI app with gtk2hs, Glade and Haskell. It runs fine on Windows XP, but users need to install GTK+, gtk2hs (it asks for libglade-2.0.0.dll) and GHC (as it's a gtk2hs dependency) in order to run it. I'm a Windows n00b myself, but how…
user639556
  • 171
  • 4
11
votes
3 answers

Using custom widgets with glade / Gtkbuilder

I'm developing an application with Gtk and Glade. My impression is that it's common practice to create a subclass of GtkWindow for your main window, but I'm stuck on how I would construct my subclass from a GtkBuilder definition. Does anyone know…
Masterofpsi
  • 769
  • 6
  • 17
9
votes
1 answer

How do I add children to a StatusBar in Glade3?

In GTK2, a StatusBar was just a simple container like an HBox. Glade 3 (gtk3) now shows this message when I try to add child widgets to my status bar: What are placeholders? I prefer to build the UI entirely in Glade, but If that doesn't work…
Stefano Palazzo
  • 4,212
  • 2
  • 29
  • 40
9
votes
5 answers

putting glade interface in python

I've made a gui in glade that I want to put in a python program. I was adapting the instructions from a tutorial I found online to load in my glade file (http://www.pygtk.org/articles/pygtk-glade-gui/Creating_a_GUI_using_PyGTK_and_Glade.htm). When I…
Bianca
  • 283
  • 1
  • 4
  • 15
1
2 3
60 61