tojphantom: This makes ZERO sense, why wouldn't the be able to prompt you for your username and password if you needed to switch?
Goofballman: as i said
"unless you manually switch accounts"
its just not worth the hassle
This is incorrect, you wouldn't need to switch accounts at all.
It is 100% doable, basically every other frontend/launcher out there can do it and I'll explain exactly how it all works.
Let's use LaunchBox (one of the most popular frontends) as an example, an application developed entirely by one person.
You can scan however many Steam accounts that you own/want to, all of the games will show up in your LaunchBox library, and as long as you have access to them on the account you're logged in to in the Steam application with (through either owning them or family sharing), you can launch them.
All Launchbox needs is the URL for your different Steam accounts, or you scanning your executables, it's super basic.
It would work the exact same way in Galaxy 2, it's just an extension of Steam itself.
Goofballman: No
And never will be
As GOG launches the steam game from your account, unless you manually switch accounts then yes, otherwise no
That's not how the Steam integration work, you don't actually need to be logged in to anything other than the Steam application itself to open a Steam game, launchers and frontends don't "launch the games from our accounts", they send a command to Steam that Steam then handles.
You can add any game manually and link the executable to launch it without ever logging in to Steam in Galaxy 2, it's one of the first things I tested and this is how I've added my family shared games from my second Steam account to Galaxy 2.
There are two ways a Steam integration work in any launcher/frontend:
1: The application scans your computer locally for executables and launches the game by opening the executable themselves (which in turn launches Steam).
2: The application scans your profile for games and launches the games by sending a command to Steam.
It's a very simple command, you can do the same thing yourself by opening any web browser and write "http ://steam ://run/GAMEID]" (remove the spaces) to launch any game installed on your machine, whether you own it or have access to it through family sharing.
The web browser has no idea what account you are logged in to or what games you own, all it does it send a launch command to Steam and Steam handles the rest (checking for owned/family shared games).
Galaxy 2 has integrated a weird/interesting mix between both of them for user convenience, but there's nothing different or special about the way Galaxy 2 handles Steam game launches or Steam accounts.
You don't need to be logged in to Steam any other place than the Steam application itself for either options to work, it's just the way GOG has chosen to integrate it into Galaxy 2 so that all of the current and upcoming features will work out of the box (chat, etc.), without users having to fiddle with any settings or code themselves, but they could've just as well had done it the same way Launchbox and every other frontend/launcher has done it so far, it's just, as I said, for user convenience.
You could even make a new Steam integration for a second account to scan your games instead of adding them manually, all you need to do is target the Steam URL for the account that you want to import the games from, the "problem" here is that it would only work for the specific account that you made it for, so you would have to make one for every Steam account you own.
To get around that you could make an integration that scanned a specific path for executables, which is the option that the RetroArch integration is based on, all it does is link to your rom files and emulators, mark the games as owned in Galaxy 2 and link the executable, instead of having to do it manually.
The only reason that you "need to" log in to Steam in Galaxy 2 is to use the current friend integration and upcoming chat feature.
Games, achievements, and game-time scans can also be done without logging in, which is how websites like exophase work, again, all they need is your account URL, so you would have to base your integration on the same system that exophase uses.
And just to be clear, you can even get your Steam friends online status (but not the upcoming chat function) and other stuff like that by getting your own account API key (steamcommunity.com/dev/apikey), the main difference here is that GOG is doing it community-wide (I'm guessing that they've either requested a different kind of API from Valve or automatically get your personal API key when you log in through Galaxy 2) so that they don't have to add every Steam user manually, while if you did it yourself it would be per account, so other people wouldn't be able to use your integration files, only the specific account that you made it for would work.
So to sum it all up: yes, it
is possible.
No offense, but please refrain from spreading misinformation in regards to something that you obviously know nothing about. Thank you :)
EDIT: And just to clarify, I don't mean the last part in a douchebag kind of way, I'm just annoyed at the fact that there's a tendency on the internet for a lot of people to give out wrong answers left and right, because of them not knowing about it and just taking a wild guess.