Re: does there exist a "graph" widget say to do math plots in GTK+?

2002-07-31 Thread Biswapesh Chattopadhyay
> > I wrote code in expose handler to draw and update > 4 scientific graphs in GTK+ > > I am getting bogged down in calculating positions > and sizes of ticks, borders, axes labels, etc. > > Surely there must be a graph widget to escape all this > low level tediousness in GTK+? Yes, there

does there exist a "graph" widget say to do math plots in GTK+?

2002-07-31 Thread Christian Seberino
I wrote code in expose handler to draw and update 4 scientific graphs in GTK+ I am getting bogged down in calculating positions and sizes of ticks, borders, axes labels, etc. Surely there must be a graph widget to escape all this low level tediousness in GTK+? Chris --

Re: table problem

2002-07-31 Thread vyadav
hi i want to write text in tabular formso can this gtk-table be used for this purpose please help if anybody knows the answer. THANKS IN ADVANCE

Re: "drawingarea->window" question.... what is it set to?

2002-07-31 Thread Paul Davis
>Paul > >If one really wanted to set this GdkWindow for some drawingarea >I found a way to do it!!! > >See this little known gem gtk_widget_realize(). >(e.g. gtk_widget_realize(myDrawingArea); ) > >When I ran this function it gave me a warning >about the "parent" not being set. > >Do you know

Re: Urgent help on expose-event under gtk-2.0 win32

2002-07-31 Thread Steph
Hi, What are you using to trigger the expose event? I've seen some situations on win32 where queue_draw() needed to be called (but not in the same script on *nix). - Original Message - From: "Matteo Frigerio" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 31, 2002 3:3

Initial size of GtkDrawingArea or GtkScrolledWindow

2002-07-31 Thread Sal Valente
How can I set an initial / default size for a GtkDrawingArea or a GtkScrolledWindow? gtk_widget_set_usize() sort of works, but then the user can't make the window smaller than the initial size. (I'm using gtk+ 1.2.) Thanks. Sal ___ gtk-list mailing

Adding Input Method for Vietnamese

2002-07-31 Thread pclouds
Hello The input method system in Gtk+ 2.0 is very useful, especially for Vietnamese. However, VIQR input method is not easy to type. There are two other Vietnamese input methods, which are popular in Vietnam. I want to implement those in Gtk+ Could anyone give me some clue? (I tried to modify imv

Can't correctly set data to an object (button)

2002-07-31 Thread philippe . vivarelli
Hi all, Well I have toggle button to wich I attached a default string ("DEFAULT") using the gtk_object_set_user_data function. In the callback toggle function I reassign this string regarding the state of the button. I pick up the new string from a gtk_entry. The problem is when I get the at

treeview and forcing an edit on a cell

2002-07-31 Thread Steve Przepiora
Hello All, I need to begin an edit on a cell in a treeview from a callback and don't see a way to do it. Does any one know of an example of this? Steve ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-li

Immovable columns

2002-07-31 Thread James Durie
Hi, I have a situation where I want to display data in a tree view and have the leftmost columns not scroll. e.g. I have five columns abcde with only four columns visible (abcd) pressing right on the horizontal scrollbar should scroll bcde, possibly by an entire column at a time. Giving acde vis

Re: help on RGB to jpeg

2002-07-31 Thread David Neary
simith nambiar wrote: > hi > does anyone know of a library for converting RGB24 > data into jpeg for Linux. Look up jpeglib. > can that be done using gtk only ? If you want to have a look at how the GIMP does it, the file you're looking for in the source tree is plug-ins/common/jpeg.c - you

Compilation ERROR..Please Help

2002-07-31 Thread ajay kumar
I am trying to compile hello world prg.But its giving the error-"gtk/gtk.h :No such file or directory" Regards, Ajay __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com __

Re: "drawingarea->window" question.... what is it set to?

2002-07-31 Thread Christian Seberino
Paul If one really wanted to set this GdkWindow for some drawingarea I found a way to do it!!! See this little known gem gtk_widget_realize(). (e.g. gtk_widget_realize(myDrawingArea); ) When I ran this function it gave me a warning about the "parent" not being set. Do you know what the "pa

What is "parent" of a widget like drawingarea set to?

2002-07-31 Thread Christian Seberino
I just tried to do gtk_widget_realize(myDrawingArea) and GTK+ complained about the "parent" of this widget not being set. *What is the parent of widget set to*? Chris -- ___ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2363 53560 Hull Street S

Re: "drawingarea->window" question.... what is it set to?

2002-07-31 Thread Paul Davis
>I have noticed that "drawing areas" have an element >called "window" that only gets set when drawing areas >are _packed_ into a hbox or vbox. > >Does anyone know what "drawingarea->window" points too?? > >I have printed out addresses of various widgets >to see if drawingarea->window points to the

"drawingarea->window" question.... what is it set to?

2002-07-31 Thread Christian Seberino
I have noticed that "drawing areas" have an element called "window" that only gets set when drawing areas are _packed_ into a hbox or vbox. Does anyone know what "drawingarea->window" points too?? I have printed out addresses of various widgets to see if drawingarea->window points to them but I

Re: table problem

2002-07-31 Thread Paul Davis
>i want to make a table in gtk,so that i can send the parameters for >row and coloumns to fill data in table.. > can it possible ... GtkTable. now go RTFM. > reply soon.. i would imagine that this type of comment at the end of your mail is construed by most native english s

Urgent help on expose-event under gtk-2.0 win32

2002-07-31 Thread Matteo Frigerio
Hello at all the list I have a big problem: My program use the "expose-event" to draw a rectangle around a widget (the code is gtk_signal_connect_after(obj, "expose-event", myfunc, mydata)). All works so good under Linux (the result is like glade). But under win32 don't go. Someone can help me?

Sr. GTK Systems Programmer - US - NY - New York

2002-07-31 Thread Donna M. Carroll
POSITION: Senior GTK Systems ProgrammerLOCATION: New York, NYJOB TYPE: Permanent, In-houseJOB ID #: MA32-882 DESCRIPTION: Our client, an international news and media organization, is seeking a Senior GTK Systems Programmer. Developer must have intimate familiarity with GTK and Gnome intern

Re: Can't correctly set data to an object (button)

2002-07-31 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > Well I have toggle button to wich I attached a default string ("DEFAULT") > using the gtk_object_set_user_data function. > > In the callback toggle function I reassign this string regarding the state > of the button. > > I pick up the new string from a gtk_entr

gtk basic question

2002-07-31 Thread simith nambiar
hi there, i have a window which is in a local fn, i have 2 buttons and 2 entry fields, when i click on the button how do i get the entry field text or value i know there is a way out - without declaring the entry fields as global! but i dont know ! in glade lookup_widget --sort of~ how

Can't correctly set data to an object (button)

2002-07-31 Thread philippe . vivarelli
Hi all, Well I have toggle button to wich I attached a default string ("DEFAULT") using the gtk_object_set_user_data function. In the callback toggle function I reassign this string regarding the state of the button. I pick up the new string from a gtk_entry. The problem is when I get the a

Re: table problem

2002-07-31 Thread John . Cupitt
[EMAIL PROTECTED] wrote: > i want to make a table in gtk,so that i can send the parameters for > row and coloumns to fill data in table.. > can it possible ... > reply soon.. Hi, sure, use the table widget. http://www.gtk.org/tutorial/sec-packingusingtables.html John =

table problem

2002-07-31 Thread vyadav
hi all, i want to make a table in gtk,so that i can send the parameters for row and coloumns to fill data in table.. can it possible ... reply soon.. regards, vinita..

Immovable columns

2002-07-31 Thread James Durie
Third attempt with this mail. There was some confusion with my email address coming out as [EMAIL PROTECTED] even though I set it to [EMAIL PROTECTED] If you get this multiple times then I apologise. --- Hi, I have a situation where I want to display data in a tree view and have the

Re: Question about GtkWidget pointer?

2002-07-31 Thread Sven Neumann
Hi, "David Wang (Wang Xin-lu)" <[EMAIL PROTECTED]> writes: > I wrote a function to create menu: > void setupMenu(GtkWidget *window, GtkWidget *menu_bar, GtkWidget *menu_vbox, > GtkWidget *root_menu, GtkWidget *menu, char *labelname, gboolean boo) > [...] > why GtkWidget pointer can not

Text always selected in entry

2002-07-31 Thread Egon Andersen, Talura
Hi, GTK2: It seems that the default text in an entry is always selected when entering the field. How do I prevent that from happening. I've tried gtk_editable_select_region with start and end set to 0, but this does not help. Do someone have an idea about how I get past this problem? /Egon _