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
4
votes
1 answer

Adding widgets from Glade file to a subclass of gtk.Window in Python. How?

I've made an interface using Glade. I want to then create a subclass of gtk.Window - in Python - and pass in that file to it. Then I'd like to be able to play with the widgets that I added in Glade as I would if I'd created them using regular…
user542603
4
votes
0 answers

Why does having several template definitions in one GTK 3 UI file raise an error?

I'm making a GTK 3 app (with Ruby), using Glade to make interfaces. I made an UI file with two composite templates, like this:
art-solopov
  • 4,289
  • 3
  • 25
  • 44
4
votes
1 answer

Connect to custom GTK signals defined in Glade file

I want to connect a handler to a custom signal. In my glade file I have a window with some buttons. The window is loaded like this in Rust: let glade_src = include_str!("views/window.glade"); let builder =…
Michael
  • 2,528
  • 3
  • 21
  • 54
4
votes
2 answers

Connecting Signals with Perl and GtkBuilder

I'm trying to figure how to access a widget from within a signal handler. I've got a label called "lblVerify" that I just want to change the text to "verified" when I click on the button. I know I need to use something like Gtk2::Label->set_text…
Chad P
  • 143
  • 5
4
votes
3 answers

Missing dll's when using Py2Exe, PyGtk, and Glade

I'm trying to build my first application using Py2Exe and I'm following the instructions listed at http://www.py2exe.org/index.cgi/Py2exeAndPyGTK, with the exception that I'm creating the UI with Glade. (Its just a very minimal gui with a close…
Brent Miller
  • 360
  • 4
  • 9
4
votes
1 answer

Python Gtk Glade app structure. What are the best practises?

Since I discovered Python, I've created four little applications with Glade + Python + Gtk. For each of them, the structure is a folder, with the name of the app, containing : an "images" folder a main .py file which contains all classes that…
Veilleuse
  • 324
  • 2
  • 9
4
votes
2 answers

Python GTK Listviews using Glade

I am currently developing an application for my Linux desktop that reads data from my Garmin Forerunner sports watch, parses the not-so-well-formed XML file, and writes the data to a MySQL database table. I'm not overly experienced with Python or…
Jeremy
  • 41
  • 1
  • 3
4
votes
1 answer

Use toggle button with Haskell and Glade

I have some trouble understanding how to use toggle buttons for GTK+ binding with Haskell. What I want to do is to display a treeView with two column: one containing strings and the other containing toggle buttons. The user must tick the toggle…
4
votes
1 answer

How to reuse a widget tree from a glade file with GtkBuilder?

i want to populate a gtk.notebook on-the-fly. everytime a user opens a file, a new notebook-tab is generated. pretty straight forward. my problem is, that i use glade to build the ui and the notebook-tab should have a child widget tree…
Fookatchu
  • 7,125
  • 5
  • 28
  • 26
4
votes
1 answer

How to get avoid assertion failure when loading gtk About dialog box?

I've programmed a software gui using glade and gtk. The main window has an About button. When I click on the button for the first time, the GtkAboutDialogBox runs perfectly. The action area is correctly bound to the events. But when I close it and…
C--
  • 16,393
  • 6
  • 53
  • 60
4
votes
5 answers

How can I read out the "glade ID" of a gtk3 object

In glade it is possible to set an unique ID to an object. In the code one can obtain a pointer to this object by searching for it's "glade ID" via gtk_builder_get_object(). However for my current use-case I just want to read out this ID from an…
Alex
  • 1,602
  • 20
  • 33
4
votes
1 answer

Mono fonts for all GtkTextView with CSS file with GTK+ 3.20

I work on a project in C using GTK+. This project is for GTK+3.6 minimum. I would like to set all GTKTextView in monospace font. Before the last update of GTK to GTK3.20, my CSS sheet was working well with : GtkTextView { font: Mono } Now, it is…
lock
  • 411
  • 4
  • 15
4
votes
2 answers

Getting started with Mono, C# and Glade#: How to make window appear?

I've been trying to get started with Mono & GTK# (I come from a background of Qt/C++ GUI programming) and decided to start with a very simple test GUI. I installed the MS Windows Mono/GTK# installer and then, upon finding that the Start menu link to…
NPB
  • 115
  • 1
  • 4
4
votes
2 answers

Cannot load glade file with Gtk Builder. Gtk3#

(Note: I did not write this code, it was generated from an addon project template) When I try to use GTK Builder with Gtk# to load a glade file it throws an exception that the file must begin with an element. Error: GLib.GException has been…
4
votes
0 answers

real world haskell - chapter 23 how to install gtk and glade

I am working my way through the book real world haskell, this far I always found a way to adapt the code snippets to make them run but this time I am stuck. I have to install the gtk and glade bindings in order to run the GUI example in chapter…
fayong lin
  • 214
  • 2
  • 15