maslan
:)
hi all
i wanna 2 know something
when i program in gtk+ & create the widgets,menu ,etc
in a file called interface.c
& the callbacks functions in callback.c
as i uses glade
so when i wanna to use an widget in a func in callback
i need 2 use lookup_widget (a func. in support.c)
so i'm asking is i can make my widget publics to be used & accessed from any other function in another files
can i use extern or what ?
send me an example source.
salam ;)
hi all
i wanna 2 know something
when i program in gtk+ & create the widgets,menu ,etc
in a file called interface.c
& the callbacks functions in callback.c
as i uses glade
so when i wanna to use an widget in a func in callback
i need 2 use lookup_widget (a func. in support.c)
so i'm asking is i can make my widget publics to be used & accessed from any other function in another files
can i use extern or what ?
send me an example source.
salam ;)