Constants for Document.Show() not available through Python

Discussion about using Python with libRocket.

Constants for Document.Show() not available through Python

Postby Nemesis13 on Wed Feb 22, 2012 5:42 am

Hi,
the constants as described on the bottom of this page: http://librocket.com/wiki/documentation ... /Documents
are not available from Python. Looks like the bindings didn't include the enum.
Nemesis13
 
Posts: 4
Joined: Wed Feb 22, 2012 5:32 am

Re: Constants for Document.Show() not available through Pyth

Postby lloydw on Sat Mar 03, 2012 12:02 am

They are indeed exposed see:
https://github.com/lloydw/libRocket/blo ... erface.cpp

You'll need to access them as:
Code: Select all
rocket.focus.MODAL
lloydw
Rocket Engineer
Rocket Engineer
 
Posts: 380
Joined: Tue Jan 15, 2008 10:56 pm


Return to libRocket and Python


cron