Editing User:Generalantilles/rm you

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 47: Line 47:
rm_you: can you do a search for "gtk_menu"
rm_you: can you do a search for "gtk_menu"
-
timeless: oh. yeah, essentially this re-implements and delegates to things :)
+
timeless: oh. yeah, essentially this reimplements and delegates to things :)
rm_you: ?
rm_you: ?
Line 69: Line 69:
rm_you: WHAT!?
rm_you: WHAT!?
-
timeless: sorry, I'm definitely not copying the rest of the code
+
timeless: sorry, I'm definately not copying the rest of the code
-
timeless: but yeah, pretty much, that's it :)
+
timeless: (gone)
-
 
+
-
timeless: oh yeah... the window calls gtk_window_set_type_hint(...., GDK_WINDOW_TYPE_HINT_MENU)
+
-
 
+
-
rm_you: yeah but... there must be something special... I *tried* putting the hildon_hvolumebar_new object into a vbox into a GtkMenu/GtkMenuItem
+
-
 
+
-
rm_you: it doesn't work
+
-
 
+
-
rm_you: so they have a custom implementation of GtkMenu?
+
-
 
+
-
timeless: yep
+
-
 
+
-
rm_you: that's... ridiculous
+
-
 
+
-
rm_you: is it in the statusbar code? or is it in a library?
+
-
 
+
-
timeless: it's in the same file as far as I can tell
+
-
 
+
-
rm_you: <_<
+
-
 
+
-
timeless: but there's no way I can justify sharing it
+
-
 
+
-
rm_you: how long is it
+
-
 
+
-
rm_you: <_<
+
-
 
+
-
timeless: you should just instrument gtk
+
-
 
+
-
rm_you: just tell me as much as you can ABOUT it
+
-
 
+
-
timeless: it's not that hard
+
-
 
+
-
rm_you: I tried asking people in #gtk+
+
-
 
+
-
rm_you: multiple people told me either that what I wanted to do wasn't possible without some serious hackage, or that I would have to rewrite my own gtkmenu system
+
-
 
+
-
timeless: I mean, this should be fairly easy... you either use a perl script to rewrite the library entry points
+
-
 
+
-
timeless: or use a debugger to dynamically do it
+
-
 
+
-
timeless: either way, it's fairly trivial
+
-
 
+
-
timeless: all you need is for each gtk method to spit out at entry all strings and all pointers, and at exit to spit out any returned pointers
+
-
 
+
-
timeless: from there since everything is a gtk call, you can find out which methods are called in order for each object
+
-
 
+
-
rm_you: htm
+
-
 
+
-
timeless: it is "serious" hackage, but it's fairly automatable
+
-
 
+
-
timeless: so it's not "hard" hackage
+
-
 
+
-
timeless: more like "thorough"
+
-
 
+
-
rm_you: hrm. I don't think I know enough about GTK to do that though. :(
+
-
 
+
-
rm_you: I'll have to find help
+
-
 
+
-
rm_you: though duplicating that is ridiculous
+
-
 
+
-
rm_you: Nokia has no reason to keep that closed
+
-
 
+
-
rm_you: in fact, it should probably be a separate library, eg HildonMenu
+
-
 
+
-
* timeless nods
+
-
 
+
-
rm_you: and be put into libhildon
+
timeless: I might give you perl that would hack gtk_ for this...
timeless: I might give you perl that would hack gtk_ for this...

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)