Ivánka was born into the Szeg branch of the wealthy and prestigious gens Hont-Pázmány. This branch possessed three surrounding villages in Nyitra County called Malomszeg, Egyházszeg and Nagyszeg. Ivánka's father was Ivahon. During the 1271 Hungarian–Bohemian War, Ivahon was captured when the army of Ottokar II of Bohemia besieged and occupied Nyitra Castle, where Ivahon was among the defenders. Simultaneously, his lordship of Szeg was plundered and looted by the Bohemian troops. After his release following Ottokar's defeat, he was granted the village of Devecse by Stephen V of Hungary for his loyal service and damage suffered still in that year. It is plausible that Ivahon died soon, because Ivánka requested the newly crowned Ladislaus IV of Hungary to confirm the aforementioned land donation in 1272. Ivánka fought against the Bohemians in 1273, who again invaded the Kingdom of Hungary. He was present and seriously injured, when the Hungarian army recaptured Szombathely in August. He also participated in the successful military campaigns against Ottokar at Győr and Laa thereafter. He was granted the estate of Halla in Nyitra Country for his merits.
Positions
Ivánka married Maria Csák, the daughter of Mark Csák, who belonged to the Trencsén branch of the powerful gens Csák. As a result, when various baronial groups fought for the supreme power in the first regnal years of the minor Ladislaus IV, Ivánka supported the Csáks' political orientation. He served as ispán of Fejér County in 1275. It is presumable that he is also identical with that "Joanca", who held the office of ispán of Nyitra County in 1281. According to a charter issued by vice-judge royal Stephen in 1299 or 1300, Ivánka formerly served as Judge royal as he was referred to as ""quondam iudex curie domini regis". As Ivánka compiled his last will and testament on his deathbed in 1289, he held the dignity sometime before that, plausibly in the 1280s. There were larger gaps in the list of office-holders in the periods 1281–1283 and 1285–1288. His wife, Maria Csák was still alive and referred to as his "widow" in November 1301. She was the wife of Zoeardus from the gens Zoárd by then.