Re:Contextual Menu Icon, Transparent and Minimeze Win (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Re:Contextual Menu Icon, Transparent and Minimeze Win
|
|
|
|
Contextual Menu Icon, Transparent and Minimeze Win 1 Month, 2 Weeks ago
|
Karma: 0
|
|
Hi everyone! how are you?
I have 3 questions!!! I hope some help with that.
1.- How can add MenuItems to the contextual menu of the icon window (of the "Restore,Move,Size,Minimize,Maximize,Close" one), how can add another MenuItem or Replace this menu??
2.- How can have a translucent or transparent window when I put it a png background and have not decorate one?
3.- Why when I have a Child Window (set with "gtk::window:: set_transient_for(oWndMain)" ) and minimize that window the oWndMain minimize too? how can avoid that?
Thanks for your replys
Best Regards
Daniel Rivas
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 1240
|
|
Re:Contextual Menu Icon, Transparent and Minimeze Win 1 Month, 2 Weeks ago
|
Karma: 20
|
|
Hi Daniel,
1) I don't think this is possible. This is OS specific. At least I've not seen any API in the current version of PHP-GTK that allows you to do so.
2) I don't think the current version of PHP-GTK allows you to do translucent or transparent window.
3) This is also OS specific. In windows, I must say that controlling multiple levels of windows and sub-windows is a challenge. Try setting some of those modal or transient, and you will find that sometimes it's very confusing. Google around, and you'll be able to find tips here and there.
Each programming language has its strength and weakness. I would say the current version of PHP-GTK does not perform very well in the 3 areas that you've mentioned.
Regards,
/kksou
|
|
|
|
|
|
|
Last Edit: 2010/07/24 23:00 By kksou.
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Contextual Menu Icon, Transparent and Minimeze Win 1 Month, 2 Weeks ago
|
Karma: 0
|
|
Hi kksou!
Thanks for reply
Well without solve the first two points I can survive but with the last one is dificult.. by the users of the apps, so there a signal or method for not iconfiny(Minimize) a GtkWindow? for almost avoid a instance one?
Or almost define my Main Window as a Fullscreen and not minimize...ŋ?
Thanks a lot
Best Regards
Daniel Rivas
|
|
|
|
|
|
|
Last Edit: 2010/07/25 00:04 By danielrve.
|
|
|
The administrator has disabled public write access.
|
kksou (Admin)
Admin
Posts: 1240
|
|
Re:Contextual Menu Icon, Transparent and Minimeze Win 1 Month, 2 Weeks ago
|
Karma: 20
|
If you don't set_transient_for(), you might be able to minimize individually.
Try post your question to the PHP-GTK general list: http://old.nabble.com/Php---GTK---General-f171.html
They have some really good experts there. But questions there don't always get answered. So please be very specific and give enough details about your problems.
Regards,
/kksou
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Contextual Menu Icon, Transparent and Minimeze Win 1 Month, 2 Weeks ago
|
Karma: 0
|
|
Thanks kksou!!!
I hope their help me!
search in google I found that I need to use USER32.dll in MS Windows for change de contextual menu and also (I think) the minimeze stuff!
Well for load this library I found the php_win32api.dll but I donīt have this extension, another is php_ffi.dll with the last one is for linux/win but I canīt load in my php-gtk donīt load!!
say:
PHP Warning: PHP Startup: ffi: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
Somebody help!!
Thanks
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|