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

repeatedly insert copies of same gtk objects generated from glade file

I am rewriting parts of the interface of an old Python program written using glade and PyGTK. the program is rather complex, parts of the functionality is in plugins, so the original author has organized the interface definition in several glade…
mariotomo
  • 9,438
  • 8
  • 47
  • 66
4
votes
4 answers

Unable to connect signal and signal handler in Glade GTK+3

Hi i'm working on a project in GTK+ 3 on Ubuntu 14.04 LTS. I'm trying to use Glade,but when i tried to connect a "toggled" signal of toggle button to a function called kaczka ,after compiling i got this in my console: (Gra_w_Statki:11072):…
Sackhorn
  • 348
  • 3
  • 16
4
votes
3 answers

Tool to convert .Glade (or xml) file to C source

I am looking for tool that can convert .Glade (or xml) file to C source. I have tried g2c (Glade To C Translator) but i am looking for windows binary. Any one does know any good tool for window. Thanks, PP.
User7723337
  • 11,857
  • 27
  • 101
  • 182
4
votes
1 answer

c++ sdl: can i have an sdl-opengl window inside a menu and buttons i created with glade?

I used glade to create some gtk buttons. is it possible to add an sdl-opengl window to a glade application ? if so, how ? how can I interact between the gtk events and the sdl events inside the gtk window ? thanks
ufk
  • 30,912
  • 70
  • 235
  • 386
4
votes
0 answers

How to define a Gtk application menu in the main glade file

How can i define a Gtk application menu as described here but within the main glade file where the rest of the application is defined? So to put it in a file like:
elya5
  • 2,236
  • 1
  • 11
  • 27
4
votes
1 answer

gtk glade need help

I am using glade to make an user interface. i have successfully generated the glade file Now i have to include this file in my C code. I am using following code: #include #include int main (int argc, char *argv[]) { GtkWidget…
shiv garg
  • 761
  • 1
  • 8
  • 26
4
votes
2 answers

Can you set the FileFilters for a Gtk Dialog in Glade?

In my code, I have lines like this: Builder builder = new Builder(); builder.AddFromFile(gladefile); FileChooserDialog dialog = (FileChooserDialog) builder.GetObject("dialog"); FileFilter[] filters = new FileFilter[2]; filters[0] = new…
Matthew
  • 28,056
  • 26
  • 104
  • 170
4
votes
2 answers

How to use a Glade UI (.glade file) in a Java Gnome/GTK program?

I've did a research on the Internet looking for tutorials/documentations to explain me how to use a UI designed in Glade in a Java Gnome project, but no luck. I already know how to create a UI from the code using the Java Gnome/GTK. Anyway, I'd like…
Zignd
  • 6,896
  • 12
  • 40
  • 62
4
votes
2 answers

Using Multiple Glade Files : GtkBuilder

I'm writing an app for gnome which will support plugins. Each plugin will contain a glade file and a python script. How do I embed the glade file from the plugin in the main interface. Plugin glade files should contain a page/tab and will be embeded…
user250145
4
votes
2 answers

python popup window while bash script running

I made a simple PyGTK - Glade GUI for an application. I made the button, and the on_button_click calls a bash script. I would like to show a popup window while the bash script is running, and hide it after it is done. I made the window called…
leeladam
  • 1,748
  • 10
  • 15
4
votes
0 answers

glade: How to edit pages in a GtkAssistant

I would like to add content to the pages of an Assistant window (GtkAssistant) in Glade. When I add a new assistant, no children appear under the GtkAssistant. Further I cannot select (or delete or change) the contents of the 3 default pages Glade…
Isaac Sutherland
  • 3,082
  • 4
  • 28
  • 37
4
votes
1 answer

Custom python widgets in glade 3

I would like to subclass an existing Gtk widget and get it to work with Glade3. The code is all python, and I'm using PyGObject. What I want to do is extend Gtk.TextView and be able to add it to my glade UI as if it were a native widget. I read…
Dan
  • 3,665
  • 1
  • 31
  • 39
4
votes
1 answer

Is it possible to use menus created with Glade in gtk2hs?

I have menus created with Glade in my gtk2hs application. Is it possible to use this in my Haskell code to write actions for each activated menu item? Is there a simple example somewhere or project on Hackage that can be used as an illustrative…
donatello
  • 5,727
  • 6
  • 32
  • 56
4
votes
3 answers

What is the best way to design and changing GTK interface?

I am designing a python program using GTK3 and Glade. It requires changing the interface depending on what the user is needing to build. The first interface is something like: ____________________________________________________ | Label one | Text…
narnie
  • 1,742
  • 1
  • 18
  • 34
4
votes
4 answers

what the best documented python friendly GUI builder like GLADE

I stepped into python gui programming and I wanted to know what the best documented GUI builder like GLADE, which I'm using right now, however I struggle so much to find some good tutorials or documentation, mostly in the even handling area. I would…
nassio
  • 635
  • 1
  • 10
  • 19