C parse error, why?

2000-08-25 Thread Nengming Zhang
Sorry to ask this simple question! I don't do how ":" works In C program like the following example: int y:1; /* parse error*/ struct _Test { int x :1;/* no parse error report*/ } ___ gtk-list mai

Pixels

2000-08-25 Thread Trinity
Hi All, I know I asked before. Here's where I am - I have a window, and a drawing area. What I really want to do is make a pixel at co-ordinates (x,y) a certain RGB or Grayscale value. Any help would be greatly appreciated. Please help? Thanks Trin ___

GdkPixbuf quickie

2000-08-25 Thread Derek Simkowiak
Will GdkPixbuf be shipped with Gtk2? Or will it be shipped separately for the forseeable future? --Derek ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

GtkHRuler values not displaying

2000-08-25 Thread Dugas, Alan
Has anyone tried to use max/min values < abs(1) with a gtkhruler? When I try to use a max value < abs(1) the ruler displays but there are no values placed at the tick marks. With values > abs(1) everything seems to work OK. Has anyone run into this before? --

Re: How to create scales for range widgets?

2000-08-25 Thread acano
On Tue, 22 Aug 2000 20:17:58 -0400, "David J. Topper" <[EMAIL PROTECTED]> wrote: > Vlad Harchev wrote: > > > Could you post your stripped-down source (probably with main function) to > > help us helping you? > > It's a bit hard to strip down but I'll try. The following compiles with: > > gcc

Re: GtkEntry vs. Alt-key menu shortcuts

2000-08-25 Thread Mark Leisher
Eric> I was pretty sure you were a some-flavor-EMACS user, since that's Eric> the only mailtool I know that can do the name-indent trick for Eric> quoting in responses. But, decided to write as if you weren't, just Eric> in case. The choir rarely minds hearing a decent sermon, i

Add widgets to glade

2000-08-25 Thread anil
How to add additional widgets to glade ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Text of a gtk_ctree_node

2000-08-25 Thread Vlad Harchev
On Fri, 25 Aug 2000, Ottavio Campana wrote: > On Thu, Aug 24, 2000 at 09:46:14PM +0500, Vlad Harchev wrote: > > As I remember your code, you should use 'text' but not 'string' since > > 'string' points to unallocated memory when g_message is called. Could you > > also use printf("%s\n",text); >

Re: CheckButton

2000-08-25 Thread Vlad Harchev
On Fri, 25 Aug 2000, Ottavio Campana wrote: > Is there a funcition that return 0 or 1 (or something similar) either > the checkbutton is checked or not? Can I use gtk_toggle_button_get_active() ? 'GTK_TOGGLE_BUTTON(w)->active' will tell you whether it's checked (works for toggle and check bu

Which signal?

2000-08-25 Thread Ottavio Campana
I want to do an action when the user browses a particular druidpagestandard. Which signal should I use? focus_in_event or show or visibility_notify_event or what? Bye -- Non c'è più forza nella normalità, c'è solo monotonia. ___ gtk-l

Re: Text of a gtk_ctree_node

2000-08-25 Thread Ottavio Campana
On Thu, Aug 24, 2000 at 09:46:14PM +0500, Vlad Harchev wrote: > As I remember your code, you should use 'text' but not 'string' since > 'string' points to unallocated memory when g_message is called. Could you > also use printf("%s\n",text); Here's the code if you don't remember it: void on_but

CheckButton

2000-08-25 Thread Ottavio Campana
Is there a funcition that return 0 or 1 (or something similar) either the checkbutton is checked or not? Can I use gtk_toggle_button_get_active() ? Bye -- Non c'è più forza nella normalità, c'è solo monotonia. ___ gtk-list mailing list [EMAIL PROT

Re:problem with compiling base.c ( Francisco Pérez )

2000-08-25 Thread PACO-MAIL
Hi, my problem is the same :-C I think that the library isn´t intall, but I have the command gtk-config in my computer, and this command shows the directory. When you know somethink, you could say. I´m sorry but my english is very bad. ___