I want to learn about widget session id. I'm still puzzled when reading that in manual. Maybe I can understand better when I see it through video tutorial.
Do you have video tutorial about it?
Widget Session ID Video Tutorial
Re: Widget Session ID Video Tutorial
Could you explain what you're referring to? I can't remember any place where wxWidgets uses session ids.
Use the source, Luke!
Re: Widget Session ID Video Tutorial
What I mean is window id. I'm sorry. I was bit puzzle then.
Re: Widget Session ID Video Tutorial
A window id is just a unique integer that identifies a window. In some cases, e.g. for a wxFrame you usually don't need it, so you just pass wxID_ANY when you create it.
For other controls, e.g. wxButton or menu entries you need it to know which button or menu entry the user has selected, so you can perform the correct action in your program.
If you study the "minimal" sample that comes with wxWidgets, you'll see that there are only two unique IDs used, "Minimal_Quit" and "Minimal_About". If you do a text search for these IDs in the source file, you should be able to understand their purpose.
For other controls, e.g. wxButton or menu entries you need it to know which button or menu entry the user has selected, so you can perform the correct action in your program.
If you study the "minimal" sample that comes with wxWidgets, you'll see that there are only two unique IDs used, "Minimal_Quit" and "Minimal_About". If you do a text search for these IDs in the source file, you should be able to understand their purpose.
Use the source, Luke!
Re: Widget Session ID Video Tutorial
I'll try to study "minimal" to understand it well. Thank you!