Re: Next, previous button????

2001-10-18 Thread Paul Davis
>I don't really quite get you, Paul. Are there any examples which I can refer >to? this is a brief summary. its not working code. if you don't understand this, i suggest you take a while to do some more fun projects with GTK+ until you understand it more. GtkWidget *notebook; GtkWidge

Re: Next, previous button????

2001-10-18 Thread Ricky Foo
I don't really quite get you, Paul. Are there any examples which I can refer to? Can some more people help me out on this because I am really at a loss. Thanks! Ricky >From: Paul Davis <[EMAIL PROTECTED]> >To: "Ricky Foo" <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: Next, previous

GPOINTER_TO_UINT(NULL) == 0 ?

2001-10-18 Thread rsteinke
Is it possible to assume that GPOINTER_TO_UINT(NULL) == 0 across all platforms? Whether this is true or false, it might also be a good thing to mention in the docs. Ron Steinke ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/

GtkSpinButton & modified arrow keys

2001-10-18 Thread Skip Montanaro
I'm using Gtk1.3.9 (well, whatever comes out of CVS). On many entry-like widgets I would like to bind the up/down arrow keys with modifiers (control or alt) to some application-specific functions. I'm experimenting with SpinButton right now. It's frustrating because the code in gtkspinbutton.c

Re: In GTK, can I use a function in a lower hierarchy?

2001-10-18 Thread Paul Davis
1) !!!TURN OFF HTML FORMATTED MAIL!!! it is intensely annoying to those of us who use text-based email systems. plain text email is, by contrast, perfectly readable to those of you using web browsers for email. 2) look in gdk/gdkx.h for some helpful macros and functions. --p ___

In GTK, can I use a function in a lower hierarchy?

2001-10-18 Thread Byron Chiu
Hi, I am new to GTK programming. And I need some help on this because I coudn't find any similiar information for it.   In Xlib, there is a function called XTestFakeKeyEvent(display, keycode, is_press, delay) from X extendsion XTest. I am wondering if there are any ways to use it in a program writt

Re: Playing song...!

2001-10-18 Thread Andreas Scherf
Am Mittwoch, 17. Oktober 2001 09:25 schrieben Sie: > Hey all, thanx for the response regarding playing song. > > fine, Actually i wanted to play a song just by calling XMMX. how can i > write a function using system calls and how to attach to the button?? I think that using a command tool like mpg

Re: Get GtkType without creating instance?

2001-10-18 Thread Rodrigo Moya
On Thu, 2001-10-18 at 07:32, Neil Conway wrote: > Hi all, > > How do I get the GtkType for a specific sub-class GtkObject, without > first needing to create an instance of that GtkObject and then use > GTK_OBJECT_TYPE(obj) ? > you can just call the _get_type function for that class, which will r