Register for your free account! | Forgot your password?

You last visited: Today at 08:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



↓{æ}↓

Discussion on ↓{æ}↓ within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
[SA]Con's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,071
Received Thanks: 555
↓{æ}↓

Hallö

Habe da eine Frage bezüglich Python.

Ich habe in meinem Clienten eine Gui eingebaut, die ich per Hotkey "F5" öffne, und per Hotkey "F6" wieder schließe. Jetzt ist meine Frage, ist es möglich die Gui direkt mit dem gleichen Hotkey (F5) wieder zu schließen, bzw. zu Minimieren?

Habe es momentan so geregelt:

ServerCommandList:
PHP Code:
"ShowConGui"        self.__showcongui,
"HideConGui"        self.__hidecongui
Ende der Game.py (F5):
PHP Code:
def __showcongui(self):
self.ConGuiBg.Show() 
Ende der Gamy.py (F6):
PHP Code:
def __hidecongui(self):
self.ConGuiBg.Hide() 
Die Buttons selber:
PHP Code:
onPressKeyDict[app.DIK_F5]    = lambda self.__showcongui()
onPressKeyDict[app.DIK_F6]    = lambda self.__hidecongui() 
Hoffe jemand kann damit was anfangen und mir Helfen.

Lg

Con
[SA]Con is offline  
Reply


Similar Threads Similar Threads
→→↑↓↑↓↑↓↑SUCHE DARKORBIT ACCOUNT DE4↑↓↑↓↑↓←←
05/04/2012 - DarkOrbit Trading - 1 Replies
Hallo, -Ich suche ein Darkorbit account AUF DE4 -der sollte Schutzschild haben und dicke laser schissen! -Full LF3 wäre geil ein paar LF4 -Full Iris + APIS/ZEUS (havok)



All times are GMT +2. The time now is 08:16.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.