Re: A slight flicker...any general rules

2000-09-26 Thread Havoc Pennington
Antony Stace <[EMAIL PROTECTED]> writes: > > I have a GTK app. It has a window with a table in it. This table has > about 20 event boxes in it. If I change the colour or one of these > event boxes every 0.5 seconds the whole of the table flickers a little. > Can someone suggest any general r

A slight flicker...any general rules

2000-09-26 Thread Antony Stace
Hi Folks I have a GTK app. It has a window with a table in it. This table has about 20 event boxes in it. If I change the colour or one of these event boxes every 0.5 seconds the whole of the table flickers a little. Can someone suggest any general rules/pointers to avoid flickering. Cheers

Re: Mouse Pointer

2000-09-26 Thread Havoc Pennington
Antony Stace <[EMAIL PROTECTED]> writes: > [snip] > GtkWidget *switchW; > GdkCursor* TelCursor = gdk_cursor_new(GDK_HAND2); > switchW = gtk_window_new (GTK_WINDOW_POPUP); > gdk_window_set_cursor(switchW->window, TelCursor); > [snip] > > > and here is the error > oakura:/home/kermit> /tmp/s

Re: Mouse Pointer

2000-09-26 Thread xvw
On Wed, 27 Sep 2000, Antony Stace wrote: > Date: Wed, 27 Sep 2000 11:00:22 +0900 > From: Antony Stace <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED] > Subject: Re: Mouse Pointer > > I have decided to go with the default mouse pointers that are supplied >

Re: Mouse Pointer

2000-09-26 Thread Antony Stace
I have decided to go with the default mouse pointers that are supplied with X, but I am having problems. Can someone please tell me where I am going wrong with the following code [snip] GtkWidget *switchW; GdkCursor* TelCursor = gdk_cursor_new(GDK_HAND2); switchW = gtk_window_new (GTK_WINDOW_P

Mouse Pointer

2000-09-26 Thread Antony Stace
Hi Folks I want to change what the mouse pointer looks like when the mouse pointer is over my GTK app. Can anyone tell me a place on the web which has a collection of mouse pointers in a format which I can incorporate into my program. Cheers Tony __

Pixmap vs. Image

2000-09-26 Thread Meghal Harish Varia
Hello, I am trying to figure out which of GdkPixmap and GdkImage I should be using for my app. I am programming a gui for a scrabble game (requiring the loading of the board image, and the letter tiles). Also: where does Imlib fit into this scheme? are GtkImage and GtkPixmap wrapper fun

scrolled window viewport area?

2000-09-26 Thread Deborah Swayne
How do I get the dimensions of the viewing area of a scrolled window? By that I mean the size of the area that's currently visible, not the total possible size. The scrolled_window holds an event box, which holds a table. Is this what I need? It doesn't seem to work the way I thought it should

Re: GtkCTree

2000-09-26 Thread Charlie Schmidt
- there is actually a surprising amount of documenation, both the header file and the c file are quite helpful, as is the API: http://developer.gnome.org/doc/API/gtk/gtkctree.html as for sorting, you might check gtk_ctree_sort_node(GtkCTree *ctree,GtkCTreeNode *node);and gtk_ctree_sort_recu

Gnome portability

2000-09-26 Thread Meghal Harish Varia
Are the gnome libs portable across all Unix platforms? If not, does anyone know what the exception cases are? I want to program a GUI game that is portable across all unix/linux platforms. Am I better off sticking with gtk+ or something else maybe? Thanks for your help, Meghal __

Gnome canvas example?

2000-09-26 Thread David J. Topper
Hi all, 1. Are there gnome mailing lists? I didn't see any reference on developer.gnome.org. 2. Are there some better examples than those on developer.gnome.org? I'm parsing through the gnome-canvas example included with the library ... the arrowhead one to be specific. Can someone fill me o

GtkCTree

2000-09-26 Thread Shippy!
Could anybody send me an example of a CTree in action? I'm having a bit of trouble getting mine to work the way I would like and there's no documentation available on the widget. Also, are there any helper functions for sorting the nodes in a CTree? Jeff "Shippy" Shipman E-Mail: [EMAIL PROTEC

Re: CList/CTree and Pointer Grabs

2000-09-26 Thread Vlad Harchev
On Tue, 26 Sep 2000, Allan Black wrote: > Thanks, Vlad ... > > Using an idle func doesn't help, unfortunately - the idle func is still > invoked while the clist holds the grab. Hmm, yes, I've tested it. The pointer seems to be really grabbed if sel mode is GTK_SELECTION_BROWSE. I didn't know t

GtkCTree Scrolls

2000-09-26 Thread Fabiano Fantini Vitale
hi, when i use the gtk_ctree_select function, if the line(GtkCTreeNode) before was passed to the function don't appear in the screen because the scroll, after the function this line continue don't appear. how i can resolve this problem? thanks -- Fabiano Fantini Vitale <[EMAIL PROTECTED]> Con

Re: CList/CTree and Pointer Grabs

2000-09-26 Thread Allan Black
Thanks, Vlad ... Using an idle func doesn't help, unfortunately - the idle func is still invoked while the clist holds the grab. The problem, it turns out, is using GTK_SELECTION_BROWSE as the clist selection mode. Browse mode makes the clist emit the signal while it holds the grab. The code at

Re: Underlined characaters on GtkButton label?

2000-09-26 Thread kelch
>>Hi all, >>Having a great time learning GTK+, but have a question. I've >>implemented key accelerators for the application I'm working on, >>specifically for buttons. >>I'd like the text on the buttons to include an underline of the >>character that is the

Fw: GTK reference and colours

2000-09-26 Thread Tom Knowles
> > Is there a good reference document for GTK grouping functions with some > > explanation and examples. I find it very time consuming trying to find > > simple functionality and alternatives. I still cant properly colour my > > widgets. Any good examples or help welcome. > > > __

GdkPixmap

2000-09-26 Thread Meghal Harish Varia
Hello, Does anyone know how I can find the size of a GdkPixmap, and what the best way is to scale a GdkPixmap? Thanks in advance, Meghal ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

RE: Installing on Solaris 5.7 - LD_LIBRARY_PATH problem

2000-09-26 Thread Dugas, Alan
In the csh simply type: setenv LD_LIBRARY_PATH "path1:path2:..." If the environmental variable is not set (i.e. exists) it will automatically create and set the variable to the path name(s) using the above syntax. In your case use the path name to GLIB. Hope this helps.

Re: How to beep?

2000-09-26 Thread Chris Wareham
Zhang wrote: > > Dear Sir. > I want to beep( X window , GNU¡¡C), How to program it? > Can you help me? > > yours. > Robert. 9.25 > [cwareham@valkyrie gdk]$ cd /usr/local/include/gdk [cwareham@valkyrie gdk]$ grep beep * gdk.h:114:void gdk_beep (void); [cwareham@valkyrie

How to beep?

2000-09-26 Thread Zhang
Dear Sir.     I want to beep( X window , GNU¡¡C), How to program it?     Can you help me?         yours.             Robert. 9.25    

GLIB under HP-UX

2000-09-26 Thread Bernd Demian
Hi, we work succesfully which glib 1.3 unter Digital Unix 4.0d, now we wont to install glib which HP-UX 11.0 and when I type "make check" as an normal user, I get following error message: GThread-ERROR **: file gthread-posix.c: line 335 (g_thread_set_priority_posix_impl): error Not owner during p

Underlined characaters on GtkButton label?

2000-09-26 Thread Joe Kelch
Hi all, Having a great time learning GTK+, but have a question. I've implemented key accelerators for the application I'm working on, specifically for buttons. I'd like the text on the buttons to include an underline of the character that is the keyboard accelerator. Easy to do on a menu item,

Installing on Solaris 5.7 - LD_LIBRARY_PATH problem

2000-09-26 Thread Neeraj Kumar
Hi,   I know this question has been answered in the archive. But in solaris 5.7 I do not see any environment variable as LD_LIBRARY_PATH. I was wondering how to solve this problem. Given below is the error.   checking for GLIB - version >= 1.2.8... no*** Could not run GLIB test program, che

Rewrapping a label as widget size change?

2000-09-26 Thread Preben Randhol
Is it possible to get the Label widget to rewrap it's text when the size of the widget changes? If I make the window and thus the Label widget wider the text is not rewrapped. -- Preben Randhol - Ph.D student - http://www.pvv.org/~randhol/ "i too once thought that when proved wrong that i lost s

place holder

2000-09-26 Thread Edo Kondologit
If i would like make something such place holder like just in power point .. there is 8 point,four in the corner in the box 4 in each midle in between corner and i can drag the object what i should do ? --Edo ___ gtk-list mailing list [EMAIL PROTEC