Re: Changing where the max/min values are on Scale Widgets

2005-07-19 Thread Andreas Stricker
Michal Porzuczek wrote: When you create a gtk_hscale the lower limit is automatically at the top and upper limit at the bottom is there a way of changing this? Have a look at gtk_range_set_inverted() Cheers, Andy ___ gtk-app-devel-list mailing list

re:script dir

2005-07-19 Thread srinivas
hi; my glade project not having data, scripts directories. what changes or what am i supposed to add to get those directories in my glade project. thanks; sri ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.or

If i open app in konqueror images dont load

2005-07-19 Thread Yogesh M
I have the executable in a folder where i have few icon images used by the program, whe i run the program through terminal icons are loaded. If I click the exectable through konqueror icons are not loaded. It seems that path variable needed to be set to executable path. how to do it.

changing the model in a treeview

2005-07-19 Thread The Saltydog
I need to switch (from user action) 2 different models on the same gtktreeview. Is it allowed? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: changing the model in a treeview

2005-07-19 Thread Roger Leigh
On Tue, Jul 19, 2005 at 12:39:57PM +0200, The Saltydog wrote: > I need to switch (from user action) 2 different models on the same > gtktreeview. > > Is it allowed? Yes. Just call gtk_tree_view_set_model(). -- Roger Leigh Printing on GNU/Linux? http://gimp-print.sourceforge

where are the stock button images kept?

2005-07-19 Thread Yiannis
Hi, where are the stock button images kept? Cheers -- -- Yiannis ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: where are the stock button images kept?

2005-07-19 Thread Olexiy Avramchenko
Yiannis wrote: Hi, where are the stock button images kept? Hello They're inside libgtk*.so, precompiled. Source *.png files are in gtk+ source tarball "gtk/stock-icons" subdir. Olexiy ___ gtk-app-devel-list mailing list gtk-app-devel-list@gn

Re: If i open app in konqueror images dont load

2005-07-19 Thread Yogesh M
how about if i distribute the software. does every user had to do it. Benoû‘ Touron <[EMAIL PROTECTED]> wrote: Hi, In a terminal window: export PATH=$PATH:/wherever/you/want ./yourapp Ben >I have the executable in a folder where i have few >icon images used by the program, whe i run the pro

Re: If i open app in konqueror images dont load

2005-07-19 Thread Benoît Touron
You can modify the environment in your setup script, or maybe there is a parameter in KDE somewhere (but I don't know). Ben how about if i distribute the software. does every user had to do it. Benoû‘ Touron <[EMAIL PROTECTED]> wrote: Hi, In a terminal window: export PATH=$PATH:/wherever/yo

Re: variables in g_signal_connect

2005-07-19 Thread Christopher Anderson
Jeez, the question is answered already! Chris On 7/14/05, Gyözö Both <[EMAIL PROTECTED]> wrote: > use GINT_TO_POINTER: > > Horizontal_Zoom_In_clicked(GtkWidget *widget, gpointer gt) > g_signal_connect ((gpointer) Horizontal_Zoom_In, "clicked", >G_CALLBACK > (H

Re: g_list behavior: what am I doing wrong?

2005-07-19 Thread Christopher Anderson
Ah, I see. Thanks for showing that pitfall, I could easily have done the same thing. Cheers, Chris Anderson On 7/14/05, Allin Cottrell <[EMAIL PROTECTED]> wrote: > On Thu, 14 Jul 2005, Christopher Anderson wrote: > > > I am curious, could you explain your solution? > > OK, at the cost of some e

Re: Question: Making a Gtk+ application interacts with octave

2005-07-19 Thread Muthiah Annamalai
Hello everyone! & Dear Mr Martinez, I dont know if what youre looking for is, Octave-GTK+, but have a look at this site: http://octave-gtk.sf.net/ and our project. I hope my project is useful for you. For an idea see http://octave-gtk.sourceforge.net/screenshot.html Octave-GTK+ is a set of GTK+

Re: transperent color for drawing area

2005-07-19 Thread Christopher Anderson
What do you mean by transparent? What is "behind" the drawing area that you would like to show through? Chris On 7/18/05, Yogesh M <[EMAIL PROTECTED]> wrote: > when creatin a new drawing area, it starts with a > black bg. How to have a transperent background. > >

GTK_STOCK_CLOSE Button Without Label

2005-07-19 Thread Annamalai Gurusami
Hi All. Currently I am working on a GTK+ application which contains a GtkNotebook. The pages for a GtkNotebook will be added and removed/hidden dynamically. To allow the end user to close tabs, I am adding button to the title or label portion of the GtkNotebook. I would like to use the stock bu

Re: GTK_STOCK_CLOSE Button Without Label

2005-07-19 Thread Tristan Van Berkom
Annamalai Gurusami wrote: Hi All. Currently I am working on a GTK+ application which contains a GtkNotebook. The pages for a GtkNotebook will be added and removed/hidden dynamically. To allow the end user to close tabs, I am adding button to the title or label portion of the GtkNotebook. I wo

Re: Question: Making a Gtk+ application interacts with octave

2005-07-19 Thread Muthiah Annamalai
Hello! You can use this code to show a image, in a persistent way. - #! /usr/bin/octave -q % (C) July 2005, Muthiah Annamalai % % Ensure: % %matrix you pass to gtk_imshow_set() has only % elements with normalized to value [0,1]. % %size of window m

Re: getting real widget sizes how and when

2005-07-19 Thread Karl H. Beckers
Tristan Van Berkom schrieb: [...] Yes, "configure-event" should work for you, its emitted for resizes in general, but I believe there is an initial configure-event fired at allocation time. yup ... works, moving stuff to an event handler (actually I'm using size-allocate) and adding twice

text_view + vscrollbar communication

2005-07-19 Thread David Morse
How do I make a gtk_text_view react to a gtk_scrollbar? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list