Re: Signals & Callbacks - Help!! Part 2



On Thu, Jul 07, 2005 at 03:07:03AM -0000, jalkadir gosonic ca wrote:
> I realize that I am very new at using GTK+, but what is the point of
> having a function that accepts some parameters if I cannot pass any
> variables to that function.

You can pass one arbitrary pointer (in place of your NULL).
Nothing more is necessary.  You can a pass pointer to
arbitrarily complex object or struct containing all data the
function needs.

Yeti


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]