Re: [BLACKBOX] Call GTK from blackbox

From: [at]} <Frank>
Date: Sun, 30 Jan 2011 14:24:17 -0200

----boundary-LibPST-iamunique-674043135_-_-
Content-type: text/plain

Thanks for the response Wojtek, but I know how to call GTK from a C, or
even from a OO2C program. My problem is that there is no main procedure
in Blackbox which would give me meanigful values for the two parameters.

But looking ahead in this list, Romiras seems to have a solution.

-- 
Frank Hrebabetzky		+55 / 48 / 3235 1106
Florianopolis, Brazil
On 01/30/2011 12:08 AM, Wojtek Skulski wrote:
> On Sat, 29 Jan 2011, Frank Hrebabetzky wrote:
>
>> I want to use GTK with Blackbox. Therefore I must call
>>
>> void gtk_init (int *argc, char ***argv);
>>
>> What would be the corresponding interface procedure?
>> Where do I get argc, argv from?
>
> Frank:
>
> I do not know about gtk_init, but typically my Linux programs start like
> this:
>
> int main(int argc, char **argv)
>
> The first argument tells the number of command-line arguments. The 2nd
> argument is a pointer to array of strings, which are the arguments.
>
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-674043135_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFRoYW5rcyBmb3IgdGhlIHJlc3BvbnNlIFdvanRl
aywgYnV0IEkga25vdyBob3cgdG8gY2FsbCBHVEsgZ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yBzdGFydCBsaWtlXHBhcg0KPiB0aGlzOlxwYXINCj5ccGFy
DQo+IGludCBtYWluKGludCBhcmdjLCBjaGFyICoqYXJndilccGFyDQo+XHBhcg0KPiBUaGUgZmly
c3QgYXJndW1lbnQgdGVsbHMgdGhlIG51bWJlciBvZiBjb21tYW5kLWxpbmUgYXJndW1lbnRzLiBU
aGUgMm5kXHBhcg0KPiBhcmd1bWVudCBpcyBhIHBvaW50ZXIgdG8gYXJyYXkgb2Ygc3RyaW5ncywg
d2hpY2ggYXJlIHRoZSBhcmd1bWVudHMuXHBhcg0KPlxwYXINClxwYXINClxwYXINCi0tLS1ccGFy
DQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNL
Qk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hccGFyDQp9
----boundary-LibPST-iamunique-674043135_-_---
Received on Sun Jan 30 2011 - 17:24:17 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:18 UTC