Flashlight application
#14
(07-02-2020, 12:46 AM)devrtz Wrote: I myself have never really dived into php and perl. Python is cool though, but sometimes I get confused by all the magic that happens in the background.
In C I feel there is no magic involved and I like being in total control (also allowing you to make stupid mistakes of course Wink ).

Anyway: In case you are interested, have a look at this MR.

Ah excellent, thank you for the addition; Super quick with an update to the repo as well!

Indeed there is full control and allowing all the mistakes.
I see the new function, and an variable for the object class being set.

Now it is not as clear to me how the function is attached to the events. For python I would have something like
Code:
window.connect("destroy", quit_app())

But I cannot tell what would be the equivalent / replacement of that line in C.
I deduce it to be
Code:
object_class->finalize = finalize;

and read it like if gtk object class is finalized run the finalize function.
Is this the case?


Messages In This Thread
Flashlight application - by a-wai - 06-30-2020, 02:42 AM
RE: Flashlight application - by patrickjquinn - 06-30-2020, 05:06 AM
RE: Flashlight application - by antiX-Dave - 07-01-2020, 06:59 AM
RE: Flashlight application - by chris_02 - 06-30-2020, 05:12 AM
RE: Flashlight application - by bingo600 - 06-30-2020, 09:06 AM
RE: Flashlight application - by patrickjquinn - 06-30-2020, 09:33 AM
RE: Flashlight application - by JustineSmithies - 06-30-2020, 11:56 AM
RE: Flashlight application - by 0x070 - 06-30-2020, 06:19 PM
RE: Flashlight application - by DarkManiels - 06-30-2020, 10:18 PM
RE: Flashlight application - by bcnaz - 07-01-2020, 04:07 PM
RE: Flashlight application - by devrtz - 07-01-2020, 04:13 PM
RE: Flashlight application - by antiX-Dave - 07-01-2020, 09:11 PM
RE: Flashlight application - by devrtz - 07-02-2020, 12:46 AM
RE: Flashlight application - by antiX-Dave - 07-02-2020, 11:15 AM
RE: Flashlight application - by devrtz - 07-02-2020, 01:12 PM
RE: Flashlight application - by arturo2bodegas - 07-02-2020, 07:18 PM
RE: Flashlight application - by devrtz - 07-02-2020, 09:44 PM
RE: Flashlight application - by wibble - 07-03-2020, 06:33 AM
RE: Flashlight application - by bcnaz - 07-02-2020, 07:38 PM
RE: Flashlight application - by arturo2bodegas - 07-03-2020, 02:10 PM
RE: Flashlight application - by bcnaz - 07-04-2020, 04:13 AM
RE: Flashlight application - by antiX-Dave - 07-06-2020, 09:15 PM
RE: Flashlight application - by cefre00 - 07-07-2020, 01:33 AM
RE: Flashlight application - by wibble - 07-07-2020, 09:20 AM
RE: Flashlight application - by cefre00 - 07-08-2020, 07:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto start application on Phosh login Zebulon Walton 8 5,065 10-14-2023, 06:29 AM
Last Post: alaraajavamma
  Flashlight/Torch Barugon 6 5,795 10-18-2021, 08:31 AM
Last Post: ragreenburg
  How Do I Perform a Chatty Application Reinstall? rrholmes 2 2,840 07-13-2021, 01:11 AM
Last Post: rrholmes
Sad Problems with Twinkle SIP Application, strerror_r is not available phone123 0 1,797 07-04-2021, 12:58 PM
Last Post: phone123
  Application "Software" crashes when i tap on any category User 20385 0 1,886 11-20-2020, 03:59 AM
Last Post: User 20385
Wink Rockbox as an Application on Pinephone c3l@ 2 3,750 10-14-2020, 06:46 PM
Last Post: visiblink

Forum Jump:


Users browsing this thread: 8 Guest(s)