Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dev:appfinder-plugin [2012/02/17 11:50] – created andrzejrdev:appfinder-plugin [2012/02/18 15:15] (current) – [Pending issues:] andrzejr
Line 30: Line 30:
   - no keyboard focus -- using a GTK_WINDOW_POPUP (like menu) but it needs additional code to handle focus.   - no keyboard focus -- using a GTK_WINDOW_POPUP (like menu) but it needs additional code to handle focus.
   - " if I click outside the widget, I'd like it to close - this isn't the case atm" -- Related to 2?   - " if I click outside the widget, I'd like it to close - this isn't the case atm" -- Related to 2?
 +     * I've hit a serious problem here - in order to implement this feature I had to "grab" the pointer (gdk_pointer_grab), which seems to be incompatible with GtkSocket/GtkPlug widgets. With gdk_pointer_grab active events don't reach the appfinder widget (and only it). Unless there is an obvious mistake somewhere, it might be necessary to rework the plugin using only DBus API (without widget embedding with GtkSocket/GtkPlug). Bummer. --- //[[ndrwrdck@gmail.com|Andrzej]] 2012/02/18 15:04//
   - GTK_WINDOW_POPUP makes direct window resizing impossible (has to be done through a preference dialog). Is it possible to make a toplevel window without title bar but with resizing frames?   - GTK_WINDOW_POPUP makes direct window resizing impossible (has to be done through a preference dialog). Is it possible to make a toplevel window without title bar but with resizing frames?
   - will (probably) have to disable collapsed mode -- other possibilities: set size requisition in the widget (doesn't allow scaling the window down (?)) or add a DBUS signal for mode changes.   - will (probably) have to disable collapsed mode -- other possibilities: set size requisition in the widget (doesn't allow scaling the window down (?)) or add a DBUS signal for mode changes.