GUI for a module

This forum is about all development around libVLC.
ASantosVal
New Cone
New Cone
Posts: 9
Joined: 18 Jan 2017 12:27

GUI for a module

Postby ASantosVal » 18 Jan 2017 12:46

I have planned to develop a module for VLC, so first I'm trying to understand everything I need step by step. I have successfully compiled VLC and build a "hello world" module following this guide: https://wiki.videolan.org/Hacker_Guide/ ... _a_Module/

Now I would like to create a GUI for that module and to be able to launch it from the default VLC GUI menus. I'm struggling with it because I have found no guides on the web and no examples on the VLC code.

English is not my native language, but I've read all forum descriptions tried to find the correct section to post this, I hope it's the correct place. If not, I'm really sorry.

Could someone, please, either give me a brief explanation of how to do this or recommend me some documentation/example (like a module that already does this)? Any kind of information would be highly aprecciated.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: GUI for a module

Postby Jean-Baptiste Kempf » 20 Jan 2017 00:29

What kind of GUI do you need?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ASantosVal
New Cone
New Cone
Posts: 9
Joined: 18 Jan 2017 12:27

Re: GUI for a module

Postby ASantosVal » 20 Jan 2017 10:24

For the moment I'm just learning, so I just want to do a small window that will ask your name and then show a message like "Hello mike!". I also want to be able to launch taht window from the VLC menus.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: GUI for a module

Postby Jean-Baptiste Kempf » 22 Jan 2017 23:51

Use the dialog_ API
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ASantosVal
New Cone
New Cone
Posts: 9
Joined: 18 Jan 2017 12:27

Re: GUI for a module

Postby ASantosVal » 25 Jan 2017 12:47

Thank you!

For the future, which other options there are? Let's say I want to create a window with my own buttons, lists, etc.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: GUI for a module

Postby Jean-Baptiste Kempf » 10 Feb 2017 14:16

lua extension
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests