GtkHScale: Jump-to-position by left-click instead of middle-click?

2011-11-19 Thread Phong Cao
Hello everybody, I am new to GTK. I am trying to develop a small music player using GTK GStreamer. I use GtkHScale for the progress bar, which is responsible for updating the track progress allow user to move to different time position in the track. Everything works fine until now, except that

Re: GtkHScale: Jump-to-position by left-click instead of middle-click?

2011-11-19 Thread David Nečas
Was it really necessary to cross-post this question to *four* mailing lists? On Sat, Nov 19, 2011 at 07:55:59AM -0500, Phong Cao wrote: I use GtkHScale for the progress bar, which is responsible for updating the track progress allow user to move to different time position in the track.

Need help with window-state-event

2011-11-19 Thread Dipesh Sudershan
How do i check a window is maximized or not? static gboolean window_state_event_handler(GtkWidget *window, GdkEventWindowState *event) { } GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL); g_signal_connect(window, window-state-event, G_CALLBACK(window_state_event_handler), NULL); I'm