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
9
votes
3 answers

Creating columns with editable cells in Gtk treeview using Glade

I am trying to create a simple GUI with table containing x and y coordinates of samples. I use treeview, and I want the cells of the table to be editable by user. Is it possible to specify if the cells should be editable directly in Glade in…
Tomas Novotny
  • 7,547
  • 9
  • 26
  • 23
9
votes
1 answer

How do I add a custom gtkmm widget to glade?

I'm writing a custom widget using gtkmm, and I haven't been able to get it to work in glade. (The widget itself is barely functional; it does work, and I want to get it to work in glade before moving on to the next step.) Glade finds the widget, but…
bstpierre
  • 30,042
  • 15
  • 70
  • 103
9
votes
1 answer

Load GUI from a Glade with GtkSourceView in PyGObject

I'm trying to use a Glade file that has a GtkSourceView widget in PyGObject. I've wrote a little guide on how to start using the new GtkSourceView 3.0 in Glade: http://cjenkins.wordpress.com/2012/05/08/use-gtksourceview-widget-in-glade/ The problem…
Havok
  • 5,776
  • 1
  • 35
  • 44
8
votes
1 answer

How to get rid of the black console window for a compiled Haskell GUI application

I have compiled a Haskell GUI application with stack-1.7.1, ghc-8.2.2, gtk+-2.24.28 and glade-3.8. When I run the executable, a black console window always follows the GUI window. I want to get rid of it, but I don't find any tips about Haskell GUI…
Z-Y.L
  • 1,740
  • 1
  • 11
  • 15
8
votes
4 answers

Gtk HeaderBar ActionBar pack_start pack_end within UI xml file

We are trialing Gtk3/Vala/Genie for the development of application user interfaces using Gnome-Builder/Meson/Glade/Flatpak. While there are many examples of Gtk.HeaderBar.pack_start( ... ) and Gtk.ActionBar.pack_start( ... ) within the Vala and…
AsymLabs
  • 933
  • 9
  • 15
8
votes
3 answers

How do you draw a grid and rectangles in Python?

What Python-related code (PyGTK, Glade, Tkinter, PyQT, wxPython, Cairo, ...) could you easily use to create a GUI to do some or all of the following? Part of the GUI has an immovable square grid. The user can press a button to create a resizable…
Winston C. Yang
  • 1,497
  • 2
  • 18
  • 27
7
votes
8 answers

Is there a Python library that allows to build user interfaces without writing much code?

I am writing editing front ends in Python since several years now, and I am fed up with micromanaging every UI detail of a window or dialog every single time. Is there a technology that allows me to, say, specify the relations between a GTK+…
paniq
  • 1,109
  • 1
  • 11
  • 19
7
votes
1 answer

With Glade in a dialog window, how do you add response for buttons

How do you link the buttons of a dialog window (GtkDialog for example) with a response Gtk::ResponseType value with Glade?. I know how to do it programmatically but I can not find out how to do it with Glade. In short I have to create the ui file…
cedlemo
  • 3,205
  • 3
  • 32
  • 50
7
votes
1 answer

Localization of GUI built with Glade and Python (Gtk)

I have made an application using Glade and Python and I would like to make several localizations. I know how to localize strings that are in the Python code, I just encapsule all the strings that are supposed to be localized with _() and than…
Tomas Novotny
  • 7,547
  • 9
  • 26
  • 23
7
votes
2 answers

How to use gtk/glade in vala

I'm trying to make a simple app with glade/gtk/vala. So far I have this: using Gtk; class HelloWorldApp : GLib.Object { const string UI = "test.glade"; public Window main_window; [CCode (instance_pos = -1)] public void…
mat
  • 103
  • 1
  • 4
7
votes
4 answers

How to handle a glade project with many windows

I'm working on a PyGTK/glade application that currently has 16 windows/dialogs and is about 130KB, and will eventually have around 25 windows/dialogs and be around 200KB. Currently, I'm storing all the windows in one monolithic glade file. When I…
Adam Plumb
  • 3,738
  • 8
  • 35
  • 34
7
votes
1 answer

Can't use a glade xml file with haskell

I'm not sure if I should say hi or not, being this my first post here. Anyway, I am following the glade tutorial from the gtk2hs website. The code compiled properly but when I try to execute it I get this error. (hellogtk2hs:8670): libglade-WARNING…
tokoro
  • 361
  • 1
  • 9
6
votes
3 answers

How do I fix the "unknown attribute `swapped'" warnings from libglade?

libglade was updated and my old Glade xml file has these "swapped" attributes for signals. These attributes generate the following warnings when the file is loaded: libglade-WARNING **: unknown attribute `swapped' for . How do I fix these…
Jason
  • 11,709
  • 9
  • 66
  • 82
6
votes
3 answers

What is the best/fastest way to learn GLADE with C?

I just downloaded and installed GLADE. What are some good tutorials for the C language?
Kredns
  • 36,461
  • 52
  • 152
  • 203
6
votes
3 answers

How to compile all resources into one executable file?

I've wrote GTK application with python. All graphical user interface is in glade file, and there are some images used. I wish to compile my application into EXEcutable file. For that I'm using PyInstaller compiler and UPX packer. I've done as manual…
Lixas
  • 6,938
  • 2
  • 25
  • 42
1
2
3
60 61