[gtk-list] Wanted: print setting dialog

1999-11-24 Thread rgasch
Hi, can anybody recommentd an application which features a print settings dialog containig any (though preferrably all) of the following parameters: - paper size - portrait/landscape - margins - scaling I'd rather steal some code than re-invent the wheel ...

[gtk-list] Re: compiling glib

1999-11-24 Thread Erik Mouw
On Tue, 23 Nov 1999 20:04:17 +0100, Menno Schaap wrote: I am new here. I am a Naval architect who wrote naval architectural apps for DOS. Since for private linux is my favorite OS and customers are getting interested in linux I would like to experiment with programming under linux. I want to

[gtk-list] Re: Wanted: print setting dialog

1999-11-24 Thread Erik Mouw
On Wed, 24 Nov 1999 09:14:13 +0100, rgasch wrote: can anybody recommentd an application which features a print settings dialog containig any (though preferrably all) of the following parameters: - paper size - portrait/landscape - margins - scaling I'd rather steal

[gtk-list] Re: compiling glib

1999-11-24 Thread Erik Mouw
On Wed, 24 Nov 1999 16:07:30 -0800, not representing his employer's opinions wrote: Have you been screwing around with your kernel sources lately, moving stuff around? Because that's how I found out about these links -- always check and make sure they exist after you've compiled a new kernel

[gtk-list] Re: Anything like MDI in Gtk?

1999-11-24 Thread Nicolas George
MDI is not work for the toolkit but for the windowmanager. And the fact that most of the windowmanagers enable the user to have several virtual screens is incompatible with MDI. By example, I have 12 screens, like that: +---+---+---+---+ | | | | | +---+---+---+---+ | | | | |

[gtk-list] memory profiling and gtk_init()

1999-11-24 Thread Rasmus Andersen
Hi. I'm working on gPhoto (which uses GTK) and have tried a couple of times to memory leak detection with various programs. My problem is that I'm getting a lot of valid GTK stuff from gtk_init() reported because it isn't deallo- cated before program exit. My question is: Is there a

[gtk-list] problem with perl glade

1999-11-24 Thread Raphaël LANGELLA
I've compiled Gtk-Perl-0.6123 under a Mandrake 6.1. I've made make test but when running the glade test it says: can' t locate auto/Gtk/GladeXML/init.al in @INC at glade.pl line 11 wich is : init Gtk::GladeXML; Actually, the module GladeXML is installed with all yhe other gtk stuff. The

[gtk-list] Re: memory profiling and gtk_init()

1999-11-24 Thread Lars Hallberg
On Wed, Nov 24, 1999 at 02:23:49PM +0100, Rasmus Andersen wrote: Hi. I'm working on gPhoto (which uses GTK) and have tried a couple of times to memory leak detection with various programs. My problem is that I'm getting a lot of valid GTK stuff from gtk_init() reported because it isn't

[gtk-list] Re: Double float for spinbutton.adjustment.value ?

1999-11-24 Thread David Benson
I too have some could that would be radically simplified with a double-based GtkAdjustment. You see in my application there is a "rate" slider which the user can manually fiddle with. There is also a "synchronize rates" button that computes the rate from other sources. For this latter

[gtk-list] Re: Double float for spinbutton.adjustment.value ?

1999-11-24 Thread Norbert Bladt
Jorge Sousa wrote: Hello, For scientific applications where numbers may have more than 8 decimal digits it could be helpfull if the value of a spinbutton is a double float. Is it possible to change the type using a function call or the gtk+ code must be changed and the library

[gtk-list] Re: Anything like MDI in Gtk?

1999-11-24 Thread AVILA BERMEJO, FRANCISCO JOSE
David Given wrote: I wonder if is possible create internal frames with Gtk. Anybody has been working on it? GTK doesn't have it, but Gnome does. Use that (it allows the user to specify what MDI model it likes). Where can I find an Gnome example of MDI?. All the programs I have seen don't

[gtk-list] Re: Gtk look and feel

1999-11-24 Thread leon
John Sullivan wrote: On the Macintosh (at least), click-to-leave-menu-displayed was merged into the existing hold-mouse-button-down-to-view-menu behavior in such a way that both still work nicely and don't get in each other's way. There's no need for a preference to switch between them. I

[gtk-list] Re: Wanted: print setting dialog

1999-11-24 Thread Daniel Hops
Yes, you pointed out some info I was missing (single/double sided, etc) but my original question was wether you (or anybody else for that matter) knows an application that already has such a (partial or better) dialog for this info ... the only one I found so far was Mozilla and after looking

[gtk-list] Re: gtk_widget_get_toplevel() weirdness.

1999-11-24 Thread Damon Chaplin
John C Atkeson wrote: I'm getting weird behavior out of gtk_widget_get_toplevel in KDE under RH Linux, but no similar problems in gtk-Win32 For example if I retrieve a widget's toplevel window in Linux: GtkWidget *Top=gtk_widget_get_toplevel(child); and then print the

[gtk-list] Re: Underlining in menu's

1999-11-24 Thread Damon Chaplin
Jack L Calaway wrote: G'day: How do I underline a character in a menu label when using these functions: gtk_menu_item_new_with_label() gtk_check_menu_item_new_with_label() gtk_radio_menu_item_new_with_label() gtk_menu_item_new_with_label()

[gtk-list] best way to use user-specified pixmaps ?

1999-11-24 Thread Paul Barton-Davis
any good ideas on the best way to stuff a button with a user-specified pixmap ? i was all set to use an rc file with bg_pixmap[] specifications, but then i discovered/realized that this doesn't alter the size of the button at all - if there is nothing else in the button, we get the button shadow

[gtk-list] Re: Double float for spinbutton.adjustment.value ?

1999-11-24 Thread Jorge Sousa
-Original Message- From: David Benson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 24, 1999 3:41 PM To: [EMAIL PROTECTED] Subject: [gtk-list] Re: Double float for spinbutton.adjustment.value ? I too have some could that would be radically simplified with a double-based

[gtk-list] Re: Double float for spinbutton.adjustment.value ?

1999-11-24 Thread Adrian Feiguin
You should use a gtkentry and do the following: numeric_entry = gtk_entry_new(); gtk_signal_connect(GTK_OBJECT(numeric_entry), "insert_text", GTK_SIGNAL_FUNC(insert_text), gpointer GINT_TO_POINTER(digits)); } static void insert_text(GtkEditable *editable,

[gtk-list] Re: multiple arguments to callback function

1999-11-24 Thread Cigaes
Aaron Walker, dans le message (.gtk.general:269), a écrit : but, obviously, this did not work. Is there a way to pass multiple arguments to a callback or would I go about doing this a different way? You can pass only one pointer. I see two solutions: GtkText **multi_callback;

[gtk-list] Re: Events palletes

1999-11-24 Thread Nicolas GEORGE
Jeroen Benckhuijsen, dans le message (.gtk.general:266), a écrit : changed often. First we tried to use GDK_DIRECT_COLOR colormaps and writing directly to X using gdk_color_change(). After that i found the You can't choose to use this visual type: you have to use one proposed by the X server.

[gtk-list] Problem with Installation of GDK

1999-11-24 Thread Dinesh Nayak
Hi , I tried to install GTK on RedHat Linux Release 6.0 I downloaded the gtk-1.2.4.tar.Z glib-1.2.4.tar.Z . I initially installed glib without any problem. When I try to install gtk , as mentioned in the INSTALL file, it gave an error. I have attached the log for your reference. Pls suggest

[gtk-list] Re: Problem with Installation of GDK

1999-11-24 Thread Raphaël
Le Thu, 25 Nov 1999, Dinesh Nayak a écrit : Hi , I tried to install GTK on RedHat Linux Release 6.0 I downloaded the gtk-1.2.4.tar.Z glib-1.2.4.tar.Z . I initially installed glib without any problem. When I try to install gtk , as mentioned in the INSTALL file, it gave an error. I have