Re: GTK Action Handler
- From: Michael Cronenworth <mike cchtml com>
- To: gtk-app-devel-list gnome org
- Subject: Re: GTK Action Handler
- Date: Thu, 31 Dec 2009 10:08:39 -0600
dhk wrote:
How can I reuse these callbacks?
Use user_function( GtkWidget *widget, gpointer data ) instead of
explicitly setting a class. Then cast widget as whatever you need, eg.:
GTK_BUTTON( widget ) inside of your callback.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]