b4n left a comment (geany/geany-plugins#1532)

[`interface_prefs.sidebar_pos`](https://www.geany.org/manual/reference/structGeanyInterfacePrefs.html#a23b66bb8deb443b8ffac4a70592c9b4f)
 is your friend.  It's not very clear, but the values can be [`GTK_POS_LEFT` or 
`GTK_POS_RIGHT`](https://docs.gtk.org/gtk3/enum.PositionType.html) (which 
happens to evaluate to false and true, respectively, but you should rather use 
the canonical values).

@ralf3u This said, why do you need to know?  Might not be any of my business, 
but it *sounds* like an uncommon question for a plugin to ask itself, so maybe 
the problem you're trying to solve is actually a bit different 🙂 

---

@Skif-off I'm not sure reading the config file manually is a very trusty 
solution, especially as it's available in the API :)  (OK, it might not be 
mapped in Lua, but still :))  Another "hack" could be to check on which side of 
the paned the sidebar is, if we're down to hacks.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1532#issuecomment-3734366494
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/issues/1532/[email protected]>

Reply via email to