Sponsored Content
Top Forums Programming perl/Gtk2: issue with initializing Gtk2 Post 302408207 by bigearsbilly on Sunday 28th of March 2010 05:39:51 PM
Old 03-28-2010
you may find it easier to use Glade to design your GUI
and then
use Gtk2::GladeXML;
to read the glade file.

that's what I do.
though gtk is a world of hurt.
terrible documentation, esp. for perl.
 

9 More Discussions You Might Find Interesting

1. Linux

Need gtk2 for linux es3

I need to have the ability to read acrobat files on my Red hat linux boxes (enterprise level 3) . however acroread will not install saying i do not have gtk2 (gimp toolkit). Does anyone know where i can either get gtk2 for this linux or where i can get an acrobat reader for this flavour of linux. (1 Reply)
Discussion started by: frankkahle
1 Replies

2. UNIX Desktop Questions & Answers

gtk2-perl load error help

I write this code. It show the first dialog correctly. but, no matter i modify the code(load module by use or require, or something i think maybe error) it can't pop-up anymore. and show this warning. Thanks. (I'm sorry for my English.) Tue Mar 16 17:24:36 2010 ... (0 Replies)
Discussion started by: snyh
0 Replies

3. Shell Programming and Scripting

[Perl + Gtk2] Image disappears after scrolling / minimizing window

Hello everyone I don't know if it's the right place to ask, but I will try. I want to use Gtk2 in my Perl chart-drawing script, I found a sample code that could be very useful for me somewhere, but I noticed there is one problem with that - when I draw something, and then scroll the window or... (0 Replies)
Discussion started by: xqwzts
0 Replies

4. Shell Programming and Scripting

Perl::Gtk2 on Linux --- How to Find the Default Font Being Used?

Hello All, Wasn't sure if this was the correct thread to post this under but figured it has to do with Perl and Gtk2 so why not... Anyway.. How can I find out what the Default font being used is inside a Gtk2::Widget. In this case I'm trying to figure out the font being used inside a... (1 Reply)
Discussion started by: mrm5102
1 Replies

5. Shell Programming and Scripting

Gtk2-Perl

Hai how to activate (script2)page of a note book in Gtk2-Perl when one script1 is run successfully... Thanks kiran (0 Replies)
Discussion started by: kiran425
0 Replies

6. Shell Programming and Scripting

Gtk2-Perl

Hai how to activate (script2)page of a note book in Gtk2-Perl when one script1 is run successfully... Thanks kiran (1 Reply)
Discussion started by: kiran425
1 Replies

7. Fedora

GTK2.22 for Fedora 20

Hi again, I maybe should have posted this question in this forum. I am looking for an RPM for gtk2.22 development for a machine running Fedora 20. I only have the gtk2.22 development binaries for Fedora 14. Anyone know where I could find them? Thanks! (8 Replies)
Discussion started by: fedora18
8 Replies

8. UNIX for Advanced & Expert Users

32bit GTK2 application

Hi all, So, I have a 32 bit gtk2.22 application that I run flawlessly in Fedora 14. When I compile it on the 32bit machine run it on Fedora 20 64bit machine I get: (myprogram:6736): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", (myprogram.:6736): Gtk-WARNING **:... (15 Replies)
Discussion started by: fedora18
15 Replies

9. UNIX for Advanced & Expert Users

Support for Unicode in GTK2 and GTK3 file selection box?

I'm on Tiny Core Linux Pure64 10.1. My locale is en_US.UTF-8 and I generally have no trouble with Unicode characters with one exception: When I try to use Unicode characters in GTK applications' file selection box, I get "Invalid file name": http://files.dantas.airpost.net/public/save_file.jpg ... (11 Replies)
Discussion started by: DevuanFan
11 Replies
glade-2(1)							   User Commands							glade-2(1)

NAME
glade-2 - create graphical user interfaces for Gtk+ and GNOME SYNOPSIS
glade-2 [gnome-std-options] [--write-source filename] [--hide-palette] [--hide-property-editor [--show-widget-tree] [--show-clipboard]] [filename] DESCRIPTION
Glade is an application for creating graphical user interfaces that use the Gtk+ and GNOME libraries. Glade allows you to rapidly develop these interfaces, and can create source code in a variety of languages that will construct the interfaces for you. Glade can also be used in conjunction with libglade(3C) to dynamically create user interfaces from the XML description file that Glade creates. This is by far the preferred method of using Glade, as it is not neccessary to recompile your code for simple user interface modifications. OPTIONS
The following options are supported: --write-source fLoadaaegiven XML description file, generate source code for it, and then exit. You can also use -w to specify this option. --hide-palette Hide the Palette dialog on start up. --hide-property-Hide the Property Editor dialog on start up. --show-widget-trShow the Widget Tree dialog on start up. --show-clipboardShow the Clipboard dialog on start up. gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information. OPERANDS
The following operands are supported: filename The name of the file to be edited or viewed. If filename is not specified, a blank window is opened. EXAMPLES
Example 1: Launching Glade with Widget Tree and sample XML description file example% glade-2 --show-widget-tree example.glade EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/glade-2 Executable for Glade. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-ui-designer | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
Glade User Manual Latest version of the GNOME Desktop User Guide for your platform. gnome-std-options(5), libglade-2.0(3), libgtk-x11-2.0(3), libgnomeui-2(3) NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003. SunOS 5.10 2 Oct 2003 glade-2(1)
All times are GMT -4. The time now is 02:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy